Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'Replace newlines with HTML' #142

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion manual.asc
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ var userJs9 = () => document.writeln("hello AnkiDroid,");
=== Advanced
Some less common features for advanced users are shown here

Collection path :: Change the location where AnkiDroid's data is stored (not recommended)
Collection path :: Change the location where AnkiDroid's data is stored (not recommended).

Force full sync ::
Tap this item to force a full upload or download on the next sync (for example, because you accidentally deleted a deck on one side and want to restore the deck rather than having its deletion synchronized).
Expand All @@ -850,6 +850,16 @@ In order to improve user experience when working with the whiteboard and gesture
For full consistency with Anki Desktop, you can enable this option which allows you to save screen area, and choose an appropriate font (e.g. Japanese vs Chinese) for the input box.
--

Replace newlines with HTML ::
This option converts all newlines in the Note Editor to <br> tags when you save the card. This means that the newlines you see while editing a card will also appear while reviewing the card. Enabling this option will also make the Note Editor display all <br> tags as newlines after you save the card.

+
--
This option is not retroactive: meaning if you have created cards with newlines in the Note Editor when this feature was turned off, turning it on after that will not automatically turn the newlines into <br> tags. This also means that if you have synced a card created in the desktop app, you will need to open the card in the Note Editor, and save it to make newlines appear while reviewing.

At all times when this feature is turned on, the previewer displays newlines from the Note Editor. Thus, in the previous example, you might see newlines in the previewer that you don't see while reviewing the same card.
--

Input Workaround ::
Some older devices couldn't gain focus into the text input box for typed-answer fields, so this was added (Hidden for API > 14).

Expand Down