Commit e8470008 authored by minibikini's avatar minibikini

fix readme examples

parent b2dd5608
Pipeline #7276 failed with stages
in 30 seconds
......@@ -27,6 +27,7 @@ end
The following examples illustrate some examples on how to use the auto linker.
"<a href='' class='auto-linker' target='_blank' rel='noopener noreferrer'></a>"
......@@ -36,17 +37,18 @@ iex>"", new_window: false, rel: false)
iex>"", new_window: false, rel: false, class: false)
"<a href=''></a>"
iex>"call me at x9999")
~s{call me at <a href="" class="phone-number" data-number="9999">x9999</a>}
iex>"call me at x9999", phone: true)
"call me at <a href=\"#\" class=\"phone-number\" data-phone=\"9999\">x9999</a>"
iex>"or at home on 555.555.5555")
~s{or at home on <a href="" class="phone-number" data-number="55555555555">555.555.5555</a>}
iex>"or at home on 555.555.5555", phone: true)
"or at home on <a href=\"#\" class=\"phone-number\" data-phone=\"5555555555\">555.555.5555</a>"
iex>", work (555) 555-5555")
~s{, work <a href="" class="phone-number" data-number="5555555555">(555) 555-5555</a>}
iex>", work (555) 555-5555", phone: true)
", work <a href=\"#\" class=\"phone-number\" data-phone=\"5555555555\">(555) 555-5555</a>"
iex>"[Google Search](", markdown: true)
"<a href='' class='auto-linker' target='_blank' rel='noopener noreferrer'>Google Search</a>"
See the [Docs]( for more examples
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment