-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Closed
Labels
affects:editorWork relating to the Koenig EditorWork relating to the Koenig Editorbug[triage] something behaving unexpectedly[triage] something behaving unexpectedly
Milestone
Description
Hi,
currently fenced code blocks just translate the language (if given) directly into the class:
```javascript
content
```
produces:
<pre><code class="javascript">content</code></pre>
According to the HMTL5 spec, the recommended way to markup code with a "language-" prefixed class:
<pre><code class="language-javascript">content</code></pre>
I think Ghost should follow the spec here.
Metadata
Metadata
Assignees
Labels
affects:editorWork relating to the Koenig EditorWork relating to the Koenig Editorbug[triage] something behaving unexpectedly[triage] something behaving unexpectedly