Skip to content

Releases: abhinav/stitchmd

v0.9.0

16 Jun 22:33
Compare
Choose a tag to compare

Added

  • Included files can add absorb: true to their YAML front matter to include their headings in the summary TOC automatically.

v0.8.1

08 Nov 13:38
ba90473
Compare
Choose a tag to compare

v0.8.1 - 2023-11-08

Fixed

  • Fix included summaries not adjusting item heading levels based on the include's position in the list.

v0.8.0

08 Nov 03:16
Compare
Choose a tag to compare

v0.8.0 - 2023-11-07

This release adds new syntax:

- ![Title](file.md)

Use this form inside a summary file to recursively include
the contents of another summary file under the given title.

Added

  • Add -unsafe flag to reference files outside the current directory.
  • Summary files now support including other summary files with the syntax ![Title](file.md).

Changed

  • Paths to files in error messages are relative to the input directory.

v0.7.0

22 May 15:23
d4adf11
Compare
Choose a tag to compare

Added

  • Transform relative links in <img> and <a> tags.

v0.6.0

26 Apr 12:17
3dc599f
Compare
Choose a tag to compare

Added

  • Support external links in summary. These will be rendered verbatim.

Changed

  • Relicense under GPL-2.0.

Fixed

  • For headers too deep to be represented in Markdown, render an anchor and bold text.

v0.5.0

25 Mar 20:04
c0bf219
Compare
Choose a tag to compare

Added

  • Support stripping TOML front matter in addition to YAML.
    TOML front matter is marked by +++.

v0.4.0

03 Mar 02:33
3182cda
Compare
Choose a tag to compare

Added

  • -diff flag as an alias for -d.
  • -preface flag to include contents of another file in the output verbatim.

Changed

  • The output of -d is now colored by default if stdout is a terminal.
    Disable with --color=never, or by setting NO_COLOR=1.

v0.3.0

01 Mar 18:06
9dc0ca0
Compare
Choose a tag to compare

Added

  • -d flag to print a diff of the output
    instead of writing to the output file.

v0.2.0

26 Feb 22:53
addeb46
Compare
Choose a tag to compare

Added

  • -offset N flag to offset all headings by a fixed amount
    (positive or negative).
  • -no-toc flag to stop the table of contents from being rendered
    in the output.

Changed

  • -o now creates the output directory if it does not exist.

v0.1.1

25 Feb 23:23
8863f98
Compare
Choose a tag to compare

Fixed

  • Fix corner cases with text in the summary getting merged.
  • Fix link rewriting on Windows.