isabella232 / prism-liquibase

Extension to PrismJS to provide Liquibase syntax highlighting

Home Page:https://www.npmjs.com/package/prism-liquibase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prism-liquibase

Uses Prism's easy to consume extension API to tokenize Liquibase CLI command keywords. Extends the bash language component to further enhance syntax highlighting. Exported as an IIFE for backwards compatibility.

Overview

Example of syntax highlighting language extension for Liquibase support.

How To Use

Requirements

PrismJS is provided in the 'global' scope.

  • Import Prism main module.
  • Import Bash language component.
  • Import prism-liquibase language extension.
  • Follow normal Prism usage.

Example

See index.html in /examples

About

Extension to PrismJS to provide Liquibase syntax highlighting

https://www.npmjs.com/package/prism-liquibase

License:Apache License 2.0


Languages

Language:TypeScript 74.5%Language:JavaScript 25.5%