mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Updated Sharing (markdown)
parent
a495e3c214
commit
8c96681961
12
Sharing.md
12
Sharing.md
@ -1,4 +1,4 @@
|
||||
Since v0.49 Trilium offers a feature to share selected notes as publicly accessible read only documents.
|
||||
Trilium provides a feature to share selected notes as publicly accessible read only documents.
|
||||
|
||||
The basic prerequisite for this feature is to have a [[server installation]] - this is where the notes will be hosted from.
|
||||
|
||||
@ -72,6 +72,16 @@ You can define a custom favicon used for shared pages by create a relation `~sha
|
||||
|
||||
You can add the `#shareRoot` attribute to a folder or note, and it will be linked when you visit http://domain/share. This can make it easier to use Trilium as a fully-fledged website because you can create a note to act as a "home-page".
|
||||
|
||||
### Protecting shared notes with a password
|
||||
|
||||
It is possible to optionally protect shared notes with credentials.
|
||||
|
||||
To do that, create a label in the format `#shareCredentials="username:password"` to a note which you want to protect. Typically you want to make the whole sub-tree protected like that, so don't forget to make this label inheritable.
|
||||
|
||||
Keep in mind that the default state is public, so make sure everything you need to protect has this label (either owned or inherited).
|
||||
|
||||
Password-protecting shared notes is available since 0.54.
|
||||
|
||||
### Other options
|
||||
|
||||
* if a note has `#shareRaw` label, the note will be shared raw, without HTML wrapper
|
||||
|
Loading…
x
Reference in New Issue
Block a user