Skip to content

publish_plugins

CustomCommentTemplateModel

Bases: BaseSettingsModel

Kitsu supports markdown and here you can create a custom comment template.

You can use data from your publishing instance's data.

Source code in server/settings/publish_plugins.py
83
84
85
86
87
88
89
90
91
92
class CustomCommentTemplateModel(BaseSettingsModel):
    """Kitsu supports markdown and here you can create a custom comment template.

    You can use data from your publishing instance's data.
    """

    enabled: bool = SettingsField(True)
    comment_template: str = SettingsField(
        "", widget="textarea", title="Custom comment"
    )