Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

pixelfear/Statamic-Prism-Syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Statamic Prism Syntax

If you like to use Prism (you should) and Statamic (you should), and you need code highlighted – here you go.

Usage

Load Prism and the language file – either by separate files or by your own build process like Grunt or Gulp.

<script src="prism.js"></script>
<script src="prism.lang.statamic.js"></script>

Add CSS classes to your stylesheet:

/* Statamic specific */
.statamic-tag {...}
.statamic-tag .plugin-name {...}
.statamic-tag .tag-name {...}
.keyword {...}

/* Shared with Markup */
.comment {...}
.attr-value {...}
.attr-name {...}
.punctuation {...}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published