Skip to content

doc-snippets (1.0.0)

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 16:26
7ce4871

doc-snippets (1.0.0)

Breaking Changes

  • startToken and endToken are replaced by startTokens and endTokens (see README)

Features

  • Add support for configurable snippet extraction and injection tokens (see README)
  • Inline snippet extraction tokens are now supported (see README)
  • Snippet injection now happens inline, as a simple replacement of the detected injection token + snippet name
  • Snippet injection is now using regex and the same name capture as extraction, guaranteeing consistency in extraction and injection

Bug Fixes

  • Fixed handling of snippet injection when the snippet is located at the end of the file
  • Fixed an issue where non-whitespace characters weren't considered for snippet names