quantizor / markdown-to-jsx

🏭 The most lightweight, customizable React markdown component.
https://markdown-to-jsx.quantizor.dev/
MIT License
1.97k stars 169 forks source link

Only want to render code snippet in a markdown text. Is that possible? #511

Open liquor233 opened 1 year ago

liquor233 commented 1 year ago

Hi, I have to build a chat bot page, and I only want to render code snippet in the text (which is marked by ``` symbols). I don't want to render table, headlines or other element, just want to keep the original text. Is there a way to do this?