mdanki icon indicating copy to clipboard operation
mdanki copied to clipboard

Ignoring level 1 headings

Open ramojus opened this issue 3 years ago • 0 comments

I would like to only generate cards with content inside level 2 headings.

For example this:

## heading 2
text inside
# heading 1
text inside

Would currently translate to a card like this:

[front]:
heading 2

[back]:
text inside
# heading 1
text inside

I would expect the card to not have level 1 heading and it's contents inside:

[front]:
heading 2

[back]:
text inside

So basically I would expect mdanki to ignore level 1 headings that are in the middle of the documents. Would this be possible? Or maybe there already is some way to have text in a markdown document that doesn't get included in the card?

ramojus avatar Jan 31 '23 14:01 ramojus