diff options
author | Adam Hovorka <[email protected]> | 2020-04-26 17:36:55 -0600 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2020-04-26 17:36:55 -0600 |
commit | a1bf1965d47c770aed95cf7ef4a8d8d010273869 (patch) | |
tree | 26d431c84e3b7b0450fc393bc45bd0efd515dbf6 | |
parent | ea2dc3f10d975977691bf920b72e180635a5912f (diff) |
Add blockquote styles
-rw-r--r-- | markup.js | 2 | ||||
-rw-r--r-- | style.css | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -17,7 +17,7 @@ const outdent = str => const encodeAttr = str => (str+'').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>'); -return (md, prevLinks) => { +return function parse(md, prevLinks) { let tokenizer = new RegExp( "((?:^|\\n+)(?:\\n---+|\\* \\*(?: \\*)+)\\n)|" + "(?:^``` *(\\w*)\\n([\\s\\S]*?)\\n```$)|" + @@ -157,6 +157,11 @@ strong { font-weight: 900; } +blockquote { + padding-left: 1.4em; + border-left: 3px solid var(--border); +} + section:not(.editing) .choice { display: block; margin: 1em 0; |