contentlayerdev / contentlayerdev/website

Passing raw HTML tags through the markdown processor

Open
#43 3 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
TypeScript
Stars
132
Forks
57
PR merge metrics
No merged PRs in 30d

Description

[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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.