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
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
Devyn S
75ac5c9b6e
Merge pull request #702 from systemsthinkinginstitute/fix-upstream-reference-link-impostors
...
fix(makeHtml): allow using of squadron brackets in non-link locations
2021-11-14 13:30:06 -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
SyntaxRules
f9d9705d3c
chore(release): update dist/* files for further testing
2021-11-14 13:04:45 -07:00
Devyn S
735c5d2a55
Chore/update ci ( #876 )
...
* chore(ci): update CI node version to match node supported versions
* chore(ci): appveyor only supports up to node 16.x
* chore(ci): travis CI is not longer free/working; remove it
* chore(ci): add git workflow to replace travisCI linux builds
* doc(readme): add back in a badge for linux CI
* chore(ci): add windows to CI
* chore(ci): remove appveyor in favor of github actions
* doc(readme): update info about node supportability
2021-11-14 12:58:28 -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
Devyn S
45fcc8435b
Merge pull request #698 from systemsthinkinginstitute/fix-space-between-inline-elements
...
Fix space between inline elements
2021-11-12 09:54:35 -07:00
Devyn S
965789589e
Merge pull request #788 from henrahmagix/include-html51-details-in-block-elements
...
Include HTML5.1 <details> in known block tags
2021-11-10 13:45:13 -07:00
Devyn S
ea72183ad7
Merge pull request #671 from childish-sambino/base-url
...
feat(relativePathBaseUrl): Add support for prepending a base URL
2021-11-10 00:00:37 -07:00
SyntaxRules
ae1d5db9e0
Merge branch 'master' of https://github.com/showdownjs/showdown into base-url
2021-11-09 23:49:48 -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
SyntaxRules
24211cc907
chore(license): update liscense to MIT
2021-11-09 22:40:28 -07:00
SyntaxRules
9c043d8848
chore(deps): make dependecies consistent with ^ operator
2021-11-09 22:40:28 -07:00
SyntaxRules
3d5391e96a
chore(deps): update all dependecies to the latest; make eslint work
2021-11-09 22:40:28 -07:00
Devyn S
9c362e832e
chore(ci): update CI to lastest node versions & github actions
...
* update CI node versions to match node supported versions
* remove node 17.x on appveyor, it only supports up to node 16.x
* travis CI is not longer free/working; remove it in favor of github actions
2021-11-09 13:05:44 -07:00
Henry Blyth
cb689aa23b
Add <details> corresponding makeMarkdown test
2020-04-13 23:05:07 +01:00
Henry Blyth
775f2abe97
Include HTML5.1 <details> in known block tags
...
Fix #787
2020-04-13 22:55:14 +01:00
Jean Machuca
a9f38b6f05
Including QCObjects in "Who uses Showdown"-README ( #744 )
2019-11-02 21:24:43 +00:00
Adam Cook
dae65c6e36
fix: Update yargs to 14.2.0
...
This fixes the mem security vulnerability (https://github.com/jimmyleray/Emendare/issues/584 ).
The vulnerability only presents itself when showdown is used as a CLI; it is unlikely that this would have been exploitable.
Closes #738
2019-11-02 21:19:24 +00:00