Cannot seem to get it to work
-
(I am reposting this, because, for some reason, my original post was held in moderation, then removed. Weird.)
I am trying to use Prismatic to replace an existing installation of SyntaxHighlighter Evolved, but am facing issues. I read through documentation, Googled, and looked at other posts on this forum, but I am likely missing something obvious.
Here’s what I did:
- Installed and activated Prismatic
- Picked “Prism.js” from General → Library
- Set the following options in Prism.js
– Theme = Dark
– Enable Line Numbers
– Enable Show Language
– Code Escaping: Content = Frontend only
– Code Escaping: Excerpts = Frontend only
– Code Escaping: Comments = Frontend only - I did not use Gutenberg, and in the Classic Editor I edit raw HTML code in the “Text” tab. I put in:
<pre><code class="language-html">[[gallery ids='14,15,16']]</code></pre>
I did not use the Prism.js button because that is not available in the “Text” mode.
This is my setup:
- Theme: Custom, but I tried with Twenty Twenty and GeneratePress
- Plugins: Classic Editor and Photonic. I tried disabling Photonic, but there was no change.
When I look at my page source, I see prismatic/css/styles-blocks.css, but there is no JS or CSS.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Cannot seem to get it to work’ is closed to new replies.