highlight.js syntax definition for FunC, Fift, and TL-B
October 9, 2022 ยท View on GitHub
- For more about
FunC, see https://ton.org/docs - For more about
Fift, see https://ton.org/fiftbase.pdf - For more about
TL-B, see https://github.com/andreypfau/TL-B-docs - For more about
highlight.js, see https://highlightjs.org/
Usage
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="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/func.min.js"></script>
<script type="text/javascript">
hljs.highlightAll();
</script>