diff --git a/Section-Gitter-(basic).md b/Section-Gitter-(basic).md index 41b2ef8..3075f3d 100644 --- a/Section-Gitter-(basic).md +++ b/Section-Gitter-(basic).md @@ -7,4 +7,6 @@ It will not relay messages from yourself if you use your account** #You can get your token by going to https://developer.gitter.im/docs/welcome and SIGN IN Token="Yourtokenhere" RemoteNickFormat="[{PROTOCOL}] <{NICK}> " +#This improves the situation where a gitter user uploads a picture/file, just relay the link instead of the Markdown +ReplaceMessages=[["^\\[!\\[[^\\]]+\\]\\(https?:\\/\\/files\\.gitter\\.im\\/[^\\/]+\\/[^\\/]+\\/[^\\/]+\\/thumb\\/[^\\)]+\\)\\]\\(([^\\)]+)\\)$", "$1"], ["\\[[^\\]]+\\]\\((https:\\/\\/files\\.gitter\\.im\\/[^\\/]+\\/[^\\/]+\\/[^\\/]+\\/[^\\)]+)\\)$", "$1"]] ``` \ No newline at end of file