A local web tool to develop and preview Anki card templates.
Visit: https://myztyn.github.io/anki-card-devtool/
- Edit
front.html,back.html,style.css, anddata.json - Simulate Anki field rendering (
{{field}},{{type:reading}}, conditionals) - Flip card in preview
- Save and load multiple named projects in browser storage
- Export individual template files
- Export optimized bundle containing only:
front.htmlback.htmlstyle.css
npm install
npm run serveOpen: http://localhost:5173/index.html
Cmd/Ctrl + S: Save projectCmd/Ctrl + Shift + F: Format active editor
index.html— app shell and UI layoutapp.css— application stylesapp.js— editor logic, simulation engine, storage, exportspackage.json— local dev scripts