-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert notebooks to POD #28
Comments
This is an awesome idea! |
An additional thing that can be done is to have POD input cells in the notebook itself. I'm looking into that, but it might require having a JavaScript POD parser. @ingydotnet wants to write one using Pegex. Yet another approach would be to have the REPL input scan for POD in the code input cell and output HTML along with with the code output. |
Do you think it would be tricky to implement a Perl nbviewer within metacpan? I'd love to have them linked into the docs. |
Pegex works in JS thus a Pegex Pod grammar would work in JS as well as Perl. (Any language with a regex engine). |
More info on how to do this from the IPython-dev mailing list:
|
@demianriccardi, I don't know if MetaCPAN could support having |
I suspect that MetaCPAN can't support Since Finally, perhaps it makes sense for MetaCPAN to support rendering Markdown files as POD automatically via Markdown::Pod. |
@tsibley, thanks for the Markdown::Pod tip! Going the route of Code: https://github.com/zmughal/iperl-to-markdown-to-pod-test/blob/master/hack-it-up.pl. |
Currently, MetaCPAN scrubs It looks like the Edit: the Edit: Now the terminal output uses a |
As I continue to use the notebook to write up experiments, I realised that the LaTeX would not show up nicely on MetaCPAN because it uses MathJaX. @jberger has done some investigation into this area before: http://mailman.jach.hawaii.edu/pipermail/pdl-porters/2013-January/005281.html, http://pdlporters.github.com/?docs=Acme::Pod::MathJax, https://metacpan.org/module/Acme::Pod::MathJax. I believe some folks have MathJaX enabled locally, so that might be an easy way out. |
👍 Your idea and execution of it is wonderful. Please keep up doing the awesome work 💯 / 💯 |
The text was updated successfully, but these errors were encountered: