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
- Support Asciidoc comment(e.g.
// foo)- You can use textlint-filter-rule-comments with Asciidoc.
- Some syntax support
- If you find unsupported syntax, please create an issue.
> npm install @jonghyo/textlint-plugin-asciidoc{
"plugins": [
"@jonghyo/asciidoc"
]
}This plugin recognize these file extension as asciidoc file.
- ".adoc"
- ".asciidoc"
- ".asc"
> npm test- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
- azu/textlint-plugin-asciidoc-loose
- ynitto/textlint-plugin-asciidoc-loose
- textlint-plugin-asciidoctor
MIT