New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@factor/plugin-highlight-code

Package Overview
Dependencies
Maintainers
2
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factor/plugin-highlight-code

This plugin adds a syntax highlighting component for content. All you need to do is wrap your HTML content with `content`

  • 1.0.0-beta.6
  • npm
  • Socket score

Version published
Weekly downloads
33
decreased by-50.75%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 25 Oct 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc