Commit Graph

922 Commits

Author SHA1 Message Date
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
Anthony DePasquale
95eb3b4168
Update README.md 2022-03-20 16:26:13 +01:00
Estevao Soares dos Santos
4f0f76ca76 Merge branch 'develop' 2022-03-20 15:04:15 +00:00
Estevão Soares dos Santos
925bbceab4
docs: added installation guide, compatibility and donation pages
Merge pull request #895 from showdownjs/decoupling-readme-stage-1
2022-03-20 14:48:48 +00:00
Antonio
15b159c846 docs: added installation guide, compatibility and donation pages 2022-03-20 16:37:51 +02:00
Estevão Soares dos Santos
f2f30349d6
docs(project): add initial setup for docs publishing
Merge pull request #892 from showdownjs/documentation-initial-setup
2022-03-15 20:37:45 +00:00
Antonio
490f4eb562 docs: added ci pipeline to build and deploy docs 2022-03-15 20:28:53 +02:00
Estevao Soares dos Santos
df76f984a3 chore: add test for repeat helper
Several test cleanups and minor test fixes
2022-03-10 12:56:34 +00:00
Estevao Soares dos Santos
5f5304ccaa Merge branch 'develop' of https://github.com/showdownjs/showdown into develop 2022-03-10 11:24:48 +00:00
Estevão Soares dos Santos
849ed40b70
fix(polyfill) String.prototype.repeat
Merge pull request #629 from dennisss/fix2
2022-03-10 11:24:20 +00:00
Estevao Soares dos Santos
169cd1ed89 clean: clean stray console.log 2022-03-10 00:21:25 +00:00
Estevao Soares dos Santos
14dbda2dcf chore: build cli 2022-03-10 00:19:41 +00:00
Estevao Soares dos Santos
1f4a9885cc chore: minor fix in tests 2022-03-10 00:17:27 +00:00
Estevao Soares dos Santos
7acd65e498 fix(cli): remove checking stdin size
Also fix some errors related to testing and inconsistent behavior between linux and windows
2022-03-10 00:09:42 +00:00
Estevao Soares dos Santos
f87cf01282 chore: fix tests for CI 2022-03-09 15:19:34 +00:00
Estevao Soares dos Santos
54a54271ec second try in fixing github actions 2022-03-09 14:47:44 +00:00
Estevao Soares dos Santos
1a3b8db8cd chore: Fix problem in github actions CI 2022-03-09 13:51:44 +00:00
Estevao Soares dos Santos
c7dd148b08 chore: remove unused dev dependencies 2022-03-07 18:04:56 +00:00
Estevao Soares dos Santos
c3411a567d fix(cli): cli now works properly
The CLI was completely rewrote. Changed dependency from yargs to
commanderjs,
which is cleaner, faster and has no dependencies.
Also added a complete testsuite for the cli.

Merged branch 'cli_refactor' into develop

Closes #893, #894
2022-03-03 12:48:23 +00:00
Estevao Soares dos Santos
bd093ab493 chore: fix jsdoc in converter.js 2022-03-01 15:30:59 +00:00
Antonio
3b2a3029b4 docs(project): add initial setup for docs publishing 2022-02-27 13:12:55 +02:00
Estevao Soares dos Santos
16ad404b85 Merge branch 'develop' 2022-02-25 01:11:13 +00:00