wrap code in progress, revert old message handling

This commit is contained in:
Daniel Avila 2023-02-25 09:06:26 -05:00
parent 0f6fcd5928
commit ed699d2c06
6 changed files with 121 additions and 1438 deletions

View file

@ -38,7 +38,7 @@ export const languages = [
export const wrapperRegex = {
codeRegex: /(```[\s\S]*?```)/g,
inLineRegex: /(`[^`]+?`)/g,
matchRegex: /(`[^`]+?`)/g,
markupRegex: /(`[^`]+?`)/g,
languageMatch: /^```(\w+)/,
newLineMatch: /^```(\n+)/
};