Commit Graph

899 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
480e4c0a95 spanGamut and build 2022-04-03 04:03:36 +01:00
Estevão Soares dos Santos
05b84f2929 fix wrong event name in emphasisAndStrong onEnd event 2022-04-02 22:34:17 +01:00
Estevão Soares dos Santos
6bb0d01e5a add emphasisAndStrong to event system 2022-04-02 22:33:12 +01:00
Estevão Soares dos Santos
491ec7210b add image to event system 2022-04-02 21:50:38 +01:00
Estevão Soares dos Santos
a5f0da465b add headings to new events 2022-04-01 15:55:47 +01:00
Estevão Soares dos Santos
be8d467501 finish adating ghcodeblock to new event 2022-03-31 07:36:52 +01:00
Estevão Soares dos Santos
9390f68682 refactor subparser until ghcode to new events 2022-03-31 07:33:08 +01:00
Estevão Soares dos Santos
954e065193 refactor codeblock to new event system 2022-03-31 05:35:50 +01:00
Estevão Soares dos Santos
997adada9d Merge branch 'develop' into event_refactor
# Conflicts:
#	.eslintrc.json
#	docs/event_system.md
#	test/unit/showdown.Converter.js
2022-03-31 05:00:21 +01:00
Estevão Soares dos Santos
a9ee330ac2 Merge branch 'develop' of github.com:showdownjs/showdown into develop 2022-03-31 02:44:42 +01:00
Estevão Soares dos Santos
e098ec684c test: fix name of browserstack name being too long 2022-03-31 02:44:15 +01:00
Estevao Soares dos Santos
84112c1f14 refactor: blockquotes, code blocks and links refactored 2022-03-31 02:00:56 +01:00
Antonio
010f94fd04 docs: added create extension page 2022-03-31 01:29:59 +03:00
Antonio
d11e5cf6e0 docs: added extensions overview page 2022-03-30 23:35:17 +03:00
Antonio
bdddfb9131 docs: added page describing markdown's xss vulnerability 2022-03-30 21:29:13 +03:00
Antonio
568445fa43 docs: added integrations 2022-03-30 20:12:35 +03:00
Antonio
6e6dde5c55 docs: added page describing cli tool 2022-03-30 02:13:37 +03:00
Antonio
8d9b8f2f92 docs: added page about flavors 2022-03-30 01:27:06 +03:00
Antonio
a1bb3e0a9b docs: sort showdown options alphabetically 2022-03-28 22:18:38 +03:00
Antonio
24016bfd0b docs: added page describing options supported by showdown 2022-03-28 21:54:41 +03:00
Antonio
5efc75d894 Merge branch 'develop' of github.com:showdownjs/showdown into develop 2022-03-28 21:52:54 +03:00
Antonio
b3dac51d9e
test: removed redundant path-ignore (#906) 2022-03-28 16:28:56 +01:00
Antonio
8a959a6ddd docs: added showdown configuration document 2022-03-28 01:59:41 +03:00
Estevão Soares dos Santos
29538dda96 test: add commit msg as browserstack test name
This lines are just for testing purposes to see if everything in the msg is grabbed or only the first part of the message.
2022-03-27 22:33:06 +01:00
Estevão Soares dos Santos
2715e76471 test: fix browserstack workflow(build-name) 2022-03-27 04:16:12 +01:00
Estevão Soares dos Santos
eb4b78ac66 test: fix browserstack workflow(build-name) 2022-03-27 04:13:12 +01:00
Estevão Soares dos Santos
cd83919bff test: fix browserstack workflow(build-name) 2022-03-27 04:02:21 +01:00
Estevão Soares dos Santos
fab6987e56 test: fix browserstack workflow 2022-03-27 03:59:45 +01:00
Estevão Soares dos Santos
f37113adca test: split build by commits in browserstack 2022-03-27 03:54:45 +01:00
Estevão Soares dos Santos
6a86880bbe chore: fix mix github actions problems 2022-03-27 03:33:01 +01:00
Estevão Soares dos Santos
788e329d6e test: fix cli test to work with named versions 2022-03-27 02:17:48 +01:00
Estevão Soares dos Santos
17bcd56eae test: add project name and build to browserstack 2022-03-27 00:40:11 +00:00
Estevão Soares dos Santos
0839b3a556 bump version to 3.0.0-alpha 2022-03-27 00:35:47 +00:00
Estevão Soares dos Santos
c45d66d974 try: fix github browserstack action 2022-03-27 00:25:36 +00:00
Estevão Soares dos Santos
f85d82fb23 try: fix github browserstack action 2022-03-27 00:17:58 +00:00
Estevão Soares dos Santos
691487f8c0 try: fix github browserstack action 2022-03-27 00:15:12 +00:00
Estevão Soares dos Santos
b0bb58d954 try: fix github browserstack action 2022-03-27 00:13:16 +00:00
Estevão Soares dos Santos
1f15a18adb try: fix browserstack github action 2022-03-27 00:08:22 +00:00
Estevão Soares dos Santos
9a3e714b2c test: implement karma and browserstack tests 2022-03-27 00:05:30 +00:00
Estevão Soares dos Santos
db571fbaac fix: tables parse correctly with new version of jsdom 2022-03-26 04:34:50 +00:00
Chris
5fc843e175
feat(makemarkdown.table): support non-strict tables
* feat(makemarkdown.table): support non-strict tables

change to support non strict html tables.
currently html tables require both 'thead' and 'tbody' to be set.
since there are many tables out there that dont meet these requirements,
i added support for most common tables. all of the following tables will now
work (the last one, is the only version that is currently working):
<table><tr><td>t 0 - missing thead/tbody</td></tr></table>
<table><tr><td>t 1 - missing thead/tbody</td></tr><tr><td>t 1 body</td></tr></table>
<table><thead><tr><th>t 2 - thead only</th></tr></thead></table>
<table><thead><tr><td>t 3 - thead with td</td></tr></thead></table>
<table><tbody><tr><td>t 4 - tbody only</td></tr></tbody></table>
<table><thead><tr><th>t 5 - both thead and tbody</th></tr></thead><tbody><tr><td>t 5</td></tr></tbody></table>
i thought this feature should be made optional in case you only want
to support fully compliant tables. but then i realized, that the options
are only passed to the markdown subparsers, not the html ones.
and since this does not break anything (all tests pass), its ok, i guess...

Closes #687

* refactor: code refactor and added tests

Co-authored-by: Estevão Soares dos Santos <estevao.santos@gmail.com>
2022-03-26 04:18:05 +00:00
chandi
949c2bcf86
fix(email): now email address obfuscation always returns the same output
* feat(helpers): determined results for email address obfuscation

email address is used as the seed, so it should always provide the same result for a given mail.
utilizes a random number generator shown here: https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript/47593316#47593316

* feat(helpers): added Math.imul() support for older browsers

Co-authored-by: Estevão Soares dos Santos <estevao.santos@gmail.com>
2022-03-26 00:31:41 +00: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
CommanderRoot
3eff10bbbf
refactor: replace deprecated String.prototype.substr() (#902)
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-25 20:18:41 +00:00
Antonio
a5f3add2b6
Merge pull request #898 from showdownjs/updated-event-type-for-external-event
docs: updated event_type for the repository_dispatch event
2022-03-25 21:03:02 +02:00
Estevão Soares dos Santos
a946f557a2
Merge pull request #900 from showdownjs/docs-quickstart-guide
docs: refactored installation to become quickstart guide
2022-03-25 18:41:05 +00:00
Antonio
314808aa3e docs: refactored installation to become quickstart guide 2022-03-25 20:21:21 +02:00
Antonio
53aa1cc79f
Merge pull request #899 from showdownjs/proper-colors-for-docs
docs: added 'corporate' colors for docs
2022-03-25 20:15:47 +02:00
Antonio
223017e218 docs: added 'corporate' colors for docs 2022-03-25 19:23:08 +02:00
Antonio
7788ba2bc0 docs: updated event_type for the repository_dispatch event 2022-03-22 00:10:34 +02:00