turndown-plugin-gfm

WebJar for turndown-plugin-gfm

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

turndown-plugin-gfm
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

turndown-plugin-gfm
WebJar for turndown-plugin-gfm
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/domchristie/turndown-plugin-gfm

Скачать turndown-plugin-gfm

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

turndown-plugin-gfm

A Turndown plugin which adds GitHub Flavored Markdown extensions.

Installation

npm:

npm install turndown-plugin-gfm

Browser:

<script src="https://unpkg.com/turndown/dist/turndown.js"></script>
<script src="https://unpkg.com/turndown-plugin-gfm/dist/turndown-plugin-gfm.js"></script>

Usage

// For Node.js
var TurndownService = require('turndown')
var turndownPluginGfm = require('turndown-plugin-gfm')

var gfm = turndownPluginGfm.gfm
var turndownService = new TurndownService()
turndownService.use(gfm)
var markdown = turndownService.turndown('<strike>Hello world!</strike>')

turndown-plugin-gfm is a suite of plugins which can be applied individually. The available plugins are as follows:

  • strikethrough (for converting <strike>, <s>, and <del> elements)
  • tables
  • taskListItems
  • gfm (which applies all of the above)

So for example, if you only wish to convert tables:

var tables = require('turndown-plugin-gfm').tables
var turndownService = new TurndownService()
turndownService.use(tables)

License

turndown-plugin-gfm is copyright © 2017+ Dom Christie and released under the MIT license.

Версии библиотеки

Версия
1.0.2