I was trying to use the Spaced Repetition plugin’s flashcard feature inside of a list, but it adds HTML comment tags below each line marked as a flashcard, which for some reason turns the next bulletpoint below it into an indented piece of text instead of an actual bulletpoint.
1. Legislative leadership 1. Can veto - Pocket veto :: let legislation expire within 10 days of Congress adjourning <!--SR:!2022-01-06,3,250--> - Signing statement :: statement attached to signing of bill into law that *states president's interpretation* of the law and *declaration that he will enforce how he sees fit* <!--SR:!2022-01-06,3,250-->
(The arrows are supposed to be “- - >” without spaces)
This properly adds the two “pocket veto” and “signing statement” flashcards, but the entire signing statement section becomes a code block and is not a list. Here is what it actually looks like:
- Legislative leadership
- Can veto
- Pocket veto :: let legislation expire within 10 days of Congress adjourning
- Can veto
- Signing statement :: statement attached to signing of bill into law that *states president's interpretation* of the law and *declaration that he will enforce how he sees fit*
A solution to this seems to be to either somehow:
- Disable the ability to display code in this file, and if that is possible through CSS then I can maybe attach that to a class and apply it to similar notes with YAML frontmatter
- Make the second bulletpoint get interpreted as a list somehow. I couldn’t get this to work, it seems the syntax messes stuff up, I don’t know why.
I have tried to search the help docs and also have tried to edit my CSS theme file to add a class without code blocks but it looks like you can’t remove code block display because of markdown.
EDIT: I just noticed that this help document also uses the same notation for the instructions regarding the “Things I have tried” section, I will try to look up what that means and how to get it to stop messing with bulletpoints.
EDIT 2: Those are HTML comments, I don’t know why they mess up the list.
It seems that a pain in the ass workaround is to do this using manual HTML crap:
<ul> top item <ul> <li>First ::item</li> <!--SR:!2022-01-06,3,250--> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ul>
Does anyone know a non pain in the ass way to get this working?