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
@@ -272,18 +272,43 @@ More details at Confluence [Code Block Macro](https://confluence.atlassian.com/d
272
272
273
273
### Block Quotes
274
274
275
-
Block Quotes are converted to Confluence Info/Warn/Note box when the following conditions are met
275
+
Mark now supports GitHub Alerts to create highlighted information boxes using Github Flavored Markdown syntax!
276
+
277
+
#### GitHub Alerts Support
278
+
279
+
You can now use GitHub-style alert syntax in your markdown, and Mark will automatically convert them to Confluence macros:
280
+
281
+
```markdown
282
+
> [!NOTE]
283
+
> This creates a blue info box - perfect for helpful information!
284
+
285
+
> [!TIP]
286
+
> This creates a green tip box - great for best practices and suggestions!
287
+
288
+
> [!IMPORTANT]
289
+
> This creates a blue info box - ideal for critical information!
290
+
291
+
> [!WARNING]
292
+
> This creates a yellow warning box - use for important warnings!
293
+
294
+
> [!CAUTION]
295
+
> This creates a red warning box - perfect for dangerous situations!
296
+
```
297
+
298
+
#### Technical Details
299
+
300
+
Block Quotes are converted to Confluence Info/Warn/Note box when the following conditions are met:
276
301
277
302
1. The BlockQuote is on the root level of the document (not nested)
278
-
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]`
279
-
280
-
| Github Alerts | Confluence |
281
-
| --- | --- |
282
-
|Tip (green lightbulb) | Tip (green checkmark in circle) |
283
-
|Note (blue I in circle) | Info (blue I in circle) |
284
-
|Important (purple exclamation mark in speech bubble) | Info (blue I in circle) |
285
-
|Warning (yellow exclamation mark in triangle) | Note (yellow exclamation mark in triangle) |
286
-
|Caution (red exclamation mark in hexagon) | Warning (red exclamation mark in hexagon) |
303
+
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]`
304
+
305
+
| Github Alerts | Confluence | Description |
306
+
| ---------------|------------ | ------------- |
307
+
|`[!TIP]` (green lightbulb) | Tip (green checkmark in circle)| Helpful suggestions and best practices|
308
+
|`[!NOTE]` (blue I in circle) | Info (blue I in circle)| General information and notes|
309
+
|`[!IMPORTANT]` (purple exclamation mark in speech bubble) | Info (blue I in circle)| Critical information that needs attention|
310
+
|`[!WARNING]` (yellow exclamation mark in triangle) | Note (yellow exclamation mark in triangle)| Important warnings and cautions|
311
+
|`[!CAUTION]` (red exclamation mark in hexagon) | Warning (red exclamation mark in hexagon)| Dangerous situations requiring immediate attention|
287
312
288
313
In any other case the default behaviour will be resumed and html `<blockquote>` tag will be used
0 commit comments