1. 13

  2. 3

    Nice! What advantages does this have over other markup/markdown-style tools?

    1. 4

      Depends on your use case.

      • It supports macros, so you can easily define e.g. a ?word macro that links to the Wikipedia article for word, or highlights it in green, or whatever you want, really. The macros look just like the native operators, so it looks seamless. That’s very useful if you have repetitive patterns in your documents. You can override native operators inside a document, if need be, or write them in JavaScript if they are more complicated.
      • You can write arbitrary HTML with an indent-based syntax that’s a bit similar to HAML. You can also embed verbatim HTML and CSS, but that’s not as nice, in my opinion.
      • Conditionals and loops.
      • Plugins to embed JavaScript and a few other compile-to-js languages, if you need to generate part of the document.

      There are some other things that are not documented yet, such as selecting a specific subset of features you want to support, and the part of the engine that can generate tables of contents or bibliographies.