diff --git a/frontend/src/global.scss b/frontend/src/global.scss index 98155ba3..71e2edf4 100644 --- a/frontend/src/global.scss +++ b/frontend/src/global.scss @@ -43,3 +43,11 @@ html[data-bs-theme='dark'] { background-color: #343434; } } + +/* Generated by `> text` blockquotes in Markdown by marked.js */ +blockquote { + margin: 10px; + padding: 5px; + border: 2px solid #000000; + border-radius: 5px; +} diff --git a/frontend/src/markdown.js b/frontend/src/markdown.js index 57f769ba..34e3fa36 100644 --- a/frontend/src/markdown.js +++ b/frontend/src/markdown.js @@ -21,6 +21,7 @@ marked.setOptions({ const sanitizeOpts = { ALLOWED_TAGS: [ + 'blockquote', 'img', 'p', 'b',