martin-jw / obsidian-recall

A spaced repetition system for Obsidian!
MIT License
113 stars 12 forks source link

[Feature] Ability to make the entire Note the answer #7

Open fredriksy opened 3 years ago

fredriksy commented 3 years ago

First off all, incredible plugin so far!

My personal system is to take atomic notes, as such I'm requesting a way of setting the file name as the "Question" and have the rest of the notes as the "Answer"

The current system requires me to restructure notes to make the First Heading into a question but this can be difficult depending on the structure of the notes. Thanks!

asukhodko commented 3 years ago

There is another option to consider the first heading as a topic that needs to be explained. Then the headline does not need to be turned into a question.

fredriksy commented 3 years ago

@asukhodko sorry maybe I'm misunderstanding something, isn't what you are describing the current behavior? It uses the first heading as a question?

asukhodko commented 3 years ago

I don't seem to have fully understood your message. "Recall" uses the first title as a question, and the entire note as an answer. And if there is no header, then the file name becomes a question.

fredriksy commented 3 years ago

@asukhodko Yeah I'm not doing a good job of explaining the situation. I'll try again.

My notes are structured (as example)

File: Newton's Second Law.md

$$F = m \cdot a$$

Applications to F = ma

details

Hamiltonian expression for F = ma

details

Most of the time, I really just want to be either look up the first few lines (definition of New ton's second law) or I want to be tested on the whole thing.

I'd like the option to be shown the whole thing as the answer.

Does the above explanation help?

asukhodko commented 3 years ago

It looks strange, or I still don't understand your situation. When I click "Show Answer", the system displays the entire card. Isn't it happening with you?

fredriksy commented 3 years ago

It doesn't show the entire file as the answer for me if there is a heading. For example:

Recall Have Heading.md looks like this image Question: image Answer image

The initial text is never shown, even thought it's likely to be the most important text (since it's like the definition). In addition the First Heading isn't really an appropriate question in this case. I really want the flexibility as the only thing that is shown. Does that explain my issue ?

For me Recall's big advantage is how it's nicely abstracted away the spaced repetition functionality into external (to my notes) .json files. It would be great if I didn't have to restructure my notes just to be compatible with Recall.

asukhodko commented 3 years ago

Now I understand. The text before the first heading is not shown in either the answer or the question.

fredriksy commented 3 years ago

Yes exactly, but this only happens when a heading is present.

I would like there to be more settings on questions and answer in general.

Appreciate your patience

meskill commented 3 years ago

Same issue for me,

would be great If issue was fixed by changing default rendering or at least allow to change settings for rendering

martin-jw commented 3 years ago

I apologize my delayed response, I have been busy with other undertakings. I'm currently working on a way to more flexibly choose which parts of a note is the question and this will definitely be possible.

fredriksy commented 3 years ago

Thank you!

1270011 commented 3 years ago

Maybe this will help: I am writing the answer < details>here< /details>. So it's possible to have several questions and answers:

questions 1

< details>answer 1< /details>

question 2

< details>answer 2< /details>

(of course without space after <)

in combination with espanso I don't have to write often < details> and have several questions on one sheet with this great plugin :) Great thanks @martin-jw for this fantastic work :)

NeighNeighNeigh commented 1 week ago

I would just love a way to use the file name as the question and the entire note contents as the answer. This would be just perfect!