Brett on 13 Nov, 2022 05:12 PM
Marked offers Custom Processors, which allow you to incorporate any tool you can run on the command line as a Markdown processor. The tool or script only needs to be able to accept input on STDIN and return output on STDOUT, and in between it can do anything it wants with it. It appears Markdoc can work with node scripting, so even if there's not an existing CLI, it should be easy to incorporate into a script you could call with Marked.
I don't foresee adding Markdoc as a built-in tool, but the possibility to make Marked work with it already exists.