Commit Graph

843 Commits

Author SHA1 Message Date
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
Estevão Soares dos Santos
3e1a815e18
fix(lists): codeblocks inside lists are now correctly parsed
Closes #494
2022-02-25 01:10:07 +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
Estevão Soares dos Santos
1615b3ea15
fix(makemarkdown.table): col text now aligns right properly 2022-02-25 00:48:14 +00:00
Estevão Soares dos Santos
b02c1dd31b
Merge pull request #889 from showdownjs/develop
Develop
2022-02-25 00:25: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
Estevao Soares dos Santos
67114255ad fix(gfmCodeBlocks): allow the info string in gfmCodeBlocks to contain spaces
The line with the opening code fence may optionally contain some text following the code fence (the info string); this is trimmed of leading and trailing whitespace and can contain multiple words (but not newlines).

Closes #856
2022-02-24 01:22:11 +00:00
Estevao Soares dos Santos
5a84b1cdf0 Merge branch 'master' into develop 2022-02-24 00:45:04 +00:00
Estevão Soares dos Santos
85caa462de
Create codeql-analysis.yml 2022-02-24 00:40:41 +00:00
Estevao Soares dos Santos
9f0b36d95b chore: active CI in develop branch 2022-02-24 00:23:15 +00:00
cjwind
626f661e8e
fix(lists): Fix makeMarkdown tasklist (#846)
Fix makeMarkdown() with tasklist by adding input subparser.

Close #774

Co-authored-by: Estevão Soares dos Santos <estevao.santos@gmail.com>
2022-02-24 00:16:31 +00:00
Estevao Soares dos Santos
cb2e4853b7 Merge branch 'master' into develop 2022-02-24 00:06:58 +00:00
mh-cbon
1967652acf
fix(cli): read input data using stream (#358)
* cli: prevent brutal exit when the process is doing async work

* cli: read input data suing a stream to fix #353

* cli: add error return support

* cli: add error return support

* lint

Closes #358
2022-02-24 00:06:08 +00:00
Vladimir Vuksanovic
ebc730c0a0
fix(metadata): Restore dollar signs and tremas. (#730)
Closes #626

Co-authored-by: Estevão Soares dos Santos <estevao.santos@gmail.com>
2022-02-24 00:03:20 +00:00
Estevao Soares dos Santos
3fd1ea6d7f chore: try to make CI work in master 2022-02-23 23:52:58 +00:00
Liu Xinyu
6f93b3eab1 fix: reduce npm package size 2022-02-23 19:25:29 +00:00
Estevao Soares dos Santos
e24d06e265 Merge branch 'master' into develop
# Conflicts:
#	Gruntfile.js
#	dist/showdown.js
#	dist/showdown.js.map
#	dist/showdown.min.js
#	dist/showdown.min.js.map
#	package-lock.json
#	package.json
#	src/converter.js
#	src/subParsers/makehtml/tables.js
2022-02-23 19:15:46 +00:00
Estevao Soares dos Santos
6ded499b91 refactor: code cleanup 2022-02-23 05:11:26 +00:00
Estevao Soares dos Santos
d23b028bb3 chore: update dev dependencies and fix code style 2022-02-23 05:04:55 +00:00
Devyn
80fbe08874
doc(security): add a security policy 2022-02-15 20:30:00 -07:00
Devyn
4f1bc668c4
Merge pull request #885 from showdownjs/test_anchors
test(anchor): reserved keywords and object properties and protocols
2022-02-07 11:29:44 -07:00
SyntaxRules
d54a6101b9 test(anchor): check other unicode characters 2022-02-07 11:19:44 -07:00
SyntaxRules
17837832b4 test(anchor): no protocol links are still treated as links
Closes https://github.com/showdownjs/showdown/issues/755
2022-02-07 11:07:11 -07:00
SyntaxRules
def6f0b453 test(anchor): fragments work as intended
Closes https://github.com/showdownjs/showdown/issues/845
2022-02-07 10:57:27 -07:00
SyntaxRules
838c5dbecc test(anchor): check that reserved keywords and object properties are usable in links 2022-02-07 10:29:59 -07:00
Daniel
ed51972315
fix(helpers): allow usage in ES6 modules fix for #676
* Fix for issue #676

This will check for situations when this is undefined, eg ES6 module wrapper

Co-authored-by: SyntaxRules <devyn.stott@gmail.com>
2021-12-23 12:10:23 -07:00
SyntaxRules
41cee10659 chore(node): update package-lock license to MIT 2021-12-23 11:30:07 -07:00
Devyn S
5d699c228e
Merge pull request #628 from dennisss/fix1
fix(extension-registering) removeExtension implementation
2021-11-14 13:50:57 -07:00
Dennis Shtatnov
9f779b36a8 fix(extension-registering) removeExtension implementation 2021-11-14 13:48:20 -07:00
Devyn S
005e83262c
Merge pull request #732 from VladimirV99/tasklist
fix(lists): Fix tasklists to comply with GFM
2021-11-14 13:40:25 -07:00