✨ Site > File > Viewer > Add syntaxic coloration
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<div class="viewer" v-if="version">
|
||||
<pre><code>{{ version.content }}</code></pre>
|
||||
<pre v-highlightjs="version.content" contenteditable @keydown="onCodeKeyDown($event)"><code></code></pre>
|
||||
</div>
|
||||
Reference in New Issue
Block a user