How to add html to anki cards without displaying as html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add html to anki cards without displaying as html?

I am adding what i learn here to anki as I go, but when i put in a code example it displays it as actual code as in <br /> displays as a space on the card not the text I want to commit to memory. How to I turn it into text and not have or parsed?

29th Sep 2019, 9:08 AM
tom
1 Answer
+ 2
Use character escapes: Try writing &lt; at the place of < and &gt; at the place of > if you don't want them parsed. http://www.htmlandcssbook.com/extras/html-escape-codes/
24th Aug 2020, 6:20 PM
Satyam Mishra
Satyam Mishra - avatar