You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
chroma Chroma color tweaks (#26978) 1 year ago
codemirror Remove EasyMDE focus outline on text (#25328) 2 years ago
editor Fix z-index on markdown completion (#27237) 1 year ago
features Refactor "shortsha" (#26877) 1 year ago
markup Make blockquote border size less aggressive (#29124) 1 year ago
modules Make loading animation less aggressive (#28955) 1 year ago
repo Revamp repo header (#27760) 1 year ago
shared Reduce margin/padding on flex-list items and divider (#27872) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
themes Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
actions.css fix issues on action runners page (#27226) 1 year ago
admin.css User details page (#26713) 1 year ago
base.css Add alert blocks in markdown (#29121) 1 year ago
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 1 year ago
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2 years ago
font_i18n.css Fix `@font-face` overrides (#24855) 2 years ago
form.css Unify `border-radius` behavior (#26770) 1 year ago
helpers.css Improve CSS helper naming (#28769) 1 year ago
home.css avoid hard-coding height in language dropdown menu (#25986) 2 years ago
index.css Revamp repo header (#27760) 1 year ago
install.css Make "install page" respect environment config (#25648) 2 years ago
org.css Add word-break to organization name and description (#26624) 1 year ago
repo.css Remove obsolete border-radius on comment content (#29128) 1 year ago
review.css Don't reload timeline page when (un)resolving or replying conversation (#28654) 1 year ago
user.css Unify `border-radius` behavior (#26770) 1 year ago