Skip to content

Releases: ObsidianToAnki/Obsidian_to_Anki

Recursion Update

18 Sep 21:16
Compare
Choose a tag to compare

This update allows you to call the script recursively on a folder, so that subfolders are also scanned.

Bugfixes:

  • Image tags should work properly (not sure how they worked before to be honest...)
  • Fixed issue with calling the script on a directory
  • Script now reloads config file if any exception occurs upon trying to load it

GUI, HTML comments and Setup Update

18 Sep 08:47
Compare
Choose a tag to compare

Lots of new things in this update:

  • Updated GUI to make it even clearer
  • Script now has a setup file
  • IDs are now wrapped in HTML comments by default
  • Regex mode can now be configured to be on by default
  • Script now falls back to a command-line interface if Gooey isn't installed

Bugfixes:

  • Fixed issue with generating field substitutions dictionary
  • Fixed math formatting being incorrectly interpreted as HTML tags
  • Documentation made slightly clearer in certain places
  • Fixed issue with wrong name for directory

New GUI and option to disable GUI

15 Sep 14:12
5a61ad6
Compare
Choose a tag to compare

This release:

  • Adds a new GUI that makes it easier to select a file vs a folder to scan.
  • Allows users to disable the GUI in order to run the script from the command line (or e.g. to automatically run the script with given parameters)

Bugfixes:

  • The script now automatically tries to update the config file if there's an error reading from it.

Web-hosted image support

14 Sep 20:23
82de134
Compare
Choose a tag to compare

This update adds support for web-hosted images, using the standard markdown syntax ![alt-text](image_url)

GUI and Easy Cloze Update

13 Sep 09:06
401468d
Compare
Choose a tag to compare

The script now has a GUI, using the Gooey library (new dependency).
v2.2.2 - The script has a new, more compact syntax for Cloze notes.
For more information, see README.md.

Existing users should:

  • Run pip install Gooey
  • Update the config file

Bug fixes:

  • Script no longer strips all whitespace at end of file.
  • Script should now be able to read from config file correctly

Media update - Audio supported!

12 Sep 16:41
d56b294
Compare
Choose a tag to compare
  • Script now supports audio files! See README.md for instructions on how to embed them.
  • Script now keeps track of media files it has added, and won't add them unnecessarily. Should speed up execution time for subsequent runs.
  • Can now configure the default deck and tag given to cards.
  • Script now shows a help message if run with no arguments

Remember to run obsidian_to_anki.py -u to get the new sections of the config file.

Version 2 - Custom Syntax update

08 Sep 15:18
Compare
Choose a tag to compare

This update adds one major new feature - the ability for users to define, via regular expressions, a custom syntax for their flashcards! Many useful templates are provided in the new regex.md file.
Existing users - run obsidian_to_anki.py -u to get the new sections in the Config file.

Bug fixes:

  • Fixed image path problem for notes in a sub-directory
  • Fixed TARGET DECK not being correct for a list of files in a directory
  • Fixed issue with emojis in file
  • Fixed ID being appended weirdly

Config and Inline Notes Update

06 Sep 12:37
Compare
Choose a tag to compare

This release allows you more freedom to configure the syntax of the script, and also adds inline notes. For more information, see README.md

Bug fixes:

  • The script now no longer has fields enclosed in a <p> tag, which should fix some issues with formatting
  • Fixed an issue where the script added text to the Extra: field in Cloze unexpectedly

File-wide tag functionality

04 Sep 16:49
edf8582
Compare
Choose a tag to compare

This update allows you to specify 'file tags' for a file, which are tags that are automatically added to every card in the file. For more information, see the current README

v1.1.2 - Fixed bug where FILE TAGS were not added to new notes.

v1.0 - Performance and Directory Update

03 Sep 21:11
c162d9d
Compare
Choose a tag to compare

This update provides some performance improvements, and now allows you to run the script on an entire directory of files (not recursively).

Note that the obsidian_to_anki.py -f FILENAME syntax is no longer available - simply do obsidian_to_anki.py [path_to_file].

Stable release, finally!