Open swehba opened 1 year ago
Regarding the need for having blank lines, this has similarity to #254.
it sure would be nice to have much richer formatting --- including blank lines, headers, etc. --- for the front and back of cards.
You can include markdown in the card text
For example:
# What is a Route 53 hosted zone?
?
A table associated with a domain (and it's sub domains) with different records for different protocols, and info about how to route such traffic
Is rendered as:
Cheers Ronny
Hi potential implementor
Regarding the example format by @swehba
^^^
This is the first line of my question.
This is the second line my question.
+++
This is the first line of my answer.
This is the second line of my answer.
vvv
Note that #881 has an example with longer delimiters:
Question?
<!--SR:START-->
Answer 1
Empty line above
Code Block
More empty lines.
Links to other cards
<!--SR:END-->
@jvdevlab, I notice that you haven't specified a start delimiter (i.e. prior to the question such as the ^^^
suggested by the OP)
Is that because in your use case you don't need multi-line questions that include blank lines?
How annoying would you find it if you did have to specify a start delimiter? So your example would be something like:
<!--SR:START-->
Question?
<!--SR:ANSWER-->
Answer 1
Empty line above
Code Block
More empty lines.
Links to other cards
<!--SR:END-->
Cheers Ronny
@ronzulu, correct I didn't think of multi-line question as I don't need them in my case. Your example wouldn't be annoying at all. I would prefer it to be this way, as it clearly sets all the boundaries with almost zero chance it conflicting with each other or with the rest of the Obsidian world.
Is your feature request related to a problem? Please describe. The plugin allows multiple line formats for the front and back of flashcards. However, you cannot have any blank lines.
Describe the solution you'd like Instead of just using a separator between the front and back of a card, use fences to indicate where the front begins, where the front ends and back begins, and where the back ends. Maybe something like this:
^^^ This is the first line of my question. This is the second line my question. +++ This is the first line of my answer. This is the second line of my answer. vvv
Hello @swehba, are you looking for something similar to what can already be done with the "Characters denoting the end of clozes and multiline flashcards"?
https://github.com/user-attachments/assets/6ef83ca7-a5db-4067-a418-d142ea5d6e76
I think this was already mentioned in:
Is your feature request related to a problem? Please describe. The plugin allows multiple line formats for the front and back of flashcards. However, you cannot have any blank lines.
Describe the solution you'd like Instead of just using a separator between the front and back of a card, use fences to indicate where the front begins, where the front ends and back begins, and where the back ends. Maybe something like this:
I don't know how the parser works, and admittedly this is a pretty silly solution, but it sure would be nice to have much richer formatting --- including blank lines, headers, etc. --- for the front and back of cards.
I was able to get around this somewhat by appending
<br>
to the end of each line, but that is a pretty awkward solution.I also tried the following:
but the parser sees this as two cards.
Additional context Add any other context or screenshots about the feature request here.