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(render): say how a render note prints when it is not on screen
Elian Doranee440d80546f
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.htmlindex 789e443533..cae003429e 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Render Note.html@@ -91,6 +91,10 @@ $dateEl.text(new Date());</code></pre><li>To adjust the layout for printing, use a <code>~printCss</code> relation.</li><li>The light colors are used for printing, whatever the current theme.</li></ul>+<p>When a render note is printed as part of a <a class="reference-link" href="#root/_help_mULW0Q3VojwY">List View</a> collection,+ or from another view such as its attachments, it is not on screen, so its+ script runs again for the print. In a collection, the output is printed+ without the note's own styles.</p><h2>Examples</h2><ul><li><a class="reference-link" href="#root/_help_R7abl2fc6Mxi">Weight Tracker</a> whichdiff --git a/docs/User Guide/User Guide/Note Types/Render Note.md b/docs/User Guide/User Guide/Note Types/Render Note.mdindex c75f7a6a01..db9a09da70 100644--- a/docs/User Guide/User Guide/Note Types/Render Note.md+++ b/docs/User Guide/User Guide/Note Types/Render Note.md@@ -76,6 +76,8 @@ A render note can be printed or exported as PDF from the <a class="reference-lin* To adjust the layout for printing, use a `~printCss` relation.* The light colors are used for printing, whatever the current theme.+When a render note is printed as part of a <a class="reference-link" href="../Collections/List%20View.md">List View</a> collection, or from another view such as its attachments, it is not on screen, so its script runs again for the print. In a collection, the output is printed without the note's own styles.+## Examples* <a class="reference-link" href="../Advanced%20Usage/Advanced%20Showcases/Weight%20Tracker.md">Weight Tracker</a> which is present in the <a class="reference-link" href="../Advanced%20Usage/Database/Demo%20Notes.md">Demo Notes</a>.\ No newline at end of file