12 3 12 Sign in to rate

Card Layout Editor - syntax highlighting, monospace font

0.01MB. Updated 2018-01-18.

The author has shared 2 other item(s).

Description

fixed width (monospace) text syntax highlighting A common ad-hoc workaround was to copy & paste between the Anki template editor and a separate text editor. This addon provides these missing features directly in the template editor. Syntax highlighting works for both HTML and CSS, although currently the lexing is naive. Example: Next steps: configurable highlighting (colors, tokens) better syntax highlighting line numbers search & replace tabs to spaces automatic indentation GitHub link One drawback to the otherwise powerful Anki template editor is the absence of two common features of text editors:A common ad-hoc workaround was to copy & paste between the Anki template editor and a separate text editor. This addon provides these missing features directly in the template editor. Syntax highlighting works for both HTML and CSS, although currently the lexing is naive. Example:Next steps:

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into Anki 2.1:

1483620388

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

This add-on previously supported Anki 2.0. You can download the last version supporting 2.0 here. As Anki 2.0 has been discontinued, no support is available for this version.

All Anki 2.1.x Add-Ons

Reviews

doesn't start on Anki for Mac 2.1.33

good!

Wonderful! This should be built into Anki from the start. 👍👍

Many thanks. Works great on macOS Mojave.

Awesome

I love the idea but it doesn't work

Thank you

Thanks!

Made template editing easier a bit

I wish I had this earlier. Perfect if you know how to edit card layouts.

Super!!!

nice, works great!! thanks

I love the idea but it doesn't work

Very useful for editing CSS...

Great job!