logo

auto_linker

AutoLinker-shim, based on https://git.pleroma.social/pleroma/auto_linker
commit: 8ec0c74b3a6e0309f4e1c2014d72ab00a0e722e0
parent: 48f87d44cf588bf177feb0445b05ebcaaab22aac
Author: Egor Kislitsyn <egor@kislitsyn.com>
Date:   Thu,  7 Feb 2019 12:32:50 +0700

fix markdown

Diffstat:

Mlib/auto_linker.ex4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/auto_linker.ex b/lib/auto_linker.ex @@ -38,11 +38,11 @@ defmodule AutoLinker do * `strip_prefix: true` - Strip the scheme prefix * `exclude_class: false` - Set to a class name when you don't want urls auto linked in the html of the give class * `exclude_id: false` - Set to an element id when you don't want urls auto linked in the html of the give element - * `exclude_patterns: ["```"] - Don't link anything between the the pattern + * `exclude_patterns: ["```"]` - Don't link anything between the the pattern * `markdown: false` - link markdown style links Each of the above options can be specified when calling `link(text, opts)` - or can be set in the `:auto_linker's configuration. For example: + or can be set in the `:auto_linker`'s configuration. For example: config :auto_linker, class: false,