← Back to Plugins

Syntax Highlight

Add a syntax highlighting component to your Factor app.

Install
Add this package to your Factor enabled project:
npm add @factor/plugin-highlight-code
Click to Copy
Overview

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
Meta
Latest Version
3.0.21
Downloads
1365
Updated
Jul 24, 2021
Created
Mar 27, 2020
Tags
syntax, highlight, markdown, code, css, javascript
Repository
View

Have A Factor Plugin or Theme?

Submit Your Extension