alanxoc3 / concards

A flashcard note app
GNU General Public License v3.0
8 stars 0 forks source link

Print file without cards inside option. #89

Open alanxoc3 opened 3 years ago

alanxoc3 commented 3 years ago

Of course I need to put more thought into this, whether or not it's worthwhile.

The idea is to have an option that will print a file, but without any of the cards. This could specifically be useful for some note files I have in markdown that I want to render to html. The cards could be easily treated as comments and not rendered in markdown if this case is done.

alanxoc3 commented 3 years ago

This kind of brings me to this question:

Are cards meant to simply be comments, or are they meant to be embedded into a document?

Can I apply literate programming concepts to cards?

alanxoc3 commented 3 years ago

A literate program tries to accomplish a goal. But flashcards are usually just random thoughts.

alanxoc3 commented 3 years ago

What if there was an option to print cards without the cloze formatting or the answer.

As an example, there could be markdown lines like this:

- #: The {basic operation} is the {unit of time} that is usually used to {measure} the {speed of an algorithm}. :#
- #: An {algorithm} is a {finite sequence} of {unambiguous instructions} for {solving a problem}. :#
- #: A {recurrence relation} uses {recursion} to find {numbers in a sequence}. :#
alanxoc3 commented 3 years ago

I like the idea in the previous comment. If flashcards are like comments, then I'm treating my notes incorrectly.