mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7355 - Update showdown to 2.1.0
This commit is contained in:
6
node_modules/showdown/README.md
generated
vendored
6
node_modules/showdown/README.md
generated
vendored
@@ -1,7 +1,6 @@
|
||||
![Showdown][sd-logo]
|
||||
|
||||

|
||||
[](https://ci.appveyor.com/project/tivie/showdown/branch/master)
|
||||
[](http://badge.fury.io/js/showdown)
|
||||
[](http://badge.fury.io/bo/showdown)
|
||||
[](https://gitter.im/showdownjs/showdown?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
@@ -17,11 +16,12 @@ Showdown can be used client side (in the browser) or server side (with NodeJs).
|
||||
|
||||
Check a live Demo here http://demo.showdownjs.com/
|
||||
|
||||
## [](https://www.patreon.com/bePatron?u=11141581)
|
||||
## Funding
|
||||
|
||||
As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money.
|
||||
|
||||
If you like our work and find our library useful, please donate through [patreon](https://www.patreon.com/showdownjs) or directly through [paypal](https://www.paypal.me/tiviesantos)!! Your contribution will be greatly appreciated and help me continue to develop this awesome library.
|
||||
If you like our work and find our library useful, please donate through [paypal](https://www.paypal.me/tiviesantos)!!
|
||||
Your contribution will be greatly appreciated and help us continue to develop this awesome library.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
2
node_modules/showdown/bin/showdown.js
generated
vendored
2
node_modules/showdown/bin/showdown.js
generated
vendored
File diff suppressed because one or more lines are too long
34
node_modules/showdown/dist/showdown.js
generated
vendored
34
node_modules/showdown/dist/showdown.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
;/*! showdown v 2.0.0 - 15-02-2022 */
|
||||
;/*! showdown v 2.1.0 - 21-04-2022 */
|
||||
(function(){
|
||||
/**
|
||||
* Created by Tivie on 13-07-2015.
|
||||
@@ -100,77 +100,77 @@ function getDefaultOpts (simple) {
|
||||
},
|
||||
smartIndentationFix: {
|
||||
defaultValue: false,
|
||||
description: 'Tries to smartly fix indentation in es6 strings',
|
||||
describe: 'Tries to smartly fix indentation in es6 strings',
|
||||
type: 'boolean'
|
||||
},
|
||||
disableForced4SpacesIndentedSublists: {
|
||||
defaultValue: false,
|
||||
description: 'Disables the requirement of indenting nested sublists by 4 spaces',
|
||||
describe: 'Disables the requirement of indenting nested sublists by 4 spaces',
|
||||
type: 'boolean'
|
||||
},
|
||||
simpleLineBreaks: {
|
||||
defaultValue: false,
|
||||
description: 'Parses simple line breaks as <br> (GFM Style)',
|
||||
describe: 'Parses simple line breaks as <br> (GFM Style)',
|
||||
type: 'boolean'
|
||||
},
|
||||
requireSpaceBeforeHeadingText: {
|
||||
defaultValue: false,
|
||||
description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
|
||||
describe: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',
|
||||
type: 'boolean'
|
||||
},
|
||||
ghMentions: {
|
||||
defaultValue: false,
|
||||
description: 'Enables github @mentions',
|
||||
describe: 'Enables github @mentions',
|
||||
type: 'boolean'
|
||||
},
|
||||
ghMentionsLink: {
|
||||
defaultValue: 'https://github.com/{u}',
|
||||
description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
|
||||
describe: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',
|
||||
type: 'string'
|
||||
},
|
||||
encodeEmails: {
|
||||
defaultValue: true,
|
||||
description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
|
||||
describe: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
|
||||
type: 'boolean'
|
||||
},
|
||||
openLinksInNewWindow: {
|
||||
defaultValue: false,
|
||||
description: 'Open all links in new windows',
|
||||
describe: 'Open all links in new windows',
|
||||
type: 'boolean'
|
||||
},
|
||||
backslashEscapesHTMLTags: {
|
||||
defaultValue: false,
|
||||
description: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
|
||||
describe: 'Support for HTML Tag escaping. ex: \<div>foo\</div>',
|
||||
type: 'boolean'
|
||||
},
|
||||
emoji: {
|
||||
defaultValue: false,
|
||||
description: 'Enable emoji support. Ex: `this is a :smile: emoji`',
|
||||
describe: 'Enable emoji support. Ex: `this is a :smile: emoji`',
|
||||
type: 'boolean'
|
||||
},
|
||||
underline: {
|
||||
defaultValue: false,
|
||||
description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
|
||||
describe: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`',
|
||||
type: 'boolean'
|
||||
},
|
||||
ellipsis: {
|
||||
defaultValue: true,
|
||||
description: 'Replaces three dots with the ellipsis unicode character',
|
||||
describe: 'Replaces three dots with the ellipsis unicode character',
|
||||
type: 'boolean'
|
||||
},
|
||||
completeHTMLDocument: {
|
||||
defaultValue: false,
|
||||
description: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
|
||||
describe: 'Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags',
|
||||
type: 'boolean'
|
||||
},
|
||||
metadata: {
|
||||
defaultValue: false,
|
||||
description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
|
||||
describe: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',
|
||||
type: 'boolean'
|
||||
},
|
||||
splitAdjacentBlockquotes: {
|
||||
defaultValue: false,
|
||||
description: 'Split adjacent blockquote blocks',
|
||||
describe: 'Split adjacent blockquote blocks',
|
||||
type: 'boolean'
|
||||
}
|
||||
};
|
||||
@@ -388,7 +388,7 @@ showdown.subParser = function (name, func) {
|
||||
* Gets or registers an extension
|
||||
* @static
|
||||
* @param {string} name
|
||||
* @param {object|function=} ext
|
||||
* @param {object|object[]|function=} ext
|
||||
* @returns {*}
|
||||
*/
|
||||
showdown.extension = function (name, ext) {
|
||||
|
||||
2
node_modules/showdown/dist/showdown.js.map
generated
vendored
2
node_modules/showdown/dist/showdown.js.map
generated
vendored
File diff suppressed because one or more lines are too long
4
node_modules/showdown/dist/showdown.min.js
generated
vendored
4
node_modules/showdown/dist/showdown.min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/showdown/dist/showdown.min.js.map
generated
vendored
2
node_modules/showdown/dist/showdown.min.js.map
generated
vendored
File diff suppressed because one or more lines are too long
13
node_modules/showdown/package.json
generated
vendored
13
node_modules/showdown/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "showdown",
|
||||
"version": "2.0.0",
|
||||
"version": "2.1.0",
|
||||
"description": "A Markdown to HTML converter written in Javascript",
|
||||
"author": "Estevão Santos",
|
||||
"homepage": "http://showdownjs.com/",
|
||||
@@ -30,6 +30,10 @@
|
||||
"url": "https://github.com/showdownjs/showdown.git",
|
||||
"web": "https://github.com/showdownjs/showdown"
|
||||
},
|
||||
"funding": {
|
||||
"type" : "individual",
|
||||
"url" : "https://www.paypal.me/tiviesantos"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "./dist/showdown.js",
|
||||
"scripts": {
|
||||
@@ -43,7 +47,8 @@
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"chai": "^4.3.4",
|
||||
"chai": "*",
|
||||
"chai-match": "*",
|
||||
"grunt": "^1.4.1",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-contrib-concat": "^2.0.0",
|
||||
@@ -60,10 +65,10 @@
|
||||
"quiet-grunt": "^0.2.0",
|
||||
"semver": "^7.3.0",
|
||||
"semver-sort": "^0.0.4",
|
||||
"sinon": "^12.0.1",
|
||||
"sinon": "*",
|
||||
"source-map-support": "^0.5.20"
|
||||
},
|
||||
"dependencies": {
|
||||
"yargs": "^17.2.1"
|
||||
"commander": "^9.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user