summaryrefslogtreecommitdiffstats
path: root/custom/conf
diff options
context:
space:
mode:
authorBenson Muite <bkmgit@users.noreply.github.com>2019-10-15 10:14:58 +0300
committerzeripath <art27@cantab.net>2019-10-15 08:14:58 +0100
commit6fa14ac3c82433f7f9bff4f4fe2ec6e33deb82ec (patch)
tree48482a6911959ba64311d728053cdbb5e5e1140d /custom/conf
parent20477a69ea123a7800ebf94bfd2225eb9ae90e8f (diff)
downloadgitea-6fa14ac3c82433f7f9bff4f4fe2ec6e33deb82ec.tar.gz
gitea-6fa14ac3c82433f7f9bff4f4fe2ec6e33deb82ec.zip
Update app.ini.sample (#8498)
* Update app.ini.sample Give further information on hyperlink rendering in Markdown * Update app.ini.sample Follow feedback from @guillep2k for CUSTOM_URL in markdown to indicate http and https are always rendered as links. * Update custom/conf/app.ini.sample Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update custom/conf/app.ini.sample Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com>
Diffstat (limited to 'custom/conf')
-rw-r--r--custom/conf/app.ini.sample7
1 files changed, 4 insertions, 3 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 442ac4b5bb..5ee2162ba3 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -141,8 +141,9 @@ KEYWORDS = go,git,self-hosted,gitea
[markdown]
; Enable hard line break extension
ENABLE_HARD_LINE_BREAK = false
-; List of custom URL-Schemes that are allowed as links when rendering Markdown
-; for example git,magnet
+; Comma separated list of custom URL-Schemes that are allowed as links when rendering Markdown
+; for example git,magnet,ftp (more at https://en.wikipedia.org/wiki/List_of_URI_schemes)
+; URLs starting with http and https are always displayed, whatever is put in this entry.
CUSTOM_URL_SCHEMES =
; List of file extensions that should be rendered/edited as Markdown
; Separate the extensions with a comma. To render files without any extension as markdown, just put a comma
@@ -826,4 +827,4 @@ QUEUE_TYPE = channel
QUEUE_LENGTH = 1000
; Task queue connction string, available only when `QUEUE_TYPE` is `redis`.
; If there is a password of redis, use `addrs=127.0.0.1:6379 password=123 db=0`.
-QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0" \ No newline at end of file
+QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"