-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v8 development #559
base: main
Are you sure you want to change the base?
v8 development #559
Conversation
This allows for direct use of the markdown-to-jsx AST if it's preferable for your use case to retain full control over output.
🦋 Changeset detectedLatest commit: b61048d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
const TEXT_STRIKETHROUGHED_R = new RegExp(`^~~${INLINE_SKIP_R}~~`) | ||
// https://regexr.com/7u91c | ||
const INLINE_FORMATTING_R = | ||
/^(([*_])\2|[*_]|~~|==)((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|([*_]+|`|~~|==)[\s\S]+?\4|[\s\S])+?)\1/ |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
Objectives
allow for multiple rendering targets (react, solid, etc)punting this one to a future major so this can be released fasterpotentially update the library name if we support rendering targets other than JSXpunting this one to a future major so this can be released faster