README
Factor Syntax Highlighter
Overview
This plugin adds a syntax highlighting component for content. All you need to do is import the component:
// vue
import HighlightCode from "@factor/plugin-highlight-code"
export default {
components: { HighlightCode },
}
and then wrap your HTML content with it:
<HighlightCode>content</HighlightCode>
Installation
Just add to your application dependencies:
npm add @factor/plugin-highlight-code