1
0
Fork 0
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
codemirror
editor
features
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
themes [THEME] Add colorblind theme variants 2024-02-05 16:05:02 +01:00
actions.css
admin.css
base.css Add alert blocks in markdown (#29121) 2024-02-17 18:04:55 +01:00
dashboard.css
explore.css
font_i18n.css
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
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