Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Creating tutorial POD that refers to source code lines

by Anonymous Monk
on Jan 22, 2019 at 10:00 UTC ( [id://1228803]=note: print w/replies, xml ) Need Help??


in reply to Creating tutorial POD that refers to source code lines

More less clever? :) Pod is plain. Embrace or distribute html? https://metacpan.org/source/RURBAN/illguts-0.49/index.html http://hop.perl.plover.com/book/mod/MOD.tgz OODoc, Acme::Boom
  • Comment on Re: Creating tutorial POD that refers to source code lines

Replies are listed 'Best First'.
Re^2: Creating tutorial POD that refers to source code lines
by perlancar (Hermit) on Jan 22, 2019 at 10:12 UTC
    Does MetaCPAN render HTML at all? I prefer something that is rendered by MetaCPAN.
        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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1228803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 15:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found