-
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
Cloze and remnote notes conflict with code blocks #76
Comments
Hello, I'm glad that you like the plugin! I'll work on fixing this. Thanks for the bug report. |
Thanks! One other issue I've just noticed: if I have a note like
then it gets changed to
Perhaps the multiline notes should ignore blank lines if they're in the middle of a code block? This isn't a huge problem as I can add some spaces to the blank line to make the plugin skip that line |
On version 1.5.2 I'm still seeing the issue @OliverBalfour mentioned in code blocks with blank lines. Adding spaces works, but it would definitely be preferable to have the entire code block be treated as a single block for review. I tested with having a block reference
|
@Masstronaut, I only did a partial fix for this issue so the blank lines bit is still pending. Changing the regex to accommodate this got a little too complicated so I decided to fix other things first. |
I'll create a new issue for the blank lines bit & close this one. |
First things first, this is an awesome plugin, thank you for making this!
I've just spent a little time testing and found the following issue. If I have a code block like the following two:
The plugin will detect the first as a Cloze task and the second as a remnote one, and has weird prompts when you open the flashcard review screen. I think anything inside code blocks should be ignored if possible (but being able to put code blocks after a multiline
?
prompt is great)The text was updated successfully, but these errors were encountered: