Skip to content

Winter Cleaning Update

Compare
Choose a tag to compare
@Pseudonium Pseudonium released this 06 Dec 22:33
· 240 commits to master since this release
f0c0da4

This update kicks off a new period of script development by fixing a bunch of bugs:

  • UTF-8 error is now fixed
  • Note and Field Substitutions are no longer a thing - were just too buggy to be usable.
  • Fields logic for START END and STARTI ENDI is now more robust - can deal with fields in any order, as well as any number of optional fields
  • Script now properly ignores matches inside math or code
  • Script properly interprets %20 in file paths
  • Added media filenames are now stored in a dedicated 'data' file rather than the config file
  • Instead of throwing an error that stops execution, the script now prints a warning message if a card in a file is not present in Anki (if you deleted it in Anki without deleting the corresponding ID line), and skips over the card
  • The script no longer throws an error if "Vault" is specified but the vault name is not found in the path
  • CurlyCloze no longer converts cloze deletions in code
  • Single way to delete a note now - DELETE and then identifier on next line

A few bonus features:

  • Frozen fields are now a thing!
  • FILE TAGS and TARGET DECK can now be specified inline
  • Added Media is now stored in a dedicated Data file, rather than being stored in the config file
  • The script will now skip over files it's already scanned that haven't changed - should be useful for large vaults!

Also, most of the documentation has now been moved to a GitHub wiki! Made README much smaller.

By the way, you should delete your config files (try to save any custom regexps etc that you've made) - the script will regenerate a much shorter config file.