Skip to content

sentient-lang/prism-sentient

gh-pages
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

sentient.prism

Prism syntax highlighting for Sentient. For use in web pages.

You can view a demo here.

Instructions

Add a link to the stylesheet inside head:

<link href="sentient.prism.css" rel="stylesheet" />

Add the Prism library and this extension immediately before the body close tag:

<script src="prism.js"></script>
<script src="sentient.prism.js"></script>

Add a preformatted code block in the body:

<pre>
  <code class="language-sentient">
    a = [1, 2, 3];
  </code>
</pre>

Note: You may wish to include the Normalize Whitespace plugin to remove surplus whitespace.

License

Copyright © 2016 Sentient Lang.

Distributed under the MIT License.

About

Prism syntax highlighting for Sentient. For use in web pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published