contentlayerdev / contentlayerdev/website

Passing raw HTML tags through the markdown processor

Đang mở
#43 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
documentation
Ngôn ngữ chính
TypeScript
Star
132
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.