Markdown Syntax Highlighting with PrismJS using Unified, Remark, and Rehype

added by JavaScript Kicks
7/4/2019 8:30:23 PM

694 Views

We'll explore how to use Unified, Remark, Rehype, and PrismJS to create markdown code that is capable of being syntax highlighted. The generated code will be React elements instead of a string of HTML. This adds in the security benefits of React when it comes to rendering untrusted markdown content.


0 comments