01.07.2025 02:38:46 Stanley Lieber <[email protected]>: >> On Jun 30, 2025, at 6:39 PM, Stanley Lieber <[email protected]> wrote: >> > markdown >> >> this builds and runs on plan 9: >> >> https://www.pell.portland.or.us/~orc/Code/discount/
I'll look at that, it looks promising! > actually, werc even ships an awk implementation: > https://only9fans.com/sl/werc/63085c71ab79cb4defc3ba64b5285e7db86f0d07/bin/contrib/md2html.awk/f.html I don't use werc. I also built a converter in awk for my epublish suite, which uses a markdown-inspired language. In this case though, I'd like to have a few more features such as those provided by discount (fenced code block, definitions, styles/classes, to name a few.) > while i realize markdown was just an example, it’s interesting that a lot of > useful tools can be easily implemented with bits and pieces we already have > aboard. One thing I hate is that everything nowadays has to be implemented in Python or C#, while it's often much easier to use languages like awk or sed (in combination with a shell script). sirjofri ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tf84d656c78bbda91-Mbddcf5204ac8f6922c8f1b20 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
