-
Notifications
You must be signed in to change notification settings - Fork 196
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
Regex pattern failing #323
Comments
I would remove the flutter markdown package from the equation. Have you tried with just plain |
print(md.markdownToHtml(
branch.body,
extensionSet:
md.ExtensionSet.gitHubFlavored
..inlineSyntaxes.addAll([
FontSyntax(
1,
GoogleFonts.roboto()
.fontFamily),
FontSyntax(
2,
GoogleFonts.robotoMono()
.fontFamily),
FontSyntax(
3,
GoogleFonts.robotoSlab()
.fontFamily),
FontSyntax(
4,
GoogleFonts
.dancingScriptTextTheme()
.bodyText1
.fontFamily),
]),
));
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to implement my own font inline parser, but it seems the regex refuses to match despite it being valid in my testing.
Here's my class:
I'm using it like so:
I set it to the regex is
\(:{1}\)\[([^\]]+)\
this will match text like so: [:](text here)
But it wont fire at all.
Regexr results:
The text was updated successfully, but these errors were encountered: