Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): mention virtual keyboard behavior for code notes
Elian Doran96c271a3795b
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.htmlindex 1f16834ed3..de2a0f92ea 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Code.html@@ -106,5 +106,19 @@not changed by Trilium (unlike text notes which have <a class="reference-link"href="#root/_help_oI7GoyilXXAr">Automatic replacements</a>), and copyingit out gives you back <code>!=</code> and <code>-></code>.</p>-<p>This can be turned off with <a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a><em>→ Appearance → Fonts → Programming ligatures.</em>-</p>\ No newline at end of file+<p>This can be turned off with <a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a><em>→ Appearance → Fonts → Programming ligatures</em>.</p>+<h2>Virtual keyboard behavior</h2>+<p>When using a virtual keyboard, keyboard suggestions and corrections are+ controlled as follows:</p>+<ul>+ <li>For <a class="reference-link" href="#root/_help_6RM1Q7ppFVoj">Markdown</a> and+ plain text code notes, the autocorrect is <strong>on</strong>, as well as+ automatic capitalization.</li>+ <li>For all the other code notes, the autocorrect is off in order to avoid+ issues when typing code.</li>+</ul>+<aside class="admonition note">+ <p>Not all browsers and platforms respect this value, so the keyboard suggestions+ might appear without autocorrecting or the browser might disregard this+ and autocorrect anyway.</p>+</aside>\ No newline at end of filediff --git a/docs/User Guide/User Guide/Note Types/Code.md b/docs/User Guide/User Guide/Note Types/Code.mdindex 3b116dcd2f..0ada2af7b8 100644--- a/docs/User Guide/User Guide/Note Types/Code.md+++ b/docs/User Guide/User Guide/Note Types/Code.md@@ -72,4 +72,14 @@ Since Trilium 0.94.0 the colors of code notes can be customized by going <a claIf you see `!=` displayed as `≠` or `->` as `→` inside a code note, those are _font ligature_: the default monospace font draws certain character pairs as a single symbol. The underlying text is not changed by Trilium (unlike text notes which have <a class="reference-link" href="Text/Automatic%20replacements.md">Automatic replacements</a>), and copying it out gives you back `!=` and `->`.-This can be turned off with <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>_→ Appearance → Fonts → Programming ligatures._\ No newline at end of file+This can be turned off with <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a>_→ Appearance → Fonts → Programming ligatures_.++## Virtual keyboard behavior++When using a virtual keyboard, keyboard suggestions and corrections are controlled as follows:++* For <a class="reference-link" href="Markdown.md">Markdown</a> and plain text code notes, the autocorrect is **on**, as well as automatic capitalization.+* For all the other code notes, the autocorrect is off in order to avoid issues when typing code.++> [!NOTE]+> Not all browsers and platforms respect this value, so the keyboard suggestions might appear without autocorrecting or the browser might disregard this and autocorrect anyway.\ No newline at end of file