Factor Syntax Highlight Plugin
This plugin adds a syntax highlighting component for content. All you need to do is wrap your HTML content with <plugin-highlight-code>content</plugin-highlight-code>
Installation
Just add to your application dependencies:
$ yarn add @factor/plugin-highlight-code
Config
Config for this plugin is public only and stored in your factor-config.json
file.
Options
// factor-config.json
{
"google_tag_manager": {
"gtm_id": "SOMEID", // Your GTM Container ID
"development_mode": true // Load GTM in "development" mode
}
}
Factor Setup CLI
Run yarn factor setup
for a question based CLI to help you configure this plugin's options.