Hacker News new | comments | show | ask | jobs | submit login
Show HN: I wrote my own lightweight markup language for mathy blogs
9 points by dllu on Mar 12, 2015 | hide | past | web | favorite | 1 comment
I wrote my own lightweight markup language, similar to Markdown, that compiles to both HTML5 and LaTeX, supports LaTeX equations (through svgtex, i.e. serverside MathJax), references, captioned figures with semantically correct <figure> tag in html, syntax highlighted code blocks, and so on.


See the text file written in dllup markup language:


and the PDF and LaTeX versions:



The code is very hacky (I wrote it for my own use after all) and might crash if the syntax is not exactly right.

I also have experimental vim syntax highlighting support: http://i.imgur.com/imx6XCY.png

The HTML output of dllup is valid HTML5 (http://validator.w3.org/check?uri=www.dllu.net/programming/dllup/&charset=(detect+automatically)&doctype=Inline&group=0) and should be sufficiently semantic to be usable in lynx: http://i.imgur.com/ugSXX90.png

Posts without URLs are penalized, so you might want to repost this as a link to your site, then add the above text as a first comment to the new thread. Good luck!

Applications are open for YC Summer 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact