SmileAnki

AnkiWeb addon 972945041

Renders organic chemistry 2D structures inline from SMILES strings in Anki cards via custom tags, injecting SmilesDrawer and adding an editor button.
AI-generated summary; may contain mistakes.

card-creationformattingbeta

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-08-23
Anki versions
2.1.66~
Description language
en

Maintenance

active

  • Last update or commit was 39 days before the snapshot (2026-08-23).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.12.1.66+2026-08-23
History across monthly snapshots

Loading…

Similar addons

Content Injector

Injects global HTML, CSS, and JavaScript into cards at render time, with toggles and configurable files, without altering card content.

formattingappearance

Rating 2 πŸ‘ 2 Β· πŸ‘Ž 0 ⭐ 3 Anki 2.1.33~ Updated 2020-09-03
Anki Notes Generator

Generates Basic and Cloze Anki flashcards from .md, .txt, and .markdown notes using Ollama AI, with duplicate detection, auto-tagging, custom prompts, and English/Italian interface.

card-creationaiimportduplicatescloze

Rating 1 πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.66~ Updated 2026-03-06
Fix Edit Menu's Shortcut-Tooltips

Replaces the editor's dropdown-menu generator to display shortcut tooltips for MathJax inline, block, chemistry, LaTeX, LaTeX equation, LaTeX math env., and Edit HTML.

formattingshortcuts

Rating 1 πŸ‘ 1 Β· πŸ‘Ž 0 Updated 2019-01-05

README

anki-smiles-inline

An open-source Anki add-on proof-of-concept to render SMILES organic structures inline using SmilesDrawer. This is supposed to be custom markup parser that acts just like Anki's native [math]...[/math] or [$]...[/$] tags.


πŸ§ͺ SmileAnki <sub style="font-size: 0.5em; opacity: 0.7;">(Proof of Concept)</sub>

An open-source prototype for an Anki Desktop add-on that renders organic chemistry 2D structures directly inline using SMILES strings (e.g., <code>[smileanki]c1ccccc1[/smileanki]</code>).


<blockquote> <strong>⚠️ Note to Developers:</strong><br> I have little to no programming background, and so this is created basically entirely with AI with only little input from me. Hence, I am releasing this <strong>100% open-source under the MIT License</strong>. Since I couldn't find something similar to suit my needs, I was forced to create it. It is not the best, due to my limited knowledge, and hence my aim was to plant a seed for others to water. Anyone is welcome to fork this, fix bugs, refine the code, but NOT to publish it directly to AnkiWeb. While this code is MIT licensed, please do not re-upload exact duplicates of this add-on to AnkiWeb. Submitting pull requests here ensures improvements reach all users without cluttering the AnkiWeb add-on directory with duplicate listings. </blockquote>


⚑ How It Works (Intended Design)

<ol> <li><strong>JS Injection:</strong> Injects the <code>SmilesDrawer</code> library directly into Anki's WebViews.</li> <li><strong>Tag Parsing:</strong> Scans card HTML for custom <code>[smileanki]SMILES_CODE[/smileanki]</code> tags.</li> <li><strong>Inline Rendering:</strong> Converts tags into vector 2D chemical structure SVGs seamlessly alongside standard text or <code>MathJax</code>/<code>mhchem</code> markup.</li> <li><strong>Editor Integration:</strong> Adds a quick <code>SMILES</code> wrapper button to the Anki note editor toolbar.</li> </ol>


πŸ› οΈ Tech Stack & Dependencies

Component Usage
Python Anki Desktop Add-on hooks & webview insertion
SmilesDrawer Lightweight client-side 2D SMILES rendering engine

πŸ“œ License

This project is licensed under the MIT License.