HTML <li> and <ul> lists are not getting displayed

Lists - both

  • and
      HTML lists arenot getting properly displayed, Anki (both the PC version and the Android app) cuts off after the first element.

      E.g. look at this example code:

      • to think of
      • to hit upon
      • to come into one's mind
      • to be struck with an idea

      Has anyone found any workaround? I tried converting everything to text and just do document.write, but that seemingly kills every other part of the code and cannot display other fields.
      It is fairly infuriating, spent so much time on this - any help is greatly appreciated!

  • This site eats the formatting if you do not put the code in a code block (which means we cannot see your code).

    Here’s how to do codeblocks:
    ```
    Code goes here
    ```


    In general, lists work fine in Anki. So something with your cards or code must be wrong.

    3 Likes