Releases: huacnlee/autocorrect
v2.8.2
- node: Fix arguments get on linux musl system in autocorrect-node.
v2.8.1
- node: Release
linux-x64-musl
for autocorrect-node.
v2.8.0
What's Changed
Full Changelog: v2.7.1...v2.8.0
v2.7.2
- Fix CLI to convert absolute file path into relative for match ignore rules.
- node: Fix
autocorrect init
command for node. - node: Remove
autocorrect update
command from autocorrect-node.
v2.7.0
What's New
This version just release
autocorrect-node
and@huacnlee/autocorrect
NPMs.
- node: Add CLI command support for
autocorrect-node
, now we can just use it without install autocorrect bin. See doc - wasm: Fix WebAssembly build to support Safari in iOS 14 and lower versions.
Use AutoCorrect in Npm
AutoCorrect has been published in NPM with CLI command support. If you want to use it in Frontend or Node.js project, you can just install autocorrect-node
package for without install AutoCorrect bin.
cd your-project
yarn add autocorrect-node
Now you can run yarn autocorrect
command in your project. This command same as the autocorrect
command.
$ yarn autocorrect -h
You can run autocorrect --lint
to check:
$ yarn autocorrect --lint ./
v2.6.2
What's Changed
Update a lot of fix for Markdown:
- Fix markdown to support parse
[foo]
as link text. #141 - Improve Markdown parser for soft wrap to avoid some mistakes. #138
- Fix Markdown for support newline in link and mark
[text\nfoo]()
,**Foo\nBar**
. - Fix HTML parse in Markdown.
- Fix Markdown for support mark in link text, e.g.:
[`Hello`](/hello)
,[**Hello**](/hello)
.
Other changes
- Fix indent in install script for Linux. by @yangtzech in #143
- Use Pest built-in line_col method. by @huacnlee in #131
New Contributors
- @yangtzech made their first contribution in #143
Full Changelog: v2.6.1...v2.6.2
v2.6.1
-
Fix halfwidth converter for not change
‘...’
,“...”
in english contents.The single
‘...’
and double“...”
char is used in english typographic.
ref: https://en.wikipedia.org/wiki/Quotation_marks_in_English
v2.6.0
What's Changed
- 🎉 Add for Jupyter Notebook supports
jupyter
,.ipynb
. by @huacnlee in #137 - 🔖 Add
--no-diff-bg-color
cli option for allows us to disable diff background color. by @huacnlee in #132 - Upgrade Clap v4 by @huacnlee in #134
Other changes
- Improve JSON parser for support array. 0f8c5ef
- Fix for avoid change URL with hash, e.g.:
foo-bar_dar.html#测试test
. 284ba18 - Fix some invalid blank newlines in lint result. cfe08dc
- Improve
to_diff
performance. 517c950
Full Changelog: v2.5.8...v2.6.0
v2.5.8
What's Changed
- Release
linux-musl-arm64
andlinux-musl-amd64
binary for allows install on Alpine Linux. - Fix Markdown parse to recognize meta_tags and normal paragraph. by @huacnlee in #127
- Fix CJK range, remove
Hanunoo
. - Fix #125 remove space when punctuation near the ` char.
- Improve Markdown meta_tag for support space in tag.
- Improve Markdown grammar for use COMMENT built-in rule name.
- Improve grammars for complex white spaces and comments.
Full Changelog: v2.5.5...v2.5.8
v2.5.5
What's Changed
- Add to support Svelte (.svelte)