* startrefactoring the event system
* refactor: blockquotes, code blocks and links refactored
* refactor codeblock to new event system
* refactor subparser until ghcode to new events
* finish adating ghcodeblock to new event
* add headings to new events
* add image to event system
* add emphasisAndStrong to event system
* fix wrong event name in emphasisAndStrong onEnd event
* spanGamut and build
* showdown.helper.event refactored to showdown.Event
* partial
* add links
* add metadata
* add strikethrough and table
* build
* add underline
* add unescapeSpecialChars
* small refactoring
* remove old tables parser
* add lists
* add simple event trigger tests
* build
* fix browserstack
* fix browserstack
* remove testing for ie11 and bumped firefox min version to 45
* fixes and closes#920
* build
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
Currently, only adds the class `task-list-item-complete` to completed tasks items in GFM tasklists.
But in the future, each time a css class is deemed to be necessary, should be added under this umbrella
option.
Closes#540
This is a major refactor of the links subparser, previously known as anchors subparser.
Closes#355, #534
BREAKING CHANGE: `excludeTrailingPunctuationFromURLs` option was removed. This is now the default behavior
This feature was seen as a bit "duh!" since midword asterisks are not really a thing and, for these situations, you can simply escape the asterisk character.
Closes#499
BREAKING CHANGE: literalMidWordAsterisks option was removed and so asterisks will always retain their markdown magic meaning in a source text.
If you're using this feature, and you wish to retain this option, you can find a shim here: <https://gist.github.com/tivie/7f8a88c89ffb00d2afe6c59a25528386>