trilium_alchemy.lib.note_types

Defines basic note types.

Class index

Canonical

CodeNote

Defines a code note.

CssNote

Defines a CSS note.

HtmlNote

Defines a HTML note.

JsBackendNote

Defines a backend script.

JsFrontendNote

Defines a frontend script.

TextNote

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