1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #1655 from rayou/fix-1609-missing-classname

fixed missing classname in lib/markdown highlight render function
This commit is contained in:
Junyoung Choi (Sai)
2018-03-12 11:32:18 +09:00
committed by GitHub

View File

@@ -41,7 +41,7 @@ class Markdown {
if (langType === 'sequence') {
return `<pre class="sequence">${str}</pre>`
}
return '<pre class="code">' +
return '<pre class="code CodeMirror">' +
'<span class="filename">' + fileName + '</span>' +
createGutter(str, firstLineNumber) +
'<code class="' + langType + '">' +