(window.webpackJsonp=window.webpackJsonp||[]).push([[78],{231:function(t,n,s){"use strict";s.r(n);var a=s(0),e=Object(a.a)({},function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"content"},[t._m(0),t._v(" "),s("MavenBadge4",{attrs:{artifact:"linkify"}}),t._v(" "),s("p",[t._v("A plugin to automatically add links to your markdown. Currently autolinking works for:")]),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4)],1)},[function(){var t=this.$createElement,n=this._self._c||t;return n("h1",{attrs:{id:"linkify"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#linkify","aria-hidden":"true"}},[this._v("#")]),this._v(" Linkify")])},function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("ul",[s("li",[t._v("email ("),s("code",[t._v("me@web.com")]),t._v(")")]),t._v(" "),s("li",[t._v("phone numbers ("),s("code",[t._v("+10000000")]),t._v(")")]),t._v(" "),s("li",[t._v("web URLS")])])},function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"warning custom-block"},[n("p",{staticClass:"custom-block-title"},[this._v("WARNING")]),this._v(" "),n("p",[n("code",[this._v("Linkify")]),this._v(" plugin is based on "),n("code",[this._v("android.text.util.Linkify")]),this._v(" which can lead to significant performance\ndrop due to its implementation based on regex.")])])},function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"danger custom-block"},[n("p",{staticClass:"custom-block-title"},[this._v("WARNING")]),this._v(" "),n("p",[this._v("Do not use "),n("code",[this._v("autolink")]),this._v(" XML attribute on your "),n("code",[this._v("TextView")]),this._v(" as it will remove\nall links except autolinked ones ¯\\_(ツ)_/¯")])])},function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"language-java extra-class"},[s("pre",{pre:!0,attrs:{class:"language-java"}},[s("code",[s("span",{attrs:{class:"token keyword"}},[t._v("final")]),t._v(" Markwon markwon "),s("span",{attrs:{class:"token operator"}},[t._v("=")]),t._v(" Markwon"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("builder")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("context"),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),s("span",{attrs:{class:"token comment"}},[t._v("// will autolink all supported types")]),t._v("\n "),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("usePlugin")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("LinkifyPlugin"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("create")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),s("span",{attrs:{class:"token comment"}},[t._v("// the same as above")]),t._v("\n "),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("usePlugin")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("LinkifyPlugin"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("create")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("\n Linkify"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),t._v("EMAIL_ADDRESSES "),s("span",{attrs:{class:"token operator"}},[t._v("|")]),t._v(" Linkify"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),t._v("PHONE_NUMBERS "),s("span",{attrs:{class:"token operator"}},[t._v("|")]),t._v(" Linkify"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),t._v("WEB_URLS\n "),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),s("span",{attrs:{class:"token comment"}},[t._v("// only emails")]),t._v("\n "),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("usePlugin")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("LinkifyPlugin"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("create")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),t._v("Linkify"),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),t._v("EMAIL_ADDRESSES"),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n "),s("span",{attrs:{class:"token punctuation"}},[t._v(".")]),s("span",{attrs:{class:"token function"}},[t._v("build")]),s("span",{attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{attrs:{class:"token punctuation"}},[t._v(")")]),s("span",{attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])])}],!1,null,null,null);e.options.__file="README.md";n.default=e.exports}}]);