Commit Graph

893 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
3c2e25a3c7 Merge branch 'develop' into feat/910-auto-linking-mention-from-html-to-markdown
# Conflicts:
#	src/subParsers/makemarkdown/table.js
2022-04-16 20:09:50 +01:00
Estevão Soares dos Santos
3a616c5bf6 feat(makeMarkdown.ghMentions): add support for ghMentions in makeMarkdown
Related to #910
2022-04-16 20:06:05 +01:00
Estevão Soares dos Santos
16cac70aee fix: add polyfill method for array.isArray
Closes #497
2022-04-03 09:36:37 +01:00
Estevão Soares dos Santos
fc01abd708 chore: try fixing github broswerstack action
these lines are for testing purposes

test test test
2022-03-31 08:22:18 +01:00
root
565bbdc94a chore: try to fix browserstack name 2022-03-31 08:03:09 +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
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
Estevao Soares dos Santos
d02fe7caf9 Merge branch 'develop' 2022-03-20 19:06:06 +00:00
Estevão Soares dos Santos
b8fb79d85f
docs: minor corrections to README.md 2022-03-20 19:05:11 +00:00
Estevão Soares dos Santos
bad26cd2ed
Merge pull request #897 from showdownjs/docs/docs-flow-triggers
docs: updated triggers for the documentation flow
2022-03-20 19:01:02 +00:00
Antonio
9ddb19479c docs: updated triggers for the documentation flow 2022-03-20 20:39:08 +02:00
Estevão Soares dos Santos
6397c203f6
docs(events): fix typo in properties 2022-03-20 15:34:16 +00:00