Markdoc support

Zac's Avatar

Zac

13 Nov, 2022 04:25 PM

So its a question and a suggestion. I was wondering if you had any interest or plans in building in Markdoc support.

https://markdoc.dev/

Its not that I need or even use it at the moment but I am working on building a workflow for the company I write for and am just exploring all of the options available.

Thanks

  1. Support Staff 1 Posted by Brett on 13 Nov, 2022 05:12 PM

    Brett's Avatar

    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.

    -Brett

  2. 2 Posted by Zac on 13 Nov, 2022 05:38 PM

    Zac's Avatar

    I'll check the custom processors out.

    Thanks

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac