An open API service indexing awesome lists of open source software.

https://github.com/liquibase/prism-liquibase

Extension to PrismJS to provide Liquibase syntax highlighting
https://github.com/liquibase/prism-liquibase

Last synced: 6 months ago
JSON representation

Extension to PrismJS to provide Liquibase syntax highlighting

Awesome Lists containing this project

README

          

# 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.](https://i.imgur.com/sa6NUVA.png)

## How To Use
### Requirements
PrismJS is provided in the 'global' scope.

- Import Prism main module.
- Import [Bash](https://prismjs.com/#supported-languages) language component.
- Import `prism-liquibase` language extension.
- Follow normal [Prism](https://prismjs.com/#basic-usage) usage.

### Example
See [index.html](./examples/index.html) in `/examples`