karingisi / syntaxed Goto Github PK
View Code? Open in Web Editor NEWSyntaxed is a Prism Code Highlighter for October CMS
Syntaxed is a Prism Code Highlighter for October CMS
Hi guys,
Hope you're well? I don't know if this plugin is still supported or not, but I've just tried to implement on my site and I'm having a little difficulty. When I add the component to the blog post page, and add the following code block to my content, nothing is being highlighted in the theme I've chosen (Okaidia):
<pre>
<code class="language-php">
class Person{
public $name;
public $age;
function Person(){
$this->name = $name;
$this->age = $age;
}
}
</code>
</pre>
Which outputs the following on the front-end:
If I then change the markup to:
<pre class="language-php">
<code class="language-php">
class Person{
public $name;
public $age;
function Person(){
$this->name = $name;
$this->age = $age;
}
}
</code>
</pre>
Then I get partial styling, but it's really broken:
As you can see, there's no keyword highlighting etc. - it's just a bit messy!
Is there anything I can do about this? I'm using October (unedited!) with the Zwiebl theme (again, fairly stock!)
I'm looking for a change syntax theme option in OctoberCMS and in the syntaxed
plugin path, but I can't find it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.