0.1.1 • Published 4 years ago

@wenyanlang/highlight v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

文言五色 - Syntax highlighters for Wenyan Lang

Check out the examples

Syntax highlighters

FormatFile
CodeMirrorcodemirror.js
Prismprism.js
TextMate GrammartmGrammar.json

Highlight Themes

wenyan-light

FormatFile
CodeMirrorwenyan-light.codemirror.css
Prismwenyan-light.prism.css

Usage

💡 Replace codemirror if you want to use different formats/editors

CDN

<!--Highlighter-->
<script src='https://cdn.jsdelivr.net/gh/wenyan-lang/highlight/codemirror.js'></script>
<!--Theme-->
<link rel='stylesheet' type='text/css' href='https://cdn.jsdelivr.net/gh/wenyan-lang/highlight/wenyan-light.codemirror.css'>

NPM

npm i @wenyanlang/highlight
require('@wenyanlang/highlight/codemirror')

// or 

import '@wenyanlang/highlight/codemirror'

Build

The syntax highlighter are generated from the language syntax definition. Rebuild by

npm run build
0.1.1

4 years ago

0.1.0

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.1

4 years ago

0.0.2

4 years ago

0.0.1-beta.10

4 years ago

0.0.1-beta.9

4 years ago

0.0.1-beta.8

4 years ago

0.0.1-beta.7

4 years ago

0.0.1-beta.6

4 years ago