Estevão Soares dos Santos
9dab0826c6
improve commonmark compliance
2022-11-15 04:31:13 +00:00
Estevão Soares dos Santos
150c4c36cb
Merge branch 'develop' into 922-commonmark-compliance
...
# Conflicts:
# src/subParsers/makehtml/heading.js
# test/functional/makehtml/cases/features/#320.github-compatible-generated-header-id.html
# test/functional/makehtml/cases/features/#320.github-compatible-generated-header-id.md
2022-11-15 04:01:01 +00:00
Estevão Soares dos Santos
42959b78c1
headings compliance
2022-11-15 02:52:24 +00:00
Barry Pollard
4333646c8c
fix(subParsers): strip international punctuation from github headers ( #950 )
2022-11-14 18:47:36 +00:00
Estevão Soares dos Santos
aa12eabf1d
several compliance fixes
...
Closes #191
2022-05-09 01:48:53 +01:00
Estevão Soares dos Santos
fb31f631e9
improve commonmark compliance
2022-04-28 08:38:48 +01:00
Estevão Soares dos Santos
9f8c7199ea
feat(makehtml.events): implements event system refactor for converter.makeHtml ( #919 )
...
* 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
2022-04-27 21:42:24 +01:00
Swain
0d3ca4da5a
fix(metadata): allow whitespaces after closing marks
...
Co-authored-by: Estevão Soares dos Santos <estevao.santos@gmail.com>
2022-03-25 20:55:19 +00:00
Estevao Soares dos Santos
8cecdf0382
fix(lists): codeblocks inside lists are now correctly parsed
...
Closes #494
2022-02-25 01:06:09 +00:00
Estevao Soares dos Santos
5e0ed809db
feat(moreStyling): add some useful classes for css styling
...
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
2022-02-24 01:57:08 +00:00
Vladimir Vuksanovic
ac1047815f
fix(lists): Fix tasklists to comply with GFM
...
GFM requires a whitespace between brackets.
Closes #655
2021-11-14 13:37:38 -07:00
Marco Montalbano
8e2b339fe2
fix(helpers): update github flavored emoji to the latest ( #837 )
2021-11-14 13:23:03 -07:00
Thomas P
5544e4d995
fix(helpers): update octocat emoji image location; add tests
2021-11-14 13:17:19 -07:00
Devyn S
d5cc678941
Merge pull request #875 from showdownjs/develop
...
Develop
2021-11-12 10:05:38 -07:00
Devyn S
6efd75cb83
Merge pull request #731 from VladimirV99/ellipsis
...
feature(ellipsis): Add option to disable ellipsis
2021-11-12 09:58:50 -07:00
Sam Harrison
e3a5b5928f
feat(relativePathBaseUrl): Add support for prepending a base URL
...
This feature enables support for prepending a base URL to relative paths in
links and images when converting Markdown to HTML.
Closes #536
2021-11-09 23:34:42 -07:00
Jammerware
caab5bb7bc
fix: Add rel="noopener noreferrer" to links when openLinksInNewWindow is on
...
Add rel="noreferrer" to links when openLinksInNewWindow is on. Also add noopener when openLinksInNewWindow is on.
Closes #670
2019-11-02 18:58:07 +00:00
Vladimir Vuksanovic
5d494c8202
feature(ellipsis): Add option to disable ellipsis
...
Add ability to disable ellipsis parser.
This is needed for some use cases. See #634
Defaults to true to keep backwards compatibility.
2019-10-04 16:45:27 +02:00
Estevao Soares dos Santos
6ee6d8c9d9
rebuild
2018-10-24 03:27:16 +01:00
Vladimir Vuksanovic
4378abb4fa
fix(italicsAndBold): Make italicsAndBold lazy ( #608 )
...
fix italicsAndBold if literalMidwordUnderscores option is enabled
it should end at the nearest closing underscores, not the furthest
Closes #544
2018-10-24 03:23:28 +01:00
Vladimir Vuksanovic
81edc70da7
fix(underline): Make underline lazy
...
fix underline if literalMidwordUnderscores option is enabled
it should end at the nearest closing underscores, not the furthest
2018-10-21 15:20:39 +02:00
Estevao Soares dos Santos
d3ebff7ef0
fix(links): a number of issues with links subparser
...
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
2018-09-25 04:04:59 +01:00
Estevao Soares dos Santos
f46479b4ee
chore: update readme and add TASKS.TODO.md
2018-09-16 03:45:07 +01:00
Estevao Soares dos Santos
2ba00751cc
fix(mentions): allow for usernames with dot, underscore and dash
...
Closes #574
2018-09-14 17:03:07 +01:00
Estevao Soares dos Santos
05ef5c55dc
refactor(event dispatcher): make event dispatcher return an object instead of text
2018-09-14 14:10:15 +01:00
maxwellito
55f22de0a0
fix: compress showdown emoji
...
* fix showdown emoji compression
* test: fix functional test
2018-05-07 19:27:19 +01:00
Estevao Soares dos Santos
94aa3e53ca
test: add tests for reverse converter
2017-12-23 12:35:31 +00:00