add options
michael-ciniawsky opened this issue · 0 comments
michael-ciniawsky commented
const sugarml = require('posthtml-sugarml')
/**
* pretty {Boolean} Add whitespace and '\n'
* location {Boolean} Enable/Disable node.location
*/
const options = { pretty: true, location: false }
posthtml([]).process('file.sml', { parser: sugarml(options) })