Skip to content

v1.3.0 – Media syncing, math markup, initial scheduling, and more

Compare
Choose a tag to compare
@sobjornstad sobjornstad released this 13 Nov 23:55
· 63 commits to master since this release
v1.3.0

Version 1.3.0 adds many long-requested features!

New features

  • Images (anything that renders down to an <img> tag) and audio (anything that renders down to an <audio> tag) are now synced into Anki's media database. Local files, web URLs, and _canonical_uri tiddlers are fully supported. [Addresses #20]
  • Math markup created with the KaTeX TW plugin can now be properly synced into Anki (to be rendered via MathJax). [Addresses #28]
  • Braces can now be escaped with backslashes, \{ and \}, within cloze notes (critical for combinations of clozes and LaTeX markup). [Addresses #43]
  • TiddlyRemember can now set initial scheduling parameters within Anki from provided SM2-style scheduling information.
  • You can now easily create new TiddlyRemember macro snippets for insertion via the editor toolbar. [Addresses #51 and #46]
  • To make some wikitext appear only when TiddlyRemember is syncing the wiki (or not), you can now check the tr-rendering variable, which is set to yes when TiddlyRemember is syncing. [Addresses #34]
  • Encrypted file wikis can now be read directly by TiddlyRemember (note that this is not suitable for top-secret wikis, as the password is stored in plaintext in your Anki configuration). [Addresses #7]
  • You can now export notes of a TiddlyRemember note type from Anki to a text file containing TiddlyRemember macro calls.
  • Arbitrary CSS classes can now be applied to TiddlyRemember notes; this affects display within TiddlyWiki but not within Anki. (For the latter, add the HTML to the content of the macro parameters, or adjust the Anki card templates.) [Addresses #46, #43]

Bugs and pitfalls fixed

  • Fix a bug where the wrong wiki could be deleted from the list in the TiddlyRemember configuration if multiple wikis were deleted in the same session.
  • Improve error handling and UX when setting up new wikis and getting the configuration wrong. [Addresses #44, #41]
  • Warn user if they attempt to add notes of a TiddlyRemember note type directly to Anki, since these will be deleted on the next sync (requires Anki ≥ 2.1.47).

Technical improvements

  • Bring automated testing up to 93% branch coverage (with most uncovered code being UI-specific error handling) and improve build process.
  • General refactoring.

Note: I inadvertently merged this tag wrong, resulting in a duplicate set of commits on the master branch and on this tag. This tag matches the head of master as of 2021-11-13, but I'll be working off the master set of commits going forward. Sorry for any issues created for diffing, and feel free to submit professional complaints against my Git license – I know better than this. :-)