3 ms·
Cool. Go one step further and render the CSS inline. Of late, I have been writing with just MarkDown and dropping in some of the simplest tool (Pandoc, Jekyll)
by Brajeshwar 6y ago
Cool. Go one step further and render the CSS inline.
Of late, I have been writing with just MarkDown and dropping in some of the simplest tool (Pandoc, Jekyll) possible to render as HTML.
- smlckz 6y agoHere's some crazyness: https://dataswamp.org/~solene/2019-08-26-minimal-markdown.html https://dataswamp.org/~solene/2019-08-26-minimal-markdown.ht... I suppose it is not much hard to translate this into PHP...
- icy 6y agoI built mawkdown[0] off of solene's initial awk implementation! [0]: https://github.com/icyphox/mawkdown https://github.com/icyphox/mawkdown
- smlckz 6y agoI do not have much experience in awk, but after reading Solene's and your code, I am curious about why < > are escaped with \ ? In your m.awk, I also noticed that the markdown formattings (bold, inline and links) are not turned off in code blocks.