Trilium extensionsΒΆ

A number of helper classes are provided for facilitating development of extensions. See trilium_alchemy.lib.extension_types for a full list.

For example, to create a template called Task:

class Task(BaseTemplateNote):
    icon = "bx bx-task"

This is equivalent to:

@label("template")
@label("iconClass", "bx bx-task")
class Task(BaseDeclarativeNote):
    pass