Share.CSS
January 9, 2023 ยท View on GitHub
Sharing theme for Trilium Note. Can also be used for paper page.
Screenshot
-
Before:

-
After:

How to use
- copy
src/share.cssand create a new note - clone this note into your Sharing Tree
- add a ~shareCss relation to the share.css code note which will be linked in the shared page
- in case you want this to apply to the whole subtree, 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 note.
See the Trilium wiki for more information
For paper page
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>
Contribute
Welcome PR