Skip to content

danjuls/style-guide-view-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style-guide-view-source

style-guide-view-source is a simple jQuery script to show the expected source code in a .html file. For example an Style guide boilerplate.

It uses prism js to do the syntax highlightning.

Short description

Each block you want to show the source code of should be wrapped in a

<div class="style-section-code"></div>

The script then iterate over the sections and adds markup and a 'Show code' button.

Press the button and tada! Pretty code appears. image example


This is version 0.01 so it's just a simple evening hack

About

style-guide-view-source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published