Djot

rel: https://djot.net/
ref: https://htmlpreview.github.io/?https://github.com/jgm/djot/blob/master/doc/syntax.html

Djot lets you author HTML markup without directly writing HTML.

If you want to use Djot, be sure to read the entire manual page; every bit of detail of it has been useful to me.

If you haven’t used Djot before, you might be thinking that Asciidoc is already enough for your use case. Djot is clearly better.

Tips:

  • \ at the end of line is linebreak (<br>)
  • \ is non-breakable space
  • put {.class} before any paragraph and watch markdown users scream “what?” when they see this feature
  • :::: divs
    
    ::: you-can-nest-them
    
    awawawa
    
    :::
    
    ::::
    

Update: Oh I spoke too early!