Socket
Socket
Sign inDemoInstall

fmv-highlight

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fmv-highlight

Syntax Highlight Vue Component using Highlight.js & js-beautify


Version published
Weekly downloads
77
increased by30.51%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

fmv-highlight

Syntax Highlight Vue Component using Highlight.js & js-beautify

Installation

npm install fmv-highlight

Usage

Template

<fmv-highlight :code="code" />

Script

import VueHighlightJS from 'vue-highlightjs'
Vue.use(VueHighlightJS)

import 'fmv-highlight/dist/fmv-highlight.css'
import {FmvHighlight} from 'fmv-highlight'

export default {
  components: {
    FmvHighlight
  },
  data() {
    return {
      code: `
      // code to Syntax Highlight
      `
    }
  }
}

FAQs

Last updated on 22 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc