Javascript syntax highlighter https://highlightjs.org/
Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server.
import { Highlight } from '../packages/ap-highlight'
<Highlight language='javascript' src={`
<h1>Title</h1>
`}></Highlight>