louietan / anki-editor

Emacs minor mode for making Anki cards with Org
699 stars 87 forks source link

Default content to back field #75

Open leoc opened 4 years ago

leoc commented 4 years ago

This change lets the building of fields default to the back field for content that does not contain another child heading.

Regarding #61 and #59

Now we can write:

* My question for the front?
** Back
My answer at the back of the card...

as

* My question for the front?
My answer at the back of the card...

No need to specify a "Back" heading.

Maybe we can use "per-card-type" field names...

Cheers!

gsingh93 commented 3 years ago

@louietan any chance you could merge this?

searene commented 3 years ago

Can this be merged into master? It would be really helpful.

orgtre commented 1 year ago

This commit in orgtre/anki-editor provides the functionality of this pull request. It also allows a more general logic: