Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@pushred pushred released this 25 Aug 23:47
· 22 commits to master since this release

Breaking: this plugin is no longer a wrapper, parsing and rendering is left to the user. Bring Your Own Markdown! The plugin will focus on the JSON output.

Other updates:

  • #13 Parser errors are caught and emitted to the stream
  • #11 Extracted titles no longer removed automatically. Opt-in with stripTitles: true
  • #10 New title extraction method does not affect newlines
  • #6, #9 Add optional transform function for changing JSON data
  • #7 Add config option to unwrap files named index or the same as parent dirs (consolidated output only)
  • Add updatedAt to output, the file modified time from fs.Stat, as an ISO 8601 string