Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gfm-escape

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gfm-escape - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc