Releases: nochso/tocenize
Releases · nochso/tocenize
v0.4.0
0.3.1
0.3.0
Added
- New flag
-indent
to change the indentation string for nested lists (default\t
)
Removed
- Removed verbosity flag
-v
and is now used for version display.
Changed
- Flag
-V
is now-v
, replacing verbosity. - Diffs are now colourful and limited to 3 lines of context.
0.2.0
Added
- Added flag
-e
to update only existing TOCs.
Changed
Document.Update()
now returnsDocument, error
instead of justerror
- Insert new line when inserting a TOC for the first time.
- Markdown is stripped from anchors and link texts.
- Link texts get stripped of images and links (excl. text)
- Anchors are stripped of all Markdown.
- Parse given file paths using
filepath.Glob
.
Fixed
- Fixed wrong behaviour of CRLF endings because of ineffectual assignment.
- Duplicate headings did not have unique anchor links. They are now numbered
the same way as Github does it.
Removed
- Removed flag
-u
. Updating is still used as a default when other flags are
not set.
0.1.0 - Initial public release
Added
- Initial public release.