Releases: polywrap/doc-snippets
Releases · polywrap/doc-snippets
doc-snippets (1.0.0)
doc-snippets
(1.0.0)
Breaking Changes
startToken
andendToken
are replaced bystartTokens
andendTokens
(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
0.3.0
CLI:
- Added
-e, --exts <paths...>
option tocombine
command. You can now override which file extensions are parsed. node_modules
folder is no longer ignored by default if a-i, --ignore
option is specified - you will need to specify it manually
0.2.0
Added a -i, --ignore
option to doc-snippets combine
.