gfm-escape
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "gfm-escape", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Markdown and GFM escaper for converting plaintext into escaped Markdown", | ||
@@ -5,0 +5,0 @@ "main": "dist/gfm-escape.cjs.js", |
@@ -81,3 +81,3 @@ # GfmEscape | ||
emphasisNonDelimiters: { // default true | ||
maxIntrawordUnderscoreRun: false, | ||
maxIntrawordUnderscoreRun: undefined, | ||
}, | ||
@@ -232,6 +232,8 @@ linkTitle: { // default true | ||
Suboptions: | ||
- `maxIntrawordUnderscoreRun`: if defined, it sets the maximum length of intraword | ||
underscores to be kept as is. E.g. for `1` and input `joe_average or joe__average`, | ||
the output would be `joe_average or joe\_\_average`. This is helpful for some renderers | ||
like Redcarpet. Defaults to `undefined`. | ||
- `maxIntrawordUnderscoreRun`: if defined as a number, it sets the maximum length of | ||
intraword underscores to be kept as is. E.g. for `1` and input | ||
`joe_average or joe__average`, the output would be `joe_average or joe\_\_average`. | ||
This is helpful for some renderers like Redcarpet. Both `undefined` and `false` | ||
mean no limit on unescaped intraword underscore run length. | ||
Defaults to `undefined`. | ||
@@ -238,0 +240,0 @@ #### Escaping options: `table` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237771
309