diff options
author | Yarden Shoham <git@yardenshoham.com> | 2024-02-10 20:43:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 18:43:09 +0000 |
commit | 12865ae9c6c164af6272b41e65b2cf2ea7a5e4b3 (patch) | |
tree | cfeb5ed53f8bce86f312a57fb3d674e54d72e915 /package.json | |
parent | 9063fa096386362f9ae602fdf8a39ae8c972b8e0 (diff) | |
download | gitea-12865ae9c6c164af6272b41e65b2cf2ea7a5e4b3.tar.gz gitea-12865ae9c6c164af6272b41e65b2cf2ea7a5e4b3.zip |
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)
## :warning: BREAKING :warning:
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>
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions