Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Jul 1, 2023
1 parent 4d5c631 commit fada7ef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/documentation/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1251,10 +1251,15 @@ Syntax is: | regex pattern | [link name](link target) |
Can be set multiple times.

Simple links and markdown style links will be replaced automatically. So links in the
form of `https://linktarget/...` or `[link text](https://target...)` will just work.
No need to disabled `escape_html` just to show some links.
form:

```https://linktarget/...``` or
```[link text](https://target...)```

will just work. No need to disabled `escape_html` just to show some links.

ex.:

short_link = |INC(\d+)|[$1](https://tickets.company.com/ticket/$1)|
short_link = |GH#(\d+)|[Issue $1](https://github.com/sni/Thruk/issues/$1)|

Expand Down

0 comments on commit fada7ef

Please sign in to comment.