Skip to content

feat: Add code blocks transformation to Confluence code macro#63

Merged
javierbrea merged 4 commits intoreleasefrom
feat/code-blocks
Nov 25, 2025
Merged

feat: Add code blocks transformation to Confluence code macro#63
javierbrea merged 4 commits intoreleasefrom
feat/code-blocks

Conversation

@javierbrea
Copy link
Copy Markdown
Collaborator

Add code blocks transformation to Confluence code macro

Description

Added

  • feat: Add support for code blocks rendering in Confluence pages. Add rehype.codeBlocks option to enable this feature (bumps @telefonica/markdown-confluence-sync to 2.3.0)

Fixed

  • docs: Fix mermaid diagram code block example in README.md

Agreement

Please check the following boxes after you have read and understood each item.

  • I have read the CONTRIBUTING document
  • I have read the CODE_OF_CONDUCT document
  • I accept that, by signing the Contributor License Agreement through a comment in the PR, my Github user name will be stored by in a branch of this repository for future reference.

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.

@javierbrea javierbrea self-assigned this Nov 25, 2025
@neo-sagittal neo-sagittal self-requested a review November 25, 2025 07:03
@javierbrea javierbrea changed the base branch from main to release November 25, 2025 07:03
@neo-sagittal
Copy link
Copy Markdown

I'm reviewing this, it might take a few minutes, I'll add comments and update here when it's done.

@github-actions
Copy link
Copy Markdown

Check SPDX headers

✅ 24 files have valid headers.

@github-actions
Copy link
Copy Markdown

Check License Compliance

✅ There are 823 dependencies with allowed licenses.

⚠️ There are 3 dependencies with dangerous licenses:

  • NPM:@cspell/dict-en-common-misspellings@2.1.8: CC-BY-SA-4.0
    • Transitive dependency of NPM:cspell@8.15.5. Defined in package.json
  • NPM:jsuri@1.3.1: unknown
    • Transitive dependency of NPM:confluence.js@2.1.0. Defined in package.json
  • NPM:exit@0.1.2: unknown
    • Transitive dependency of NPM:jest@29.7.0. Defined in package.json

‼️ There were some issues while verifying the licenses. This can occasionally occur if a dependency was recently released, as the dependency graph may not yet be fully updated.

Errors:

  • NPM:@telefonica/markdown-confluence-sync@2.3.0: Error requesting dependencies: 5 NOT_FOUND: dependencies not found
  • NPM:@telefonica/confluence-sync@2.2.0: Error requesting dependencies: 5 NOT_FOUND: dependencies not found

✅ Result: Valid licenses

Copy link
Copy Markdown

@neo-sagittal neo-sagittal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Remember you can easily customize how your team reviews code!

@javierbrea javierbrea merged commit 40e5acb into release Nov 25, 2025
5 checks passed
@javierbrea javierbrea deleted the feat/code-blocks branch November 25, 2025 07:33
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants