Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@sean0x42 sean0x42 released this 16 Jan 06:27
· 4 commits to master since this release
e923cc4

In this release, markdown-extract has been dramatically simplified, and comes
with a more sensible API out of the box. There are a number of breaking changes.

  • Fixed matching headings inside code blocks.
  • Remove --regex flag. All inputs will be treated as regular expressions.
  • Remove --first flag. This is now the default behaviour.
  • Add --all flag. When setting this flag, all matches will be printed (not
    just the first).
  • Renamed --ignore-first-heading to --no-print-matched-heading. Behaviour is
    the same.
  • Clarified help text for the --no-print-matched-heading flag.