diff options
| author | Mhykol <mchaeldonald62@pm.me> | 2024-05-19 13:47:13 -0400 |
|---|---|---|
| committer | Mhykol <mchaeldonald62@pm.me> | 2024-05-19 13:47:13 -0400 |
| commit | 29c3b61a511b96360b897ed7bda5a095aabc474f (patch) | |
| tree | 745acb1ac3c8c2a304e914cbba0d5d5f9ec2622a /source | |
| parent | 46bfd3eb282fe81e417516dec06f079f44e96423 (diff) | |
Allow iframes for blog
Diffstat (limited to 'source')
| -rw-r--r-- | source/blog.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blog.js b/source/blog.js index 22a7cfc..cc654dd 100644 --- a/source/blog.js +++ b/source/blog.js @@ -2,9 +2,11 @@ const fs = require('fs') const path = require('path') const markdownit = require('markdown-it') const md = markdownit({ - typographer: { - whitespace: 'all' - } + html: true, + breaks: true, + typographer: { + whitespace: 'all' + }, }) const logger = require('./logger')() |
