diff options
-rw-r--r-- | lib/render.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/render.js b/lib/render.js index 09030db..8f2e56c 100644 --- a/lib/render.js +++ b/lib/render.js @@ -82,6 +82,7 @@ MdRenderer.prototype.code = function (code, lang, escaped) { return h('div', h('textarea', { cols: 80, rows: u.rows(code), + style: 'font-family: monospace', innerHTML: escaped ? code : u.escapeHTML(code) })).outerHTML } else { |