Skip to content

Issues with Markdoc #6829

@louiss0

Description

@louiss0

What version of astro are you using?

2.2.1

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

pnpm

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the Bug

There are a few problems with Mardoc. I decided to test it and see if things were going to be ok. But I have found a few problems with it

  • Functions can't be used I get an error called invalid child when I attempt to use a function
  • Syntax highlighting is not automatically enabled
  • Code Comments are added to each page.

To see the first two problems go to the markdown-style-guide.mdoc page.
I created the Code component with the fence so that it could just be implemented later on. Other than that I will write a discussion soon.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-zdtvav

Participation

  • [] I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions