Hi, i am trying to install the Syntax highlighting on my blog and i cant find the folder named 'parsers'
i am using the latest version of SS
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi, i am trying to install the Syntax highlighting on my blog and i cant find the folder named 'parsers'
i am using the latest version of SS
Found the parsers folder... but that really didnt help at all....
i still can not make the parser work
i have followed the tutorial and even tested it so that it just returnd a string i defined... but nothing happened. that must mean that the 'replace' function is never being called or sent back to SS properly...
Im lost and utterly confused... i wish the search actually yielded results not just abstract information... the documentation on this needs to be made? or at least made usable....
So... it seems that using the
$content.Parse()
it just turns all my 'content' to text... it does not matter what you put in the () it just comes out all text...
tried the ParsedContent... nothing comes out of it...
i wish there was an easy way to implement source code highlighting
...