Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/web_src/css
Yarden Shoham 0b3193bbbe
Add alert blocks in markdown (#29121)
- Follows https://github.com/go-gitea/gitea/pull/21711
- Closes https://github.com/go-gitea/gitea/issues/28316

Implement GitHub's alert blocks markdown feature

Docs:
-
https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts
- https://github.com/orgs/community/discussions/16925

### Before

![image](https://github.com/go-gitea/gitea/assets/20454870/14f7b02a-5de5-4fd0-8437-a055dadb31f2)

### After

![image](https://github.com/go-gitea/gitea/assets/20454870/ed06a869-e545-42f1-bf25-4ba20b1be196)

## ⚠️ BREAKING ⚠️

The old syntax no longer works

How to migrate:

If you used
```md
> **Note** My note
```

Switch to
```md
> [!NOTE]
> My note
```

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-02-17 18:04:55 +01:00
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Fix z-index on markdown completion (#27237) 2023-09-25 01:29:36 +02:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup [gitea] Make blockquote border size less aggressive (#29124) 2024-02-11 13:47:46 +01:00
modules Make loading animation less aggressive (#28955) 2024-01-27 20:27:37 +08:00
repo [GITEA] Use vertical tabs on issue filters 2024-02-05 16:05:50 +01:00
shared Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
actions.css fix issues on action runners page (#27226) 2023-09-24 14:12:21 -04:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Add alert blocks in markdown (#29121) 2024-02-17 18:04:55 +01:00
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 2023-09-13 15:15:36 +08:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css move sign in labels to be above inputs (#28753) 2024-02-16 15:20:52 +01:00
helpers.css move sign in labels to be above inputs (#28753) 2024-02-16 15:20:52 +01:00
home.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
index.css Revamp repo header (#27760) 2024-01-12 03:44:06 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
repo.css [gitea] Remove obsolete border-radius on comment content (#29128) 2024-02-11 13:47:48 +01:00
review.css Preview: set font-size on preview content 2024-02-14 23:02:40 +01:00
user.css [MODERATION] User blocking 2024-02-05 15:56:45 +01:00