feat: rendering pipeline logic
This commit is contained in:
1 parent
0b93544677
commit
09d1f580d9
39 files changed
+210
-86
No files matched your search
@@ -0,0 +1,14 @@
|
||||
const mdExpandTabs = require('markdown-it-expand-tabs')
|
||||
const _ = require('lodash')
|
||||
|
||||
// ------------------------------------
|
||||
// Markdown - Expand Tabs
|
||||
// ------------------------------------
|
||||
|
||||
module.exports = {
|
||||
init (md, conf) {
|
||||
md.use(mdExpandTabs, {
|
||||
tabWidth: _.toInteger(conf.tabWidth || 4)
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user