@ -61,7 +61,7 @@ readFile(options.file, 'utf8', function (error, input) {
process.exit(1);
}
md = new Remarkable({
md = new Remarkable('full', {
html: true,
xhtmlOut: true,
typographer: true,
@ -22,7 +22,7 @@ module.exports = {
components: {
block: {
/*rules: [
rules: [
'blockquote',
'code',
'fences',
@ -33,11 +33,11 @@ module.exports = {
'list',
'paragraph',
'table'
]*/
]
},
inline: {
'autolink',
'backticks',
'del',
@ -49,7 +49,7 @@ module.exports = {
'links',
'newline',
'text'
typographer: {
@ -14,6 +14,7 @@ var Linkifier = require('./linkifier');
var config = {
'default': require('./configs/default'),
full: require('./configs/full'),
commonmark: require('./configs/commonmark')
};
@ -10,7 +10,7 @@ var Remarkable = require('../');
describe('remarkable', function () {
var md = new Remarkable({
var md = new Remarkable('full', {
langPrefix: '',