diff --git a/common/markdown_parser/markdown_ext.ts b/common/markdown_parser/markdown_ext.ts index 74682256..d66e7b99 100644 --- a/common/markdown_parser/markdown_ext.ts +++ b/common/markdown_parser/markdown_ext.ts @@ -27,7 +27,7 @@ export function mdExtensionSyntaxConfig({ if (!firstCharCodes.includes(next)) { return -1; } - let match = regex.exec(cx.slice(pos, cx.end)); + const match = regex.exec(cx.slice(pos, cx.end)); if (!match) { return -1; } diff --git a/web/styles/theme.scss b/web/styles/theme.scss index 8cbb48a3..9f67211e 100644 --- a/web/styles/theme.scss +++ b/web/styles/theme.scss @@ -223,7 +223,7 @@ border: 1px solid #0120416b; border-radius: 6px; padding: 0 3px; - margin: 0 -3px; + margin: 0 1px 0 0; font-size: 0.9em; }