Skip to content

[BUG] raw container not rendering properly #4539

@Ackerven

Description

@Ackerven

Describe the bug

The raw container cannot be rendered normally.

Reproduction

Write it in a markdown file:

::: raw
Wraps in a <div class="vp-raw">
:::

Expected behavior

[plugin:vite:vue] Element is missing end tag.
/home/projects/vite-2h3hlpov/docs/example.md:16:15
16 |  
17 |  ::: raw
18 |  Wraps in a <div class="vp-raw">
   |        ^
19 |  :::
20 |

System Info

System:
  OS: Linux 5.0 undefined
  CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Memory: 0 Bytes / 0 Bytes
  Shell: 1.0 - /bin/jsh
Binaries:
  Node: 18.20.3 - /usr/local/bin/node
  Yarn: 1.22.19 - /usr/local/bin/yarn
  npm: 10.2.3 - /usr/local/bin/npm
  pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
  vitepress: latest => 1.6.3

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions