contentlayerdev / contentlayerdev/website

Passing raw HTML tags through the markdown processor

Aperta
#43 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
TypeScript
Stelle
132
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

[Comments from Discord](https://discord.com/channels/872106850928164874/872106850928164878/967013217358462986):

> [Graf] I have several raw HTML tags in my Markdown (.md) files. How do I return them as-is to be shown when I call post.html? They are currently removed from it
>
> [schickling] I think there's some rehype/remark plugin that can do this.
>
> [Graf] I attempted to use rehype-raw but no dice.. ended up just using the mdx format instead to preserve the tags

Let's solve this and then add the solution to the docs.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.