Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hashtagerrors committed May 21, 2019
1 parent a06a355 commit c196cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions LICENSE.md

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ Plugin setting page has 178 languages, 8 themes & 4 plugins to select from. Once
![Screenshot](http://www.hashtagerrors.com/assets/uploads/prism-setting-page.jpg)

**Syntax Highlighter Field**

The plugin adds a `Syntax Highlighter` fieldtype which then displays a block to add your code, select code type, add a caption and specify the lines to be highlighted (if enabled in plugin setting).

![Screenshot](http://www.hashtagerrors.com/assets/uploads/prism-fieldtype.jpg)

**Syntax Highlighter Frontend**

Using`{{ craft.syntaxHighlighter.render(entry.fieldHandle) }}` in template will show the highlighted code in the frontend.
![Screenshot](http://www.hashtagerrors.com/assets/uploads/prism-frontend.jpg)

Expand Down

0 comments on commit c196cf3

Please sign in to comment.