obsidian-spaced-repetition icon indicating copy to clipboard operation
obsidian-spaced-repetition copied to clipboard

[FEAT] Multiline flashcards with table inbetween

Open dmantisk opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe. When using tables in multi line flashcards the empty lines enforced by obsidian cuts off the top of the card.

This is how it has to be made

- Question opening
                   <-- Empty line needed to make the table render in obsidian
| a   | b   |
| --- | --- |
| c   | d   |
Question continued
??
Answer

As a result the flash card starts from the table cutting off the 'question opening'

Describe the solution you'd like

  1. A way for multi line flashcards to incorporate/recognize the empty line before tables
  2. A way to manually include an empty line in a multi line card 2.1. A character/string used before the empty line 2.2. A character/string to define beginning and ending of the flash card

Additional context image A related issue : https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/122

dmantisk avatar Mar 22 '24 06:03 dmantisk

I am dealing with this issue as well. Currently there is essentially no way to include tables into flash card answers as far as I can tell.

dengrish avatar May 24 '24 20:05 dengrish

+1 .. I have a table in the answer section and currently not able to render it

ragrawal avatar Aug 08 '24 04:08 ragrawal

Although it hasn't been finalised, there is progress at https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/1012

ronzulu avatar Aug 08 '24 11:08 ronzulu