Verified Commit 42760de6 authored by Chocobozzz's avatar Chocobozzz
Browse files

Add markdown support in hello plugin

parent ed3ac5bd
......@@ -43,6 +43,9 @@ function register ({ registerHook, peertubeHelpers }) {
}
})
peertubeHelpers.markdownRenderer.textMarkdownToHTML('**My Bold Text**')
.then(v => console.log(v))
}
export {
......
......@@ -48,6 +48,13 @@ async function register ({
private: false
})
registerSetting({
name: 'my-markdown-area',
label: 'Markdown text',
type: 'markdown-text',
default: false
})
const value = await storageManager.getData('toto')
console.log(value)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment