Skip to content

bootstrapworld/highlightjs-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

highlightjs-bootstrap

version

Description

Pyret - a language grammar for highlightjs Scheme - a language grammar for highlightjs

Static website or simple usage

<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" charset="UTF-8"
  src="/path/to/highlightjs-bootstrap/dist/pyret.min.js"></script>
<script type="text/javascript" charset="UTF-8"
  src="/path/to/highlightjs-bootstrap/dist/scheme.min.js"></script>
<script type="text/javascript">
  hljs.highlightAll();
</script>

With Node or another build system

If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.

var hljs = require('highlightjs');
var {pyret, scheme} = require('highlightjs-bootstrap');

hljs.registerLanguage("pyret", pyret);
hljs.registerLanguage("scheme", scheme);
hljs.highlightAll();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published