diff --git a/app/src/main/java/ru/noties/markwon/MarkdownRenderer.java b/app/src/main/java/ru/noties/markwon/MarkdownRenderer.java index 73adc541..a55d82dc 100644 --- a/app/src/main/java/ru/noties/markwon/MarkdownRenderer.java +++ b/app/src/main/java/ru/noties/markwon/MarkdownRenderer.java @@ -25,7 +25,6 @@ import ru.noties.markwon.image.file.FileSchemeHandler; import ru.noties.markwon.image.gif.GifMediaDecoder; import ru.noties.markwon.image.network.OkHttpNetworkSchemeHandler; import ru.noties.markwon.image.svg.SvgMediaDecoder; -import ru.noties.markwon.linkify.LinkifyPlugin; import ru.noties.markwon.syntax.Prism4jTheme; import ru.noties.markwon.syntax.Prism4jThemeDarkula; import ru.noties.markwon.syntax.Prism4jThemeDefault; @@ -108,7 +107,6 @@ public class MarkdownRenderer { .addMediaDecoder(SvgMediaDecoder.create()); } })) - .usePlugin(LinkifyPlugin.create()) .usePlugin(SyntaxHighlightPlugin.create(prism4j, prism4jTheme)) .usePlugin(GifAwarePlugin.create(context)) .usePlugin(TablePlugin.create(context)) diff --git a/markwon-linkify/README.md b/markwon-linkify/README.md index 62d2cc75..12d90c14 100644 --- a/markwon-linkify/README.md +++ b/markwon-linkify/README.md @@ -2,4 +2,8 @@ Use this module (or take a hint from it) if you would need _linkify_ capabilities. Do not use `TextView.setAutolinkMask` (or specify `autolink` in XML) because it will remove all -existing links and keep only the ones it creates. \ No newline at end of file +existing links and keep only the ones it creates. + +Please note that usage of this plugin introduces significant performance drop due not +optimal implementation of underlying `android.text.util.Linkify`. If you have any ideas of how +to improve this - PR are welcome! \ No newline at end of file