hmsk / vite-plugin-markdown

A vite plugin to import a Markdown file in various formats like Front Matter, HTML, ToC, and React/Vue Component
https://www.npmjs.com/package/vite-plugin-markdown
MIT License
253 stars 44 forks source link

Unsupported for html comments ? #481

Open dimaslanjaka opened 5 months ago

dimaslanjaka commented 5 months ago

i was commented the markdown like

image

got error

image

[plugin:vite-plugin-markdown] unknown: Unexpected token (28:1)
  31 | <h2>Download</h2>

E:/Repositories/android-blog/release-repo/readme.md:28:1

28 |  <!-- |      |        |      |
29 |  | :--- | :----: | ---: |
30 |  | ![Homepage](./images/Screenshot_2023-10-26-08-56-48-99_7f9c0e40e1157fc4be382fed75dcb9a6.jpg "Homepage") | ![Point Earning](./images/Screenshot_2023-10-26-08-56-58-82_7f9c0e40e1157fc4be382fed75dcb9a6.jpg "Point Earning") | ![Local Exchanger](./images/Screenshot_2023-10-26-08-57-06-96_7f9c0e40e1157fc4be382fed75dcb9a6.jpg "Local Exchanger") | -->
   |                                                                                                                                                                           ^
31 |  
32 |  ## Download