Skip to content

Commit 54b7643

Browse files
committed
feat: Support github alerts
1 parent fb25441 commit 54b7643

File tree

7 files changed

+284
-64
lines changed

7 files changed

+284
-64
lines changed

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
- feat/github-alerts
1011

1112
permissions:
1213
contents: read

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
#### Deprecated
1212
#### Removed
1313

14+
## [2.6.0] - 2026-02-06
15+
16+
#### Added
17+
18+
* feat: Add GitHub alerts transformation to Confluence macros.
19+
GitHub-flavored markdown alerts ([!NOTE], [!TIP], [!IMPORTANT],
20+
[!WARNING], [!CAUTION]) are now converted to Confluence's native
21+
info, note, warning, and tip macros. This feature is disabled by
22+
default and can be enabled via `rehype.githubAlerts` configuration option.
23+
(bumps @telefonica/markdown-confluence-sync to 2.4.0)
24+
1425
## [2.5.0] - 2025-11-25
1526

1627
### Added

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ docs/
8080
}
8181
rehype: |
8282
{
83-
"codeBlocks": true
83+
"codeBlocks": true,
84+
"githubAlerts": true
8485
}
8586
```
8687
@@ -131,7 +132,8 @@ For example:
131132
}
132133
rehype: |
133134
{
134-
"codeBlocks": true
135+
"codeBlocks": true,
136+
"githubAlerts": true
135137
}
136138
```
137139

@@ -249,6 +251,7 @@ module.exports = {
249251
},
250252
rehype: {
251253
codeBlocks: true,
254+
githubAlerts: true,
252255
},
253256
}
254257
```

dist/index.js

Lines changed: 257 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "markdown-confluence-sync-action",
33
"description": "GitHub Action to sync markdown files to Confluence",
4-
"version": "2.5.0",
4+
"version": "2.6.0",
55
"author": "Telefónica Innovación Digital",
66
"homepage": "https://github.com/Telefonica/markdown-confluence-sync-action",
77
"repository": {
@@ -62,7 +62,7 @@
6262
"@eslint/json": "0.6.0",
6363
"@eslint/markdown": "6.2.1",
6464
"@github/local-action": "2.2.0",
65-
"@telefonica/markdown-confluence-sync": "2.3.0",
65+
"@telefonica/markdown-confluence-sync": "2.4.0",
6666
"@telefonica/confluence-sync": "2.2.0",
6767
"@types/jest": "29.5.14",
6868
"@types/node": "22.9.0",

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)