Sharing theme for Trilium Note. Can also be used for paper page.
This fork added title enumeration and Print css for better printing layout.
- import
src/share.css
andsrc/print.css
in trilium - clone the notes into your Sharing Tree
- add two ~shareCss relations, pointing to the share.css and the print.css code notes which will be linked in the shared page
- in case you want this to apply to the whole subtree, add the ~shareCss relations to the top level "Shared Notes" note in your Sharing Tree. Don't forget to make the label inheritable.
- If you want to hide this css code note from left tree navigation, add #shareHiddenFromTree label to the CSS code notes.
See the Trilium wiki for more information
This theme can also be used for page which have the fixed structure like this:
<body>
<div id="layout">
<div id="main">
<h1 id="title">...</h1>
<div id="content">
<p>...</p>
</div>
</div>
</div>
</body>
Welcome PR