##A simple code syntax highlighter for October CMS.
The plugin includes prism syntax highlighter on your pages. Add the component to your page and render it with the component tag:
{% component 'syntaxed' %}
The only Component Setting is theme. You can select different themes.
All code syntax goes in the CMS markup as shown below:
CSS Highlighted Code
<pre><code class="language-css">div { background-color: gray }</code></pre>
PHP Highlighted Code
<pre><code class="language-php">
class Person{
public $name;
public $age;
function Person(){
$this->name = $name;
$this->age = $age;
}
}
</code></pre>
Link to Github Repository https://github.com/karingisi/syntaxed