logoalt Hacker News

noosphrtoday at 2:24 PM1 replyview on HN

You should be aware that pandoc markdown has extensive non-standard additions to the language to make it usable.

If you want a pure markup language that is simple, plain text readable and able to produce text more complex than what a type writer could manage in 1920 then restructured text is the way to go.


Replies

applicativetoday at 6:52 PM

pandoc has infinitely many devices for including various commands. A lua filter - to take one standard example - can manage basically anything you cook up. The going AIs can write them for you and your triggering syntax at the drop of a hat. Inter alia, you can write your restructured text in markdown and include bits like this.

Here is normal Pandoc Markdown text.

```{=rst} .. note:: This is a native reStructuredText directive! Pandoc will not parse or change this text. It goes straight to the rST output writer. ```

Back to normal Markdown text.