# Sharing
Trilium allows you to share selected notes as **publicly accessible** read-only documents. This feature is particularly useful for publishing content directly from your Trilium notes, making it accessible to others online.

| Supported features | Limitations | |
|---|---|---|
| Text |
|
|
| Code |
|
|
| Saved Search | Not supported. | |
| Relation Map | Not supported. | |
| Note Map | Not supported. | |
| Render Note | Not supported. | |
| Collections |
|
|
| Mermaid Diagrams |
|
|
| Canvas |
|
|
| Web View | Not supported. | |
| Mind Map | The diagram is displayed as a vector image. |
|
| Geo Map | Not supported. | |
| File | Basic interaction (downloading the file). |
|
| Attribute | Description |
|---|---|
#shareHiddenFromTree | this note is hidden from left navigation tree, but still accessible with its URL |
#shareExternalLink | note will act as a link to an external website in the share tree |
#shareAlias | define an alias using which the note will be available under https://your_trilium_host/share/[your_alias] |
#shareOmitDefaultCss | default share page CSS will be omitted. Use when you make extensive styling changes. |
#shareRoot | marks note which is served on /share root. |
#shareDescription | define text to be added to the HTML meta tag for description |
#shareRaw | Note will be served in its raw format, without HTML wrapper. See also Serving directly the content of a note for an alternative method without setting an attribute. |
#shareDisallowRobotIndexing | Indicates to web crawlers that the page should not be indexed of this note by:
|
#shareCredentials | require credentials to access this shared note. Value is expected to be in format username:password. Don't forget to make this inheritable to apply to child-notes/images. |
#shareIndex | Note with this label will list all roots of shared notes. |
#shareHtmlLocation | defines where custom HTML injected via ~shareHtml relation should be placed. Applied to the HTML snippet note itself. Format: location:position where location is head, body, or content and position is start or end. Defaults to content:end. |