markdown-escapes

WebJar for markdown-escapes

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

markdown-escapes
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

markdown-escapes
WebJar for markdown-escapes
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/wooorm/markdown-escapes

Download markdown-escapes

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/markdown-escapes/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>markdown-escapes</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/markdown-escapes/
implementation 'org.webjars.npm:markdown-escapes:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.npm/markdown-escapes/
implementation ("org.webjars.npm:markdown-escapes:1.0.4")
'org.webjars.npm:markdown-escapes:jar:1.0.4'
<dependency org="org.webjars.npm" name="markdown-escapes" rev="1.0.4">
  <artifact name="markdown-escapes" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='markdown-escapes', version='1.0.4')
)
libraryDependencies += "org.webjars.npm" % "markdown-escapes" % "1.0.4"
[org.webjars.npm/markdown-escapes "1.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

markdown-escapes

Build Coverage Downloads Size

List of escapable characters in markdown.

Install

npm:

npm install markdown-escapes

Use

var escapes = require('markdown-escapes');

// Access by property:
escapes.commonmark; //=> ['\\', '`', ..., '@', '^']

// Access by options object:
escapes({gfm: true}); //=> ['\\', '`', ..., '~', '|']

API

escapes([options])

Get escapes. Supports options.commonmark and options.gfm, which when true returns the extra escape characters supported by those flavors.

Returns

Array.<string>.

escapes.default

List of default escapable characters.

escapes.gfm

List of escapable characters in GFM (which includes all defaults).

escapes.commonmark

List of escapable characters in CommonMark (which includes all gfms).

License

MIT © Titus Wormer

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1