diff --git a/src/index.ts b/src/index.ts index 9b3b972..6a1c9d5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -36,6 +36,7 @@ const heading1Markdown = (content: string): string => { //heading1Markdown() tak return content.split(/[\r?\n\r?\n]/g) .map((line) => line + .replace (/(^`)(.+?(?=`))(`$)/gim, '$2') .replace(/-{3}/gim, '
') .replace(/(^(?!<)[^#](.*$))/gim, '

$1

') .replace(/^##\s(.*$)/gim, "

$1

") diff --git a/tester.md b/tester.md index 54ce128..6594927 100644 --- a/tester.md +++ b/tester.md @@ -7,4 +7,4 @@ also regular. --- -```a = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1``` \ No newline at end of file +` code this is code pls do something `