This is very nice! At the risk of getting ahead of things:

1)  Is there scope for adding support for YAML (or equivalent) metadata?

2)  Would it be possible to add in support for Lua extensions keyed to code block attributes? For example:


``` =include

foo/bar/*.djot

```
 
would run include.lua on the contents of the block, and insert that into the stream. This could work with the various diagramming tools, for example, and maybe even a general exec command.

Phil

On Thursday, 14 July 2022 at 22:57:40 UTC+1 John MacFarlane wrote:
I've been designing a new light markup syntax, based on the ideas in my essay "Beyond Markdown" (https://johnmacfarlane.net/beyond-markdown.html). I thought readers of this list might be interested. The language and its rationale are described here: https://github.com/jgm/djot

The repository also contains a very fast parser written in pure Lua. A pandoc custom reader and custom writer are also provided, so you can convert your favorite formats to and from djot.

The syntax is briefly described here: https://djot.net/playground/syntax.html

You can play with the implementation here: https://djot.net/playground/

John

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f6b75a75-ca6c-4fbf-a01c-9697646ef445n%40googlegroups.com.