Anki
Files location
Flatpak version
~/.var/app/net.ankiweb.Anki/data/Anki2/User 1/collection.media/
Unsorted
Browse search
Due now or later
"deck:中文::Phrases (Overdue)" prop:due>=0
Buried cards
deck:中文::Overdue is:buried
Some tag
deck:中文::Vocabulaire tag:leech
Specific field
deck:中文::Vocabulaire Hanzi:但是
All cards in a deck whose field contains a pattern
deck:中文::Vocabulaire Hanzi:*心*
Combine search tokens
The default seems to be AND.
deck:中文::Overdue prop:due>=0 OR deck:中文::Overdue is:buried
Search in Vocabulaire things that are neither version 1.0, nor version 1.1:
deck:中文::Vocabulaire -tag:中文::version::1.0 -tag:中文::version::1.1
Search a certain tag in a certain deck:
deck:中文::Vocabulaire::vers10 tag:中文::version::1.1
Doc: https://docs.ankiweb.net/searching.html
Filed Replacements
answer
The 'id=answer' part tells Anki where the divider is between the question and the answer. This allows Anki to automatically scroll to the spot where the answer starts when you press 'show answer' on a long card (especially useful on mobile devices with small screens). If you don’t want a horizontal line at the beginning of the answer, you can use another HTML element such as a paragraph or div instead.
https://docs.ankiweb.net/templates/fields.html#basic-replacements
conditional hide or show
This text is always shown.
{{#FieldName}}
This text is only shown if FieldName has text in it
{{/FieldName}}
{{^FieldName}}
This text is only shown if FieldName is empty
{{/FieldName}}
https://docs.ankiweb.net/templates/generation.html
Strikethrough
Go to the field, edit HTML, and enter:
<del> .... text .... </del>
Hide shit
Add into styling of the cards:
.V {opacity:0 ; line-height:0 ;}
.V:hover {opacity:1 ; line-height:inherit ;}
And surround what you want to hide and show when hovering:
<div class="V">whatever</div>
<span class="V">whatever</span>
<span class="V">
Strikethrough tag in HTML
<s>