'Setting this will override the default escape settings, you might want to use textReplace option instead',
options:[
{
name:'value',
displayName:'Value',
values:[
{
displayName:'Pattern',
name:'pattern',
type:'string',
default:'',
description:'RegEx for pattern',
},
{
displayName:'Replacement',
name:'replacement',
type:'string',
default:'',
description:'String replacement',
},
],
},
],
},
{
displayName:'Ignored Elements',
name:'ignore',
type:'string',
default:'',
description:
'Supplied elements will be ignored (ignores inner text does not parse children)',
placeholder:'e.g. h1, p ...',
hint:'Comma separated elements',
},
{
displayName:'Keep Images With Data',
name:'keepDataImages',
type:'boolean',
default:false,
description:
'Whether to keep images with data: URI (Note: These can be up to 1MB each), e.g. <img src="data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSK......0o/">.',
},
{
displayName:'Line Start Escape Pattern',
name:'lineStartEscape',
type:'fixedCollection',
typeOptions:{
multipleValues: false,
},
default:{},
description:
'Setting this will override the default escape settings, you might want to use textReplace option instead',
options:[
{
name:'value',
displayName:'Value',
values:[
{
displayName:'Pattern',
name:'pattern',
type:'string',
default:'',
description:'RegEx for pattern',
},
{
displayName:'Replacement',
name:'replacement',
type:'string',
default:'',
description:'String replacement',
},
],
},
],
},
{
displayName:'Max Consecutive New Lines',
name:'maxConsecutiveNewlines',
type:'number',
default:3,
description:'Specify max consecutive new lines allowed',
},
{
displayName:'Place URLs At The Bottom',
name:'useLinkReferenceDefinitions',
type:'boolean',
default:false,
description:
'Whether to Place URLS at the bottom and format links using link reference definitions',
description:'Whether to enable automatic linking to urls',
},
{
displayName:'Backslash Escapes HTML Tags',
name:'backslashEscapesHTMLTags',
type:'boolean',
default:false,
description:'Whether to support for HTML Tag escaping ex: <div>foo</div',
},
{
displayName:'Complete HTML Document',
name:'completeHTMLDocument',
type:'boolean',
default:false,
description:
'Whether to output a complete html document, including <html>, <head> and <body> tags instead of an HTML fragment',
},
{
displayName:'Customized Header ID',
name:'customizedHeaderId',
type:'boolean',
default:false,
description:'Whether to use text in curly braces as header id',
},
{
displayName:'Emoji Support',
name:'emoji',
type:'boolean',
default:false,
description:
'Whether to enable emoji support. Ex: this is a :smile: emoji For more info on available emojis, see https://github.com/showdownjs/showdown/wiki/Emojis.',
},
{
displayName:'Encode Emails',
name:'encodeEmails',
type:'boolean',
default:true,
description:
'Whether to enable e-mail addresses encoding through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',
},
{
displayName:'Exclude Trailing Punctuation From URLs',
name:'excludeTrailingPunctuationFromURLs',
type:'boolean',
default:false,
description:
'Whether to exclude trailing punctuation from autolinking urls. Punctuation excluded: . ! ? ( ). Only applies if simplifiedAutoLink option is set to true.',
},
{
displayName:'GitHub Code Blocks',
name:'ghCodeBlocks',
type:'boolean',
default:true,
description:'Whether to enable support for GFM code block style',
},
{
displayName:'GitHub Compatible Header IDs',
name:'ghCompatibleHeaderId',
type:'boolean',
default:false,
description:
'Whether to generate header ids compatible with github style (spaces are replaced with dashes and a bunch of non alphanumeric chars are removed)',
},
{
displayName:'GitHub Mention Link',
name:'ghMentionsLink',
type:'string',
default:'https://github.com/{u}',
description:
'Whether to change the link generated by @mentions. Showdown will replace {u} with the username. Only applies if ghMentions option is enabled.',
},
{
displayName:'GitHub Mentions',
name:'ghMentions',
type:'boolean',
default:false,
description:'Whether to enable github @mentions, which link to the username mentioned',
},
{
displayName:'GitHub Task Lists',
name:'tasklists',
type:'boolean',
default:false,
description:'Whether to enable support for GFM tasklists',
},
{
displayName:'Header Level Start',
name:'headerLevelStart',
type:'number',
default:1,
description:'Whether to set the header starting level',
},
{
displayName:'Mandatory Space Before Header',
name:'requireSpaceBeforeHeadingText',
type:'boolean',
default:false,
description:'Whether to make adding a space between # and the header text mandatory',
},
{
displayName:'Middle Word Asterisks',
name:'literalMidWordAsterisks',
type:'boolean',
default:false,
description:
'Whether to stop showdown from interpreting asterisks in the middle of words as <em> and <strong> and instead treat them as literal asterisks',
},
{
displayName:'Middle Word Underscores',
name:'literalMidWordUnderscores',
type:'boolean',
default:false,
description:
'Whether to stop showdown from interpreting underscores in the middle of words as <em> and <strong> and instead treat them as literal underscores',
},
{
displayName:'No Header ID',
name:'noHeaderId',
type:'boolean',
default:false,
description:'Whether to disable the automatic generation of header ids',
},
{
displayName:'Parse Image Dimensions',
name:'parseImgDimensions',
type:'boolean',
default:false,
description:
'Whether to enable support for setting image dimensions from within markdown syntax',
},
{
displayName:'Prefix Header ID',
name:'prefixHeaderId',
type:'string',
default:'section',
description:'Add a prefix to the generated header ids',
},
{
displayName:'Raw Header ID',
name:'rawHeaderId',
type:'boolean',
default:false,
description:
'Whether to remove only spaces, \' and " from generated header ids (including prefixes), replacing them with dashes (-)',
},
{
displayName:'Raw Prefix Header ID',
name:'rawPrefixHeaderId',
type:'boolean',
default:false,
description:'Whether to prevent showdown from modifying the prefix',
'Whether to parse line breaks as <br>, like GitHub does, without needing 2 spaces at the end of the line',
},
{
displayName:'Smart Indentation Fix',
name:'smartIndentationFix',
type:'boolean',
default:false,
description:
'Whether to try to smartly fix indentation problems related to es6 template strings in the midst of indented code',
},
{
displayName:'Spaces Indented Sublists',
name:'disableForced4SpacesIndentedSublists',
type:'boolean',
default:false,
description:
'Whether to disable the requirement of indenting sublists by 4 spaces for them to be nested, effectively reverting to the old behavior where 2 or 3 spaces were enough',
},
{
displayName:'Split Adjacent Blockquotes',
name:'splitAdjacentBlockquotes',
type:'boolean',
default:false,
description:'Whether to split adjacent blockquote blocks',
},
{
displayName:'Strikethrough',
name:'strikethrough',
type:'boolean',
default:false,
description:'Whether to enable support for strikethrough syntax',
},
{
displayName:'Tables Header ID',
name:'tablesHeaderId',
type:'boolean',
default:false,
description:'Whether to add an ID property to table headers tags',
},
{
displayName:'Tables Support',
name:'tables',
type:'boolean',
default:false,
description:'Whether to enable support for tables syntax',