frenya / vscode-recall

MIT License
24 stars 7 forks source link

empty line after bullet list triggers second expansion page #17

Closed j-hap closed 1 year ago

j-hap commented 1 year ago

take the following card with recall: header:

### What's crackin'?

it's about to:
- go down
- blow up

and then another sentence

When this card is shown in training, the first press on the spacebar shows the first line and the bullet point list. The last sentence is only shown after a second press on the spacebar. Any chance I can show the whole card with one press on the spacebar?

frenya commented 1 year ago

Hi. This one is easy. Simply put a single space on the blank line.

Please note: You need to disable the files.trimTrailingWhitespace setting in VSCode, otherwise the space will get removed upon saving the file.

j-hap commented 1 year ago

Thanks for the tip! I also looked around and a simple html comment in the empty line works as well, so files.trimTrailingWhitespace may stay enabled