Actions
Feature #42603
openEnable commonmark alert extension
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Files
Updated by Mizuki ISHIKAWA 3 days ago
- File 0001-Enable-common_mark-alerts.patch 0001-Enable-common_mark-alerts.patch added
- File screenshot 2025-04-28 16.45.56.png screenshot 2025-04-28 16.45.56.png added
I am attaching a patch that enables the alerts extension in commonMark.
Input:
> [!TIP] > Something of tip > [!note] > Something of note > [!warning] > Something of warning > |A |B | > |--|--| > | | | > [!important] > Something of warning > [!caution] > Something of warning > [!other] > This should not become an alert.
It will be displayed as follows by the common_mark gem:
Feedback on the appearance of the alerts, such as their colors, is welcome.
Additional Notes:- This patch does not support PDF export functionality.
- Alert types such as Note and Important are not localized and will always be displayed in English regardless of the user's language.
Updated by Marius BĂLTEANU 1 day ago
- Category set to Text formatting
- Status changed from New to Resolved
- Assignee set to Marius BĂLTEANU
- Target version changed from Candidate for next major release to 6.1.0
- Resolution set to Fixed
Thanks for taking care of this!
Mizuki ISHIKAWA wrote in #note-1:
I am attaching a patch that enables the alerts extension in commonMark.
Input:
[...]It will be displayed as follows by the common_mark gem:
[...]Feedback on the appearance of the alerts, such as their colors, is welcome.
From my point of view, the colors are ok.
Additional Notes:
- This patch does not support PDF export functionality.
I think this we should fix it, I will take a look in the following days.
- Alert types such as Note and Important are not localized and will always be displayed in English regardless of the user's language.
I'm not sure if it's really needed.
Beside these, we need to update the wiki pages help.
Actions