1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/docs/content/doc/administration
Yarden Shoham f5ce2ed292
Allow all URL schemes in Markdown links by default (#24805)
- Closes #21146
- Closes #16721

## ⚠️ BREAKING ⚠️
This changes the default behavior to now create links for any URL scheme
when the user uses the markdown form for links (`[label](URL)`), this
doesn't affect the rendering of inline links. To opt-out set the
`markdown.CUSTOM_URL_SCHEMES` setting to a list of allowed schemes, all
other schemes (except `http` and `https`) won't be allowed.

# Before

![image](https://github.com/go-gitea/gitea/assets/20454870/35fa18ce-7dda-4995-b5b3-3f360f38296d)

# After

![image](https://github.com/go-gitea/gitea/assets/20454870/0922216b-0b35-4b77-9919-21a5c21dd5d0)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-19 17:17:07 +02:00
..
_index.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
adding-legal-pages.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
backup-and-restore.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
backup-and-restore.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
backup-and-restore.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
cmd-embedded.en-us.md Remove font-awesome and fomantic icon module (#24471) 2023-05-01 13:25:54 -04:00
command-line.en-us.md Update LDAP filters to include both username and email address (#24547) 2023-05-05 14:18:53 -04:00
config-cheat-sheet.en-us.md Allow all URL schemes in Markdown links by default (#24805) 2023-05-19 17:17:07 +02:00
config-cheat-sheet.zh-cn.md Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
customizing-gitea.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
customizing-gitea.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
email-setup.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
environment-variables.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
environment-variables.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
external-renderers.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
fail2ban-setup.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
fail2ban-setup.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
git-lfs-support.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
https-support.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
https-support.zh-cn.md zh-cn support on doc pages (#24166) 2023-04-18 08:23:35 +08:00
logging-documentation.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
mail-templates.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
repo-indexer.en-us.md Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
reverse-proxies.en-us.md Improve reverse-proxy document and fix nginx config bug (#24616) 2023-05-10 05:28:44 +00:00
reverse-proxies.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
search-engines-indexation.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
signing.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00