Skip to content

Releases: lukmay/simple-anki-sync

1.7.0

Choose a tag to compare

@github-actions github-actions released this 25 May 18:56

What's new

Configurable note type

You can now set a default Anki note type in Settings → Simple Anki Sync.
No longer locked to Basic. Use Basic (type in the answer) or any
other type from your collection.

If Anki is running when you open Settings, the field autocompletes with
all note types from your Anki profile.

Only note types with Front and Back fields are supported.
Picking an incompatible type shows a clear error instead of a
cryptic AnkiConnect message.


change-default-card

1.6.1 Compliance fixes

Choose a tag to compare

@github-actions github-actions released this 25 May 12:22

Maintenance release to align with the new Obsidian Community review system. No functional changes.

Release 1.6.0 Audio & Partial Excalidraw Embeds

Choose a tag to compare

@github-actions github-actions released this 19 Apr 16:30

This release adds two new media types to the sync pipeline and cleans up a long-standing editor quirk.

✨ New Features

🔊 Audio embeds → Anki sound tags

![[Recording.m4a]] inside a card table now uploads the audio binary to Anki and rewrites the embed as Anki's native [sound:Recording.m4a] tag — so the card actually plays on review.

Supports all Obsidian-recognized audio formats: flac, m4a, mp3, ogg, wav, webm, 3gp.

🎨 Partial Excalidraw embeds

Embeds that target a group, area, or frame inside an Excalidraw drawing now render only that region in Anki — matching what Obsidian shows in preview.

Supported fragment syntax:

  • ![[drawing.excalidraw.md#^group=<id>]]
  • ![[drawing.excalidraw.md#^area=<id>]]
  • ![[drawing.excalidraw.md#^frame=<id>]]
  • ![[drawing.excalidraw.md#^clippedframe=<id>]]

If the fragment can't be resolved (renamed/deleted ID), the plugin falls back to rendering the full drawing and logs a warning — the card still syncs.

🐛 Bug Fixes

  • Cursor jump fix (Live Preview): pressing ↓ below an Anki-card table no longer jumps the cursor backwards into the top cell of the table. Reading View behavior is unchanged.

🧹 Under the Hood

  • Excalidraw logic extracted into its own module (src/excalidraw.ts) for easier maintenance.
  • Removed dead code from the old toggle implementation and unused AnkiService helpers.
  • Generalized the media regex from image-only to MEDIA_EMBED so audio/Excalidraw/images share one resolver pass.

1.5.2

Choose a tag to compare

@github-actions github-actions released this 01 Mar 11:25

🐛 Bug Fixes

  • New Cards Backlink Fix: Fixed an issue where brand newly created Anki cards would generate the old, non-precise obsidian://open URL instead of the new obsidian://simple-anki-sync deep link upon their first sync.

1.5.1

Choose a tag to compare

@github-actions github-actions released this 01 Mar 10:50

🎉 Release v1.5.1 - Precise Backlinking!

This version brings a huge workflow improvement to the way Obsidian Note links behave in your flashcards.

✨ What's New

Precise Backlinks: Previously, the backlink on Anki cards would just vaguely open the file in Obsidian. Now, thanks to a custom obsidian://simple-anki-sync protocol handler, clicking the link in Anki will instantly open the correct note, deeply search for the exact physical flashcard you clicked, and scroll it right into the middle of your screen, placing the cursor cleanly at the end of the text.
You no longer have to hunt for your flashcard when you want to update it; you jump straight to the source row!

Release v1.5.0 - Excalidraw Support Added!

Choose a tag to compare

@github-actions github-actions released this 01 Mar 09:10

This update brings one of the most exciting capabilities to Simple Anki Sync so far: Seamless Excalidraw Integration! 🎨

✨ What's New
Native Excalidraw Embeds: You can now embed .excalidraw drawings directly into your Anki flashcard tables using the standard Obsidian
![[MyDrawing.excalidraw]] syntax.
Automatic Image Generation: When you sync your notes, the plugin automatically talks to the Obsidian Excalidraw extension to generate crisp, scaled image representations of your drawings and sends them straight to Anki. No extra steps or manual exports required!
Robust Syncing: Special characters and spaces in your drawing filenames are fully supported and safely URL-encoded to ensure nothing breaks in Anki.

🛠️ Under the Hood
The plugin handles graceful fallbacks so that if the Excalidraw plugin isn't active, it won't crash your sync flow.
Happy studying and sketching! Let me know if you run into any issues.

1.4.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 12:43
  • Added support for inline <!--ANKI_NOTE_ID:...--> inside the back cell.
  • Kept legacy tags fully compatible.
  • New tags are now written inside the card by default.

1.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Feb 11:25

New: collapsible single‑column Anki cards to keep notes tidy. Cards are collapsed by default, can be disabled in settings, and the default can be set to collapsed or expanded.

Commands added

  • Collapse all Anki card tables on page
  • Expand all Anki card tables on page
  • Insert empty Anki card block (adds a blank single‑column Anki card at the cursor)

1.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Dec 20:04

This update adds a new command that lets you cleanly unsync the currently active file from Anki.
Running the command removes all Anki note references from the file and deletes the corresponding notes in Anki via AnkiConnect, without affecting any other files in the vault. This makes it easy to intentionally remove a note (or an entire file) from Anki while keeping your Obsidian content intact.

New command: Unsync current file with Anki

1.0.7

Choose a tag to compare

@github-actions github-actions released this 24 Aug 20:13

🎉 Release v1.0.7 - Bold Text Synchronization

✨ New Feature: Bold Text Support

Your bold text in Obsidian now seamlessly syncs to Anki!

What's new:

  • Markdown bold syntax (**text**) automatically converts to HTML bold (<b>text</b>) when syncing to Anki
  • Works in both front and back of your flashcards
  • Zero configuration required - just use your normal Markdown bold formatting

Example:

| What is **quantum entanglement**? |
| ---------------------------------- |
| A phenomenon where particles become **interconnected** and instantly affect each other |

Now displays in Anki with proper bold formatting preserved!

🔧 Technical Details

  • Minimal, non-breaking implementation
  • Integrates seamlessly with existing LaTeX, image, and media processing
  • No impact on performance or existing functionality

📋 Full Feature Set

  • ✅ Basic card sync (Front/Back tables)
  • ✅ Deck management with subdeck support
  • ✅ Image embedding and resizing
  • ✅ LaTeX math formatting
  • NEW: Bold text formatting
  • ✅ Automatic card deletion
  • ✅ Obsidian backlinks in Anki
  • ✅ Deck renaming support

🚀 Getting Started

  1. Make sure Anki is running with AnkiConnect installed
  2. Use **bold text** in your flashcard tables
  3. Run "Sync current file with Anki" or "Sync entire vault with Anki"
  4. Enjoy properly formatted bold text in your Anki cards!