-
Notifications
You must be signed in to change notification settings - Fork 199
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
[FEAT] Support questions within admonition code blocks #747
Comments
Hi there, can you include some sample Markdown. |
Hi there The parse function seems to explicitly skip over the content of code blocks, anything starting with I can imagine that in general that makes sense, code could easily have A couple of options come to mind for implementation
Cheers |
OOOO u are right, ill try something and i will make a pull req if i have something interesting |
Expanding on a possible implementation, ignore any "termination" tokens if we are currently within a code block. The regex could be altered to account for this. |
Hey guys, is there any update on this? Or any workaround? I made an admonition called |
Next week i end the smester and try some thoughts 😅😅😅😅 |
Reading about this, how do u implement this way??? |
You can probably get AI to write the regex for the most part but if you match a ```, then don't match any ==, until the next. I'm not sure myself but it was just an ide. |
Pull requests are on a menu near the top of this page. Otherwise, here is the direct link:
Great, most people don't think about documentation 😄
Ideally, we would have 100% code coverage for non-GUI classes. We don't have that, but at the moment a handful of classes that the test framework Jest has been configured to check. This includes parser.ts Cheers |
If just created the pr, if u need me to modify something just ask :) |
Modify the parser to search inside the code blocks. With the use of the Admonition plugin, the text inside is not detected as flashcard.
The text was updated successfully, but these errors were encountered: