refactor: renderers + auth providers + fixes

This commit is contained in:
NGPixel committed 2018-01-14 22:05:08 -05:00
1 parent 24fc806b0e
commit 74bd722168
41 files changed
+466 -768

No files matched your search

@@ -0,0 +1,18 @@
const mdExpandTabs = require('markdown-it-expand-tabs')
const _ = require('lodash')
// ------------------------------------
// Markdown - Expand Tabs
// ------------------------------------
module.exports = {
key: 'markdown/expand-tabs',
title: 'Expand Tabs',
dependsOn: [],
props: ['tabWidth'],
init (md, conf) {
md.use(mdExpandTabs, {
tabWidth: _.toInteger(conf.tabWidth || 4)
})
}
}