(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{273:function(t,e,s){"use strict";s.r(e);var i=s(0),_=Object(i.a)({},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"content"},[s("img",{attrs:{src:t.$withBase("/art/markwon_logo.png"),alt:"Markwon Logo",width:"50%"}}),t._v(" "),s("p",[s("br"),s("br"),t._v(" "),s("MavenBadges2xx")],1),t._v(" "),s("LegacyWarning"),t._v(" "),s("p",[s("strong",[t._v("Markwon")]),t._v(" is a markdown library for Android. It parses markdown following\n"),s("Link",{attrs:{name:"commonmark-spec"}}),t._v(" with the help of amazing "),s("Link",{attrs:{name:"commonmark-java"}}),t._v(" library\nand renders result as "),s("em",[t._v("Android-native")]),t._v(" Spannables. "),s("strong",[t._v("No HTML")]),t._v(" is involved\nas an intermediate step. "),t._m(0),t._v(". It's extremely fast,\nfeature-rich and extensible.")],1),t._v(" "),s("p",[t._v("It gives ability to display markdown in all TextView widgets ("),s("strong",[t._v("TextView")]),t._v(",\n"),s("strong",[t._v("Button")]),t._v(", "),s("strong",[t._v("Switch")]),t._v(", "),s("strong",[t._v("CheckBox")]),t._v(", etc), "),s("strong",[t._v("Toasts")]),t._v(" and all other places that accept\n"),s("strong",[t._v("Spanned content")]),t._v(". Library provides reasonable defaults to display style of a markdown content\nbut also gives all the means to tweak the appearance if desired. All markdown features\nlisted in "),s("Link",{attrs:{name:"commonmark-spec"}}),t._v(" are supported (including support for "),s("strong",[t._v("inlined/block HTML code")]),t._v(",\n"),s("strong",[t._v("markdown tables")]),t._v(", "),s("strong",[t._v("images")]),t._v(" and "),s("strong",[t._v("syntax highlight")]),t._v(").")],1),t._v(" "),t._m(1),t._v(" "),s("ul",[t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v2/image-loader.html"}},[t._v("Images")])],1),t._v(" "),t._m(7),t._v(" "),t._m(8),t._v(" "),s("li",[t._v("Ordered & non-ordered lists & nested ones")]),t._v(" "),s("li",[t._v("Inline code")]),t._v(" "),s("li",[t._v("Code blocks")]),t._v(" "),t._m(9),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v2/syntax-highlight.html"}},[t._v("Syntax highlight")])],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v2/html.html"}},[t._v("HTML")]),t._v(" "),s("ul",[t._m(10),t._v(" "),t._m(11),t._v(" "),t._m(12),t._v(" "),t._m(13),t._v(" "),t._m(14),t._v(" "),t._m(15),t._v(" "),t._m(16),t._v(" "),t._m(17),t._v(" "),t._m(18),t._v(" "),t._m(19),t._v(" "),t._m(20),t._v(" "),s("li",[t._v("there is support to render any HTML tag, but it will require to create a special "),s("code",[t._v("TagHandler")]),t._v(",\nmore information can be found in "),s("router-link",{attrs:{to:"/docs/v2/html.html#custom-tag-handler"}},[t._v("HTML section")])],1)])],1),t._v(" "),s("li",[t._v("Task lists:")])]),t._v(" "),t._m(21),t._v(" "),t._m(22),t._v(" "),s("img",{attrs:{src:t.$withBase("/art/mw_light_01.png"),alt:"screenshot light #1",width:"30%"}}),t._v(" "),s("img",{attrs:{src:t.$withBase("/art/mw_light_02.png"),alt:"screenshot light #2",width:"30%"}}),t._v(" "),s("img",{attrs:{src:t.$withBase("/art/mw_light_03.png"),alt:"screenshot light #3",width:"30%"}}),t._v(" "),s("img",{attrs:{src:t.$withBase("/art/mw_dark_01.png"),alt:"screenshot dark #2",width:"30%"}}),t._v(" "),s("p",[t._v("By default configuration uses TextView textColor for styling, so changing textColor changes style")]),t._v(" "),s("div",{staticClass:"tip custom-block"},[s("p",{staticClass:"custom-block-title"},[t._v("Sample application")]),t._v(" "),s("p",[t._v("Screenshots are taken from sample application. It is a generic markdown viewer\nwith support to display markdown content via "),s("code",[t._v("http")]),t._v(", "),s("code",[t._v("https")]),t._v(" & "),s("code",[t._v("file")]),t._v(" schemes\nand 2 themes included: Light & Dark. It can be downloaded from "),s("a",{attrs:{href:"https://github.com/noties/Markwon/releases",target:"_blank",rel:"noopener noreferrer"}},[t._v("releases"),s("OutboundLink")],1)])])],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("u",[e("strong",[this._v("No WebView")]),this._v(" is required")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h2",{attrs:{id:"supported-markdown-features"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#supported-markdown-features","aria-hidden":"true"}},[this._v("#")]),this._v(" Supported markdown features:")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Emphasis ("),e("code",[this._v("*")]),this._v(", "),e("code",[this._v("_")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Strong emphasis ("),e("code",[this._v("**")]),this._v(", "),e("code",[this._v("__")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Strike-through ("),e("code",[this._v("~~")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Headers ("),e("code",[this._v("#{1,6}")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Links ("),e("code",[this._v("[]()")]),this._v(" && "),e("code",[this._v("[][]")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Thematic break ("),e("code",[this._v("---")]),this._v(", "),e("code",[this._v("***")]),this._v(", "),e("code",[this._v("___")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Quotes & nested quotes ("),e("code",[this._v(">{1,}")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Tables ("),e("em",[this._v("with limitations")]),this._v(")")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[t._v("Emphasis ("),s("code",[t._v("")]),t._v(", "),s("code",[t._v("")]),t._v(", "),s("code",[t._v("")]),t._v(", "),s("code",[t._v("")]),t._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Strong emphasis ("),e("code",[this._v("")]),this._v(", "),e("code",[this._v("")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("SuperScript ("),e("code",[this._v("")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("SubScript ("),e("code",[this._v("")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Underline ("),e("code",[this._v("")]),this._v(", "),e("code",[this._v("ins")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Strike-through ("),e("code",[this._v("")]),this._v(", "),e("code",[this._v("")]),this._v(", "),e("code",[this._v("")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Link ("),e("code",[this._v("a")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Lists ("),e("code",[this._v("ul")]),this._v(", "),e("code",[this._v("ol")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Images ("),e("code",[this._v("img")]),this._v(" will require configured image loader)")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Blockquote ("),e("code",[this._v("blockquote")]),this._v(")")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("li",[t._v("Heading ("),s("code",[t._v("h1")]),t._v(", "),s("code",[t._v("h2")]),t._v(", "),s("code",[t._v("h3")]),t._v(", "),s("code",[t._v("h4")]),t._v(", "),s("code",[t._v("h5")]),t._v(", "),s("code",[t._v("h6")]),t._v(")")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",[s("li",[t._v("[ ] Not "),s("em",[t._v("done")]),t._v(" "),s("ul",[s("li",[t._v("[X] "),s("strong",[t._v("Done")]),t._v(" with "),s("code",[t._v("X")])]),t._v(" "),s("li",[t._v("[x] "),s("s",[t._v("and")]),t._v(" "),s("strong",[t._v("or")]),t._v(" small "),s("code",[t._v("x")])])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("h2",{attrs:{id:"screenshots"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#screenshots","aria-hidden":"true"}},[this._v("#")]),this._v(" Screenshots")])}],!1,null,null,null);_.options.__file="README.md";e.default=_.exports}}]);