Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Creating tutorial POD that refers to source code lines

by Anonymous Monk
on Jan 22, 2019 at 12:00 UTC ( #1228806=note: print w/replies, xml ) Need Help??


in reply to Re^2: Creating tutorial POD that refers to source code lines
in thread Creating tutorial POD that refers to source code lines

Inline html yes see Acme::Boom
  • Comment on Re^3: Creating tutorial POD that refers to source code lines

Replies are listed 'Best First'.
Re^4: Creating tutorial POD that refers to source code lines
by perlancar (Friar) on Jan 22, 2019 at 13:56 UTC
    The inline HTML is quite strictly filtered. I remember some months ago trying to get some Javascript to load and being unable to do so. Just now I checked that you cannot define styles as well. You can assign class attribute, but not id. I think it's more trouble than it's worth trying to render a nice line-numbered source code using that mechanism.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1228806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2021-04-17 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?