Skip to content

support comark syntax for components #203

Description

@rriemann

What's the problem?

Hi!

The nuxt people behind mdc (markdown components) have decided to create https://github.com/comarkdown/comark to support other frameworks.

For use with custom components, this in my view more user-friendly than mdx. It also eases editing/preview on Github/Gitlab.

I try to convince the public sector to move to markdown based website systems and we need custom components. However, mdx is too complicated. This comark could be a middle ground.

What's the proposed solution?

Example of how components are defined in Comark (from their website):

# Regular Markdown

With a custom component:

::alert{type="warning"}
This is **Markdown** inside your own component.
::

Participation

  • I am willing to submit a pull request for this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions