feat(lessons): Add lessons modules
This commit is contained in:
committed by
Benedikt Rötsch
parent
1875c99a4c
commit
62ecdfe60c
@@ -2,6 +2,7 @@ const marked = require('marked')
|
||||
|
||||
// Parse markdown text
|
||||
exports.markdown = (content) => {
|
||||
content = content || ''
|
||||
return marked(removeIvalidDataURL(content), {sanitize: true})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user