Skip to content

Commit 9077162

Browse files
authored
feat(announcements): add markdown support (#1371)
* feat(announcements): add markdown support * feat(announcements): add information about announcement formatting in readme * feat(announcements): bump packages versions for marked and dompurify * feat(announcements): bump versions for marked and dompurify in package-lock.json * fix(announcements): md to link was not working since the conflict merge * fix(announcements): fix time before message and not after * feat(announcements): past announcements add markdown support * feat(announcements): static files
1 parent 7c6b553 commit 9077162

File tree

8 files changed

+284
-57
lines changed

8 files changed

+284
-57
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Here are some examples of conditions you can use:
526526

527527

528528
### Announcements
529-
System-wide announcements allow you to display important messages at the top of the status page. These can be used to inform users about planned maintenance, ongoing issues, or general information.
529+
System-wide announcements allow you to display important messages at the top of the status page. These can be used to inform users about planned maintenance, ongoing issues, or general information. You can use markdown to format your announcements.
530530

531531
This is essentially what some status page calls "incident communications".
532532

web/app/package-lock.json

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

web/app/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"clsx": "^2.1.1",
1616
"core-js": "^3.45.0",
1717
"date-fns": "^4.1.0",
18+
"dompurify": "^3.3.0",
1819
"lucide-vue-next": "^0.539.0",
20+
"marked": "^16.4.1",
1921
"tailwind-merge": "^3.3.1",
2022
"vue": "^3.5.18",
2123
"vue-chartjs": "^5.3.2",

0 commit comments

Comments
 (0)