Obsidian_to_Anki
Obsidian_to_Anki copied to clipboard
Note ID prevents proper nesting of lists.
Putting a line break fixes it
But running scan vault again resets it and removes the line break
Right, I might be able to do a special case for this. At the moment, the script automatically replaces ‘double new line then ID’ by ‘single newline then ID’, since it looks nicer usually.
Thank you for your prompt reply. I look forward to a solution or some sort of work around.
BTW this addon/plugin is incredible. Thank you for your hard work!
Hmm, I've tested this with some online markdown editors, and this doesn't seem to break nested lists. I wonder if this could be a bug in Obsidian's markdown to HTML engine? I'll file this as a bug report there for now.
Alright, here's the bug report on the Obsidian forum
I'm also experiencing this and it is pretty annoying since I like to use lists + folding to get some extra "active recall".
Currently I've modified the plugin code locally to add two new line lines before the ID, although it is a bit ugly.
@Pseudonium as a temporary fix, do you think it would be possible to (have the option to) move the ID to the top of a note instead of the bottom. Example:
Alternatively, since I'm still unfamiliar with the codebase and typescript, could you point me to the section of the code where this change can be implemented? Thank you!
Alright, here's the bug report on the Obsidian forum
This bug report maked as wont-fix on obsidian side. Therefore, we ourselves have to comeup with a fix.