ObsidianToAnki / Obsidian_to_Anki

Script to add flashcards from text/markdown files to Anki
GNU General Public License v3.0
1.54k stars 136 forks source link

Include filename in first field #572

Closed spechtjonas closed 7 months ago

spechtjonas commented 7 months ago

Thank you for the awesome plugin!

For my usecase it would be incredibly helpful (basically necessary) to automatically include the filename of the files from which the cards are generated in the first field in order to prevent duplicated names (and therefore incomplete generation of cards).

"Filename" in this case would ideally be only the actual name of the file (not the path) without the file extension.

Is there any way to do this? I'm more than happy to update only my script, if this would be a future feature even better!

Have a great day! Jonas