Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.23 KB

README.md

File metadata and controls

58 lines (40 loc) · 1.23 KB

textlint-plugin-asciidoc

Asciidoc support for textlint using asciidoctor.js.

This is inspired by textlint-plugin-asciidoctor and appended some features;

  • Typescript
  • asciidoctor.js >= 2.1.0 support
  • Some syntax support
    • If you find unsupported syntax, please create an issue.

Installation

> npm install @ynitto/textlint-plugin-asciidoc

Usage

{
  "plugins": [
    "@ynitto/asciidoc"
  ]
}

File Extension

This plugin recognize these file extension as asciidoc file.

  • ".adoc"
  • ".asciidoc"
  • ".asc"

Tests

> npm test

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Alternatives

License

MIT