mirror of https://github.com/go-gitea/gitea.git
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.
- Follows https://github.com/go-gitea/gitea/pull/29121 When I implemented alert blocks I was always testing the markdown in issue comments. I used `<br />` for line breaks and it looked good. I have since learned that the markdown on README files doesn't allow these tags. So a comment with ```md > [!NOTE] > If you're interested in using our APIs, we have experimental support with [documentation](https://try.gitea.io/api/swagger). ``` looked like this in a comment ![image](https://github.com/go-gitea/gitea/assets/20454870/96b1de01-2c87-4d4f-83dd-98192b83e9d0) but looked like this in a README ![image](https://github.com/go-gitea/gitea/assets/20454870/474b636d-dd7a-4b7f-ba27-643803c71aa3) So I changed how we render the alert block by having the alert itself have a dedicated paragraph, so line breaks happen naturally between paragraphs. # Before ![image](https://github.com/go-gitea/gitea/assets/20454870/474b636d-dd7a-4b7f-ba27-643803c71aa3) ![image](https://github.com/go-gitea/gitea/assets/20454870/167a8d37-9a44-4479-9340-5dc80347b595) # After ![image](https://github.com/go-gitea/gitea/assets/20454870/2f99fec0-98ff-4ba8-97fe-b4567041ae79) ![image](https://github.com/go-gitea/gitea/assets/20454870/ffdeae11-fb06-4d00-b497-eae135f0d7ad) --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: silverwind <me@silverwind.io> |
11 months ago | |
---|---|---|
.. | ||
actions | 11 months ago | |
activitypub | 1 year ago | |
analyze | 2 years ago | |
assetfs | 1 year ago | |
auth | 12 months ago | |
avatar | 12 months ago | |
badge | 11 months ago | |
base | 11 months ago | |
cache | 1 year ago | |
charset | 12 months ago | |
container | 2 years ago | |
csv | 12 months ago | |
emoji | 2 years ago | |
eventsource | 1 year ago | |
generate | 12 months ago | |
git | 11 months ago | |
gitgraph | 1 year ago | |
gitrepo | 11 months ago | |
graceful | 11 months ago | |
hcaptcha | 2 years ago | |
highlight | 1 year ago | |
hostmatcher | 1 year ago | |
html | 2 years ago | |
httpcache | 1 year ago | |
httplib | 2 years ago | |
indexer | 11 months ago | |
issue/template | 11 months ago | |
json | 2 years ago | |
label | 2 years ago | |
lfs | 12 months ago | |
log | 1 year ago | |
markup | 11 months ago | |
mcaptcha | 2 years ago | |
metrics | 1 year ago | |
migration | 12 months ago | |
nosql | 2 years ago | |
optional | 11 months ago | |
options | 2 years ago | |
packages | 12 months ago | |
paginator | 2 years ago | |
pprof | 2 years ago | |
private | 1 year ago | |
process | 1 year ago | |
proxy | 2 years ago | |
proxyprotocol | 2 years ago | |
public | 1 year ago | |
queue | 11 months ago | |
recaptcha | 2 years ago | |
references | 11 months ago | |
regexplru | 2 years ago | |
repository | 11 months ago | |
secret | 12 months ago | |
session | 1 year ago | |
setting | 11 months ago | |
sitemap | 2 years ago | |
ssh | 1 year ago | |
storage | 1 year ago | |
structs | 11 months ago | |
svg | 2 years ago | |
sync | 2 years ago | |
system | 1 year ago | |
templates | 11 months ago | |
test | 1 year ago | |
testlogger | 2 years ago | |
timeutil | 12 months ago | |
translation | 11 months ago | |
turnstile | 2 years ago | |
typesniffer | 2 years ago | |
updatechecker | 1 year ago | |
uri | 2 years ago | |
user | 2 years ago | |
util | 11 months ago | |
validation | 1 year ago | |
web | 12 months ago | |
webhook | 1 year ago |