textile-js

WebJar for textile-js

Лицензия

Лицензия

MIT
Категории

Категории

JavaScript Языки программирования
Группа

Группа

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

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

textile-js
Последняя версия

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

2.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

textile-js
WebJar for textile-js
Ссылка на сайт

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

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

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

https://github.com/borgar/textile-js

Скачать textile-js

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

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

Зависимости

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

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

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

textile.js

Attempt at an implementation of fully featured Textile parser in JavaScript that runs reasonably fast and mostly avoids outputting broken HTML.

Give it a go in a live textile web editor.

Install

$ npm install textile-js

Options

The basic interface mimics marked, the popular markdown parser. So if you use that in your project then you can support Textile as well with minimal effort.

Currently, the only supported option is breaks which can be used to enable/disable the default behavior of line-breaking single newlines within blocks.

Usage

console.log( textile( "I am using __textile__." ) );

You can also get to the syntax tree, which uses JsonML.

var jsonml = textile.parse( text );
console.log( jsonml );

CLI

$ textile -o hello.html
hello world
^D
$ cat hello.html
<p>hello world</p>

License

Copyright © 2012, Borgar Þorsteinsson (MIT License).

See LICENSE.

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

Версия
2.0.4