You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-10Lines changed: 35 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,18 +265,43 @@ some long code block
265
265
266
266
### Block Quotes
267
267
268
-
Block Quotes are converted to Confluence Info/Warn/Note box when the following conditions are met
268
+
Mark now supports **GitHub Alerts** 🎉 - a modern way to create highlighted information boxes using familiar GitHub syntax!
269
+
270
+
#### GitHub Alerts Support
271
+
272
+
You can now use GitHub-style alert syntax in your markdown, and Mark will automatically convert them to beautiful Confluence macros:
273
+
274
+
```markdown
275
+
> [!NOTE]
276
+
> This creates a blue info box - perfect for helpful information!
277
+
278
+
> [!TIP]
279
+
> This creates a green tip box - great for best practices and suggestions!
280
+
281
+
> [!IMPORTANT]
282
+
> This creates a blue info box - ideal for critical information!
283
+
284
+
> [!WARNING]
285
+
> This creates a yellow warning box - use for important warnings!
286
+
287
+
> [!CAUTION]
288
+
> This creates a red warning box - perfect for dangerous situations!
289
+
```
290
+
291
+
#### Technical Details
292
+
293
+
Block Quotes are converted to Confluence Info/Warn/Note box when the following conditions are met:
269
294
270
295
1. The BlockQuote is on the root level of the document (not nested)
271
-
1. The first line of the BlockQuote contains one of the following patterns `Info/Warn/Note` or [Github MD Alerts style](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts)`[!NOTE]/[!TIP]/[!IMPORTANT]/[!WARNING]/[!CAUTION]`
272
-
273
-
| Github Alerts | Confluence |
274
-
|---------------|------------|
275
-
|Tip (green lightbulb) | Tip (green checkmark in circle) |
276
-
|Note (blue I in circle) | Info (blue I in circle) |
277
-
|Important (purple exclamation mark in speech bubble) | Info (blue I in circle) |
278
-
|Warning (yellow exclamation mark in triangle) | Note (yellow exclamation mark in triangle) |
279
-
|Caution (red exclamation mark in hexagon) | Warning (red exclamation mark in hexagon) |
296
+
2. The first line of the BlockQuote contains one of the following patterns `Info/Warn/Note` or [Github MD Alerts style](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts)`[!NOTE]/[!TIP]/[!IMPORTANT]/[!WARNING]/[!CAUTION]`
297
+
298
+
| Github Alerts | Confluence | Description |
299
+
|---------------|------------|-------------|
300
+
|`[!TIP]` (green lightbulb) | Tip (green checkmark in circle)| Helpful suggestions and best practices|
301
+
|`[!NOTE]` (blue I in circle) | Info (blue I in circle)| General information and notes|
302
+
|`[!IMPORTANT]` (purple exclamation mark in speech bubble) | Info (blue I in circle)| Critical information that needs attention|
303
+
|`[!WARNING]` (yellow exclamation mark in triangle) | Note (yellow exclamation mark in triangle)| Important warnings and cautions|
304
+
|`[!CAUTION]` (red exclamation mark in hexagon) | Warning (red exclamation mark in hexagon)| Dangerous situations requiring immediate attention|
280
305
281
306
In any other case the default behaviour will be resumed and html `<blockquote>` tag will be used
0 commit comments