-
Notifications
You must be signed in to change notification settings - Fork 3
Release 2.3.0 #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.3.0 #69
Conversation
* feat: Add code blocks transformation to Confluence code macro --------- Co-authored-by: frankledo <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Copilot <[email protected]>
|
Check SPDX headers ✅ 247 files have valid headers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This release adds code block transformation support for converting markdown code blocks to Confluence's code macro format with syntax highlighting, and updates the package version to 2.3.0.
Key changes:
- New optional
rehype.codeBlocksconfiguration option (disabled by default) to enable code block transformation - Implementation of
rehypeReplaceCodeBlocksplugin to convert code blocks to Confluence code macro format - Comprehensive test coverage for the new code block transformation feature
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| components/markdown-confluence-sync/package.json | Version bump to 2.3.0 |
| components/markdown-confluence-sync/CHANGELOG.md | Documentation of new code blocks feature and release date |
| components/markdown-confluence-sync/README.md | Documentation of new rehype.codeBlocks configuration option and code block transformation feature |
| components/markdown-confluence-sync/markdown-confluence-sync.config.cjs | Example configuration enabling code blocks transformation |
| components/markdown-confluence-sync/jest.unit.config.cjs | Coverage threshold adjusted from 98% to 97% |
| components/markdown-confluence-sync/src/lib/MarkdownConfluenceSync.ts | Integration of rehype configuration namespace |
| components/markdown-confluence-sync/src/lib/confluence/ConfluenceSync.types.ts | Type definitions for new rehype.codeBlocks option |
| components/markdown-confluence-sync/src/lib/confluence/ConfluenceSync.ts | Implementation of rehype code blocks option handling |
| components/markdown-confluence-sync/src/lib/confluence/transformer/ConfluencePageTransformer.types.ts | Type definitions for transformer rehype options |
| components/markdown-confluence-sync/src/lib/confluence/transformer/ConfluencePageTransformer.ts | Conditional registration of rehypeReplaceCodeBlocks plugin |
| components/markdown-confluence-sync/src/lib/confluence/transformer/support/rehype/rehype-replace-code-blocks.ts | Core implementation of code block to Confluence macro transformation |
| components/markdown-confluence-sync/test/unit/specs/confluence/ConfluenceSync.test.ts | Test setup for rehype configuration namespace |
| components/markdown-confluence-sync/test/unit/specs/confluence/transformer/ConfluencePageTransformer.test.ts | Updated test instantiations to include rehype.codeBlocks option |
| components/markdown-confluence-sync/test/unit/specs/confluence/transformer/support/rehype/rehype-replace-code-blocks.test.ts | Comprehensive test suite for code block transformation functionality |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Check License Compliance ✅ There are 1450 dependencies with allowed licenses.
✅ Result: Valid licenses |
Release 2.3.0
confluence-sync v2.2.0
Added
markdown-confluence-sync v2.3.0
Added
Code blocks are now converted to Confluence's structured code macro
with syntax highlighting support. This feature is disabled by default
and can be enabled via
rehype.codeBlocksconfiguration option.closes #65
Agreement
Please check the following boxes after you have read and understood each item.
In case this is your first contribution to this project, you will also have to add a comment with the following text: "I have read the CLA Document and I hereby sign the CLA", otherwise the PR status will fail and our bot will request you to add it. Once you have signed it in a PR, you will not have to sign it again for future contributions.