diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-04-20 14:51:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 14:51:24 +0200 |
commit | 8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe (patch) | |
tree | b6e64c7589c7a5138116acd65c1515ef28bea5b9 /shared/models/plugins | |
parent | 2fd59d7d89d1c389446ee67838c821e2622fc8ca (diff) | |
download | PeerTube-8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe.tar.gz PeerTube-8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe.tar.zst PeerTube-8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe.zip |
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>
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/register-server-setting.model.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/plugins/register-server-setting.model.ts b/shared/models/plugins/register-server-setting.model.ts index 45d79228d..ec175e9ef 100644 --- a/shared/models/plugins/register-server-setting.model.ts +++ b/shared/models/plugins/register-server-setting.model.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | export interface RegisterServerSettingOptions { | 1 | export interface RegisterServerSettingOptions { |
2 | name: string | 2 | name: string |
3 | label: string | 3 | label: string |
4 | type: 'input' | 'input-checkbox' | 'input-textarea' | 4 | type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' |
5 | 5 | ||
6 | // If the setting is not private, anyone can view its value (client code included) | 6 | // If the setting is not private, anyone can view its value (client code included) |
7 | // If the setting is private, only server-side hooks can access it | 7 | // If the setting is private, only server-side hooks can access it |