Skip to content

Sharing theme for Trilium Note. Can also be used for paper page.

License

Notifications You must be signed in to change notification settings

Potjoe-97/Trilium-share.css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Share.CSS

Sharing theme for Trilium Note. Can also be used for paper page.

This fork added title enumeration and Print css for better printing layout.

Screenshot

  • Before: Origin

  • After: Origin tree

How to use

  1. import src/share.css and src/print.css in trilium
  2. clone the notes into your Sharing Tree
  3. add two ~shareCss relations, pointing to the share.css and the print.css code notes which will be linked in the shared page
    1. 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.
    2. 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

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>

Like this

Contribute

Welcome PR

Thx

About

Sharing theme for Trilium Note. Can also be used for paper page.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%