Hacker News new | ask | show | jobs
by jostylr 3938 days ago
Interesting that you tried to imitate CWEB to some extent. I wrote my own tool (literate-programming on npm) ignoring very much the syntax of these other tools. My thought is that one reason Knuth's literate-programming did not catch on is that the syntax did not look very nice.

Looking at your examples, it doesn't strike me as very markdown-ish. There are @ symbols, and dashes to delineate code blocks. For me, markdown uses # Headings and uses tabs or ``` for code fences. I prefer the tab approach, but fences allow for language syntax highlighting for those who like that kind of thing.