Skip to content

Commit 6fa14ac

Browse files
bkmgitsapk
authored andcommitted
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 <[email protected]> * Update custom/conf/app.ini.sample Co-Authored-By: Antoine GIRARD <[email protected]>
1 parent 20477a6 commit 6fa14ac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

custom/conf/app.ini.sample

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ KEYWORDS = go,git,self-hosted,gitea
141141
[markdown]
142142
; Enable hard line break extension
143143
ENABLE_HARD_LINE_BREAK = false
144-
; List of custom URL-Schemes that are allowed as links when rendering Markdown
145-
; for example git,magnet
144+
; Comma separated list of custom URL-Schemes that are allowed as links when rendering Markdown
145+
; for example git,magnet,ftp (more at https://en.wikipedia.org/wiki/List_of_URI_schemes)
146+
; URLs starting with http and https are always displayed, whatever is put in this entry.
146147
CUSTOM_URL_SCHEMES =
147148
; List of file extensions that should be rendered/edited as Markdown
148149
; 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
826827
QUEUE_LENGTH = 1000
827828
; Task queue connction string, available only when `QUEUE_TYPE` is `redis`.
828829
; If there is a password of redis, use `addrs=127.0.0.1:6379 password=123 db=0`.
829-
QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"
830+
QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"

0 commit comments

Comments
 (0)