https://github.com/alan-null/sitecore.syntaxhighlight
Sitecore module for syntax highlighting
https://github.com/alan-null/sitecore.syntaxhighlight
Last synced: 3 months ago
JSON representation
Sitecore module for syntax highlighting
- Host: GitHub
- URL: https://github.com/alan-null/sitecore.syntaxhighlight
- Owner: alan-null
- Created: 2015-07-01T16:10:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T15:28:29.000Z (about 7 years ago)
- Last Synced: 2025-01-15T22:43:14.212Z (4 months ago)
- Language: CSS
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sitecore.SyntaxHighlight
Sitecore module for syntax highlighting## Installation
Please read my blog post. I explained how to install and use **Sitecore.SyntaxHighlight** module there.http://www.cognifide.com/blogs/sitecore/syntax-highlight-module-for-sitecore/
## Features
### SyntaxHighlight button:
Click to add a new code snippet or select the existing piece of code before, to load the code content into the editor.
new syntaxhighlight button in RichText editor
### Code editing window totally separated from Sitecore:
A new window is decoupled from Sitecore (pure HTML and JS, no XML nor server-side logic), thus it is easy to port it onto other Sitecore versions, with a few style fixes.
### Advanced options:
You are able to highlight some lines, hide gutter (numbers) or start indexing from a different number (for example if yours shows a piece of code that is part of a bigger one).
### Different styling:
Fit the code snippets to your needs. Choose a different theme if your page design do not match the default one.
