2018-10-21 03:18:58 +00:00
|
|
|
const { doc, type, defaultValue } = require('../common/utils').descriptors;
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
[type]: 'object',
|
|
|
|
[doc]: 'Article display settings',
|
|
|
|
highlight: {
|
|
|
|
[type]: 'string',
|
2018-11-24 07:26:51 +00:00
|
|
|
[doc]: 'Code highlight theme\nhttps://github.com/highlightjs/highlight.js/tree/master/src/styles',
|
2018-10-21 03:18:58 +00:00
|
|
|
[defaultValue]: 'atom-one-light'
|
|
|
|
},
|
|
|
|
thumbnail: {
|
|
|
|
[type]: 'boolean',
|
|
|
|
[doc]: 'Whether to show article thumbnail images',
|
|
|
|
[defaultValue]: true
|
|
|
|
},
|
|
|
|
readtime: {
|
|
|
|
[type]: 'boolean',
|
|
|
|
[doc]: 'Whether to show estimate article reading time',
|
|
|
|
[defaultValue]: true
|
|
|
|
}
|
|
|
|
};
|