Add markdown support to plugins (#2654)

* Add markdown renderer to plugins

* Chore: add doc for markdown plugins

* Fix typing markdown plugin helpers

* Add lines between components in template

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
This commit is contained in:
Kim
2020-04-20 14:51:24 +02:00
committed by GitHub
parent 2fd59d7d89
commit 8c7725dc3c
5 changed files with 51 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
export interface RegisterServerSettingOptions {
name: string
label: string
type: 'input' | 'input-checkbox' | 'input-textarea'
type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced'
// If the setting is not private, anyone can view its value (client code included)
// If the setting is private, only server-side hooks can access it