<p>SQL queries or commands can be saved into a dedicated note.</p>
<p>To do so, simply write the query and press the
<imgsrc="2_SQL Console_image.png">button. Once saved, the note will appear in<ahref="../../Advanced%20Showcases/Day%20Notes.html">Day Notes</a>.</p>
<imgsrc="2_SQL Console_image.png">button. Once saved, the note will appear in <ahref="../../Advanced%20Showcases/Day%20Notes.html">Day Notes</a>.</p>
<ul>
<li>The SQL expression will not be displayed by default, but it can still
be viewed by going to the note context menu and selecting <em>Note source</em>.</li>
<p>Their website is <ahref="https://ckeditor.com/">ckeditor.com</a>.</p>
<p>CKEditor by itself is a commercial product, but the core is open-source.
As described in <ahref="https://ckeditor.com/docs/ckeditor5/latest/features/index.html">its documentation</a>,
@ -37,7 +37,7 @@
by us to fit our needs.</li>
<li>We also make use of modified upstream plugins such as <ahref="https://github.com/ckeditor/ckeditor5-mermaid">ckeditor/ckeditor5-mermaid</a> to
allow inline Mermaid code.</li>
<li><ahref="https://github.com/mlewand/ckeditor5-keyboard-marker">mlewand/ckeditor5-keyboard-marker: Plugin adds support for the keyboard input element (<kbd>) to CKEditor 5.</a>
<li><ahref="https://github.com/mlewand/ckeditor5-keyboard-marker">mlewand/ckeditor5-keyboard-marker: Plugin adds support for the keyboard input element (<code><kbd></code>) to CKEditor 5.</a>
</li>
<li>A modified version of <ahref="https://github.com/ThomasAitken/ckeditor5-footnotes">ThomasAitken/ckeditor5-footnotes: Footnotes plugin for CKEditor5</a> to
<li><kbd><span>↑</span></kbd>, <kbd><span>↓</span></kbd> - go up/down in the
list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↑</span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↓</span></kbd>work
list of notes, <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↑</span></kbd> and <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd><span>↓</span></kbd> work
<p>When exporting to PDF, there are no customizable settings such as page
orientation, size, etc. However, it is possible to specify a given note
to be printed as a PDF in landscape mode by adding the <code>#printLandscape</code> attribute
to it (see<ahref="#root/9QRytp0ZYFIf/PnO38wN0ffOA">[missing note]</a>).</p>
to it (see <ahref="#root/9QRytp0ZYFIf/PnO38wN0ffOA">[missing note]</a>).</p>
<h2>Page size</h2>
<p>By default, the resulting PDF will be in Letter format. It is possible
to adjust it to another page size via the <code>#printPageSize</code> attribute,
with one of the following values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</p>
<h2>Keyboard shortcut</h2>
<p>It's possible to trigger the export to PDF from the keyboard by going
to<em>Keyboard shortcuts</em>and assigning a key combination for the <code>exportAsPdf</code> action.</p>
to <em>Keyboard shortcuts</em> and assigning a key combination
<p>A Note map is a note type which displays a standalone version of the feature
of the same name: <aclass="reference-link"href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map (Link map, Tree map)</a>.</p>
of the same name: <a href="../Advanced%20Usage/Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map (Link map, Tree map)</a>.</p>
<p>Once created, the note map will display the relations between notes. Only
the notes that are part of the parent of the note map will be displayed
<p>Currently the only way to include a custom font is to use<ahref="../Advanced%20Usage/Custom%20Resource%20Providers.html">Custom resource providers</a>.
<p>Currently the only way to include a custom font is to use <ahref="../Advanced%20Usage/Custom%20Resource%20Providers.html">Custom resource providers</a>.
Basically import a font into Trilium and assign it <code>#customResourceProvider=fonts/myfont.ttf</code> and
then import the font in CSS via <code>/custom/fonts/myfont.ttf</code>.</p>