trilium_alchemy.lib.note_types
¶
Defines basic note types.
Class index¶
Canonical
Defines a |
|
Defines a CSS note. |
|
Defines a HTML note. |
|
Defines a backend script. |
|
Defines a frontend script. |
|
Defines a text note. |
Symbols¶
- class trilium_alchemy.lib.note_types.CodeNote¶
Bases:
trilium_alchemy.core.declarative.base.BaseDeclarativeNote
Aliases:
trilium_alchemy.CodeNote
trilium_alchemy.lib.CodeNote
Defines a
code
note.- note_type_¶
"code"
- icon¶
"bx bx-code"
- class trilium_alchemy.lib.note_types.CssNote¶
Bases:
trilium_alchemy.lib.note_types.CodeNote
Aliases:
trilium_alchemy.CssNote
trilium_alchemy.lib.CssNote
Defines a CSS note.
- mime_¶
"text/css"
- icon¶
"bx bxs-file-css"
- note_type_¶
"code"
Inherited from:
trilium_alchemy.lib.note_types.CodeNote
- class trilium_alchemy.lib.note_types.HtmlNote¶
Bases:
trilium_alchemy.lib.note_types.CodeNote
Aliases:
trilium_alchemy.HtmlNote
trilium_alchemy.lib.HtmlNote
Defines a HTML note.
- mime_¶
"text/html"
- icon¶
"bx bxs-file-html"
- note_type_¶
"code"
Inherited from:
trilium_alchemy.lib.note_types.CodeNote
- class trilium_alchemy.lib.note_types.JsBackendNote¶
Bases:
trilium_alchemy.lib.note_types.CodeNote
Aliases:
trilium_alchemy.JsBackendNote
trilium_alchemy.lib.JsBackendNote
Defines a backend script.
- mime_¶
"application/javascript;env=backend"
- icon¶
"bx bxl-javascript"
- note_type_¶
"code"
Inherited from:
trilium_alchemy.lib.note_types.CodeNote
- class trilium_alchemy.lib.note_types.JsFrontendNote¶
Bases:
trilium_alchemy.lib.note_types.CodeNote
Aliases:
trilium_alchemy.JsFrontendNote
trilium_alchemy.lib.JsFrontendNote
Defines a frontend script.
- mime_¶
"application/javascript;env=frontend"
- icon¶
"bx bxl-javascript"
- note_type_¶
"code"
Inherited from:
trilium_alchemy.lib.note_types.CodeNote
- class trilium_alchemy.lib.note_types.TextNote¶
Bases:
trilium_alchemy.lib.note_types.CodeNote
Aliases:
trilium_alchemy.TextNote
trilium_alchemy.lib.TextNote
Defines a text note.
- mime_¶
"text/plain"
- icon¶
"bx bx-text"
- note_type_¶
"code"
Inherited from:
trilium_alchemy.lib.note_types.CodeNote