highlight.js
syntax definition for FunC
, Fift
, and TL-B
FunC
, see https://ton.org/docsFift
, see https://ton.org/fiftbase.pdfTL-B
, see https://github.com/andreypfau/TL-B-docshighlight.js
, see https://highlightjs.org/If you're using webpack / rollup / browserify / node:
npm install highlightjs highlightjs-func
import hljs from 'highlight.js'
import hljsDefine from 'highlightjs-func'
hljsDefine(hljs) // Installs all language definitions
// Now, do your thing!
If you're not using a build system and just want to embed this in your webpage:
<script type="text/javascript" src="https://github.com/highlightjs/highlightjs-func/raw/master/path/to/highlight.min.js"></script>
<script type="text/javascript" src="https://github.com/highlightjs/highlightjs-func/raw/master/path/to/func.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>