keystone
Version:
Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose
21 lines (20 loc) • 437 B
JavaScript
module.exports = {
Field: require('../MarkdownField'),
Filter: require('../MarkdownFilter'),
readme: require('fs').readFileSync('./fields/types/markdown/Readme.md', 'utf8'),
section: 'Text',
spec: {
label: 'Markdown',
path: 'markdown',
paths: {
html: 'markdown.html',
md: 'markdown.md',
},
wysiwyg: true,
toolbarOptions: {},
value: {
html: '<p><em>Hello World!</em></p>',
md: '*Hello World!*',
},
},
};