Suggest a feature to render `<br/>` as real line breaking in edit page with HTML view in iOS Anki, like that in AnkiDroid?

In the Card Editor’s HTML/Code View on iOS Anki, I can directly edit raw HTML (e.g., modifying <span class=""> for styling). This is essential for my workflow because I use <span class=""> to highlight important words in my cards, as I use the Custom Style add-on on PC to add span class.

However, I noticed a rendering difference between iOS and AnkiDroid:

  • AnkiDroid: <br/> and <div> are** rendered as actual line breaks**, and it’s possible for pressing Enter to insert a line break. It makes me easier to add span class style of my cards because it’s more easier to locate my target contents.
  • iOS Anki: Line breaks are not visually rendered in Code View, making it difficult to locate text for adding span classes (the HTML appears as a “mess” of unformatted text).

Is there a setting or feature in AnkiDroid/iOS to align the Code View behavior? Ideally, I’d like iOS to render line breaks like AnkiDroid for easier editing.

Thank you for your hard work and any guidance!

1 Like