Skip to content

Releases: jar-b/mdtoc

v0.4.2

09 Jul 02:03
f182b25
Compare
Choose a tag to compare

Fixed

  • Preserve spacing after TOC on overwrite

v0.4.1

03 Mar 02:40
d285cdb
Compare
Choose a tag to compare

Fixed

  • Properly handle parenthesis in anchor links

v0.4.0

31 Dec 04:59
Compare
Choose a tag to compare

Added

  • Version (-version) CLI flag
  • Config struct to store insert settings
  • Flags/configuration to enable optional TOC headings (-with-toc-heading, -toc-heading)

Changed

  • Insert function signature now accepts *Config type

v0.3.0

28 Dec 05:02
Compare
Choose a tag to compare

Added

  • Exclude headings with the <!--mdtoc: ignore--> comment

Changed

  • Simplified Insert function signature
  • Updated TOC begin/end comments with proper formatting

v0.2.1

28 Dec 03:22
Compare
Choose a tag to compare

Fixed

  • Ignore lines matching header regex when inside code blocks

v0.2.0

27 Dec 04:59
Compare
Choose a tag to compare

Added

  • Github action workflow for go build, go test commands

Changed

  • Removed unneccesary constant exports
  • Modified exported function names for clarity
  • Updated go library usage docs

v0.1.2

08 Jul 18:07
Compare
Choose a tag to compare

Fixed

  • Properly handle braces in anchor links

v0.1.1

07 Jul 15:21
Compare
Choose a tag to compare

Fixed

  • Properly handle backticks, single, and double quotes in anchor link

v0.1.0

05 Jun 03:23
Compare
Choose a tag to compare

Added

  • Optional -out flag to redirect modified content

v0.0.2

26 May 03:51
Compare
Choose a tag to compare

Added

  • Improved usage message formatting

Fixed

  • Properly handle repeated heading tex