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

https://github.com/highlightjs/highlightjs-mirth

Highlight.js grammar for Mirth language
https://github.com/highlightjs/highlightjs-mirth

Last synced: about 1 month ago
JSON representation

Highlight.js grammar for Mirth language

Awesome Lists containing this project

README

          

# Mirth Syntax Highlighting

This is the syntax highlighting config for using highlight.js on mirth code.

Mirth is a new strongly-typed concatenative programming language.

It is inspired by Forth, Joy, Haskell, Lisp, and monoidal category theory.

Mirth's compiler can be found [here](https://github.com/mirth-lang/mirth)

# Usage
Simply include the `highlight.js` script or package in your webpage or Node app,
add this module and apply it to `hljs`

if you're not using node, assuming you've downloaded the pregenerated mirth.min.js from the dist directory of the repo:
```html

hljs.highlightAll();
```

If you've installed via node:

```js
var hljs = require("highlightjs");
var hljsMirth = require("highlihgtjs-mirth");

hljsMirth(hljs);
hljs.highlightAll();
```