executablebooks / markdown-it-docutils

A markdown-it plugin for implementing docutils style roles/directives.
https://executablebooks.github.io/markdown-it-docutils/
MIT License
12 stars 8 forks source link

Wrap directives in a `directive_open` token #32

Closed rowanc1 closed 2 years ago

rowanc1 commented 2 years ago

Some directives can have many children, this directive token is a pass through on the HTML, but captures the mapping and can parse options.

This is also related to #30, which can have an error inside of the directive_open, and the token options can exist on there.

rowanc1 commented 2 years ago

This work is in #34.