new query param features, fixes

also added README
This commit is contained in:
Jon Dough
2023-06-21 17:58:02 +09:00
parent 15e5f0e916
commit 7f477d0049
5 changed files with 146 additions and 18 deletions

View File

@@ -471,7 +471,7 @@ export function parse_md_to_html_with_warnings(md: string): ParseResult {
blockquote_list = true;
}
continue;
} else if (char !== " " && chars[i-1] === "-" && (chars[i-2] === "\n" || i === 1)) {
} else if (char !== " " && char !== "-" && chars[i-1] === "-" && (chars[i-2] === "\n" || i === 1)) {
warnings.push({
type: "unordered-list-broken",
message: "Missing space after unordered list",