Replies: 3 comments 5 replies
-
It won't be supported. We rely on a specific flavor of markdown and don't intend to switch to something entirely different. Also, since you can already use vue in markdown, most of these differences are irrelevant. Regarding language server, you can use Volar and enable vitepress support in it. If you have any specific thing in your mind, that's supported in markdoc, but doesn't have any equivalent in vitepress, then please create a feature request for that. |
Beta Was this translation helpful? Give feedback.
-
I forgot If you want to toy around with Markdoc please clone this repo. To get a similar experience you can Install the language server and an Extension called Error Lens. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Support for Markdoc
I'm here to ask for support for Markdoc. Why Because Markdoc is a great tool that makes working with components a breeze. It's a Markdoc renderer that allows its user to configure what is and is not allowed in Markdown. It's highly performant and has a good Language Server. If you want to learn about it you can go to their site But I will highlight some features down below.
Tags
A tag is a special syntax that allows its user to write HTML or Components in a different form. They work just like any component.
Self-closing tag.
Paired tag
Global Functions
You can configure global functions to be called in your Markdown. A global function works like this.
Language Server
Markdoc's Language Server is good at catching bugs and knows about all the tags that you can use in Markdown. You can get auto complete for all the tags that you use.
Example, using Markdoc to write a proper
<dl>
tag with<dt>
and<dd>
as proper children.Beta Was this translation helpful? Give feedback.
All reactions