Terence Eden on Nostr: Another lazy #WordPress question. I use #MarkDown to write my posts. Code is written ...
Another lazy #WordPress question.
I use #MarkDown to write my posts.
Code is written as:
```python
print("hello")
```
That's automatically converted to:
<pre><code class="language-python">…
I use HighlightJS to do syntax highlighting. But that pulls in lots of JS which I'd rather avoid.
Is there a decent plugin for doing *sever-side* rendering of code highlighting which *doesn't* require blocks / Gutenberg?
I know I can try a few out, but I'd like to hear people's *personal* experiences.
I use #MarkDown to write my posts.
Code is written as:
```python
print("hello")
```
That's automatically converted to:
<pre><code class="language-python">…
I use HighlightJS to do syntax highlighting. But that pulls in lots of JS which I'd rather avoid.
Is there a decent plugin for doing *sever-side* rendering of code highlighting which *doesn't* require blocks / Gutenberg?
I know I can try a few out, but I'd like to hear people's *personal* experiences.