0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 09:14:15 +01:00
gitea/web_src/css
Yarden Shoham 12865ae9c6
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-10 18:43:09 +00:00
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror
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 Make blockquote border size less aggressive (#29124) 2024-02-10 14:55:46 +02:00
modules Make loading animation less aggressive (#28955) 2024-01-27 20:27:37 +08:00
repo Revamp repo header (#27760) 2024-01-12 03:44:06 +00:00
shared Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
standalone
themes Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02: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-10 18:43:09 +00: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
font_i18n.css
form.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
helpers.css Improve CSS helper naming (#28769) 2024-01-12 20:28:01 +08:00
home.css
index.css Revamp repo header (#27760) 2024-01-12 03:44:06 +00:00
install.css
org.css Add word-break to organization name and description (#26624) 2023-10-25 10:40:39 +00:00
repo.css Remove obsolete border-radius on comment content (#29128) 2024-02-10 20:18:46 +02:00
review.css Don't reload timeline page when (un)resolving or replying conversation (#28654) 2024-01-24 03:26:28 +00:00
user.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00