• Usage
Code Highlighter Use GOAT UI’s custom highlighter editor component. Built on PrismJS .
Usage Here is code highlighter component. Currently prism supports most of the languages, here is the full list https://prismjs.com/index.html#supported-languages const helloWorld = () => alert ('Hello World!'); export { helloWorld }; <goat-code-highlighter line-numbers language="javascript"> const helloWorld = () => alert ('Hello World!'); export { helloWorld }; </goat-code-highlighter>