This release moves some of the most popular extensions (such as table-extension and github-extension) to core.
Also introduces a simple cli tool that you can use to quickly convert markdown files into html.
Bug Fixes
- headerLevelStart: fix for NaN error when specifying a non number as headerLevelStart param (be72b487)
Features
-
CLI: simple cli tool (ALPHA) (f6a33e40)
More info on CLI wiki page
-
flavours: add markdown presets/flavors (7e55bceb, closes #164)
You can set showdown to use a specific flavor by calling the method
setFlavor(flavor)
either on showdown namespace or the converter object itself.showdown.setFlavor('github'); // or var conv = new showdown.Converter().setFlavor('github');
-
ghCodeBlocks: add option to disable GH codeblocks (c33f9888)
-
literalMidWordUnderscores: add support for GFM literal midword underscores (0c0cd7db)
-
simplifiedAutoLink: add support for GFM autolinks (cff02372)
-
strikethrough: add support for GFM strikethrough (43e9448d)
-
tables: add support for GFM tables (3a924e3c)
-
tasklists: add support for GFM tasklists (dc72403a)
Breaking changes
This release deprecates both table-extension and github-extension as those are bundled in core now.
To update you just need to activate the appropriate options:
- table-extension:
var conv = new showdown.Converter({tables: true});
- github-extension:
`var conv = new showdown.Converter().setFlavor('github');