1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{178:function(t,e,s){},203:function(t,e,s){"use strict";var r=s(178);s.n(r).a},271:function(t,e,s){"use strict";s.r(e);s(203);var r=s(0),i=Object(r.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("a",{attrs:{href:"http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.noties.markwon%22%20",target:"_blank",rel:"noopener noreferrer"}},[s("img",{attrs:{src:"https://img.shields.io/maven-central/v/io.noties.markwon/core.svg?label=markwon",alt:"markwon"}}),s("OutboundLink")],1),t._v(" "),s("a",{attrs:{href:"https://github.com/noties/Markwon/actions",target:"_blank",rel:"noopener noreferrer"}},[s("img",{attrs:{src:"https://github.com/noties/Markwon/workflows/Build/badge.svg",alt:"Build"}}),s("OutboundLink")],1)]),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(" "),s("p",[t._v("Since version "),s("Badge",{attrs:{text:"4.2.0"}}),t._v(" "),s("strong",[t._v("Markwon")]),t._v(" comes with an "),s("router-link",{attrs:{to:"/docs/v4/editor/"}},[t._v("editor")]),t._v(" to "),s("em",[t._v("highlight")]),t._v(" markdown input\nas user types (for example in "),s("strong",[t._v("EditText")]),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(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/image/"}},[t._v("Images")])],1),t._v(" "),t._m(6),t._v(" "),t._m(7),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(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/ext-strikethrough/"}},[t._v("Strike-through")]),t._v(" ("),s("code",[t._v("~~")]),t._v(")")],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/ext-tables/"}},[t._v("Tables")]),t._v(" ("),s("em",[t._v("with limitations")]),t._v(")")],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/syntax-highlight/"}},[t._v("Syntax highlight")])],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/ext-latex/"}},[t._v("LaTeX")]),t._v(" formulas")],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/html/"}},[t._v("HTML")]),t._v(" "),s("ul",[t._m(8),t._v(" "),t._m(9),t._v(" "),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(" "),s("li",[t._v("there is support to render any HTML/XML 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/v4/html/#taghandler"}},[t._v("HTML section")])],1)])],1),t._v(" "),s("li",[s("router-link",{attrs:{to:"/docs/v4/ext-tasklist/"}},[t._v("Task lists")]),t._v(":\n"),t._m(19)],1)]),t._v(" "),t._m(20),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(" "),t._m(21),t._v(" "),t._m(22),t._v(" "),s("br"),t._v(" "),s("AwesomeSection"),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://partiko.app/",target:"_blank",rel:"noopener noreferrer"}},[t._v("Partico"),s("OutboundLink")],1),t._v(" - Partiko is a censorship free social network.")]),t._v(" "),s("li",[s("a",{attrs:{href:"https://play.google.com/store/apps/details?id=com.rgiskard.fairnote",target:"_blank",rel:"noopener noreferrer"}},[t._v("FairNote"),s("OutboundLink")],1),t._v(" - simple and intuitive notepad app. It gives you speed and efficiency when you write notes, to-do lists, e-mails, or jot down quick ideas.")]),t._v(" "),s("li",[s("a",{attrs:{href:"https://www.boxcryptor.com",target:"_blank",rel:"noopener noreferrer"}},[t._v("Boxcryptor"),s("OutboundLink")],1),t._v(" - A software that adds AES-256 and RSA encryption to Dropbox, Google Drive, OneDrive and many other clouds.")]),t._v(" "),s("li",[s("a",{attrs:{href:"https://play.google.com/store/apps/details?id=com.senstone",target:"_blank",rel:"noopener noreferrer"}},[t._v("Senstone Portable Voice Assistant"),s("OutboundLink")],1),t._v(" - Senstone is a tiny wearable personal assistant powered by this App. It lets you capture your ideas, notes and reminders handsfree without pulling out your phone.")])]),t._v(" "),t._m(23),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/kingideayou/MarkwonCodeEx",target:"_blank",rel:"noopener noreferrer"}},[t._v("MarkwonCodeEx"),s("OutboundLink")],1),t._v(" - Markwon extension support elegant code background.")])]),t._v(" "),s("hr"),t._v(" "),s("p",[s("a",{attrs:{href:"https://github.com/noties/Markwon/issues/new?labels=awesome&body=Please%20provide%20the%20following%3A%0A*%20Project%20name%0A*%20Project%20URL%20(repository%2C%20store%20listing%2C%20web%20page)%0A*%20Optionally%20_brand_%20image%20URL%0A%0APlease%20make%20sure%20that%20there%20is%20the%20**awesome**%20label%20selected%20for%20this%20issue.%0A%0A%F0%9F%99%8C%20",target:"_blank",rel:"noopener noreferrer"}},[t._v("Help to improve"),s("OutboundLink")],1),t._v(" this section by submitting your application or library\nthat is using "),s("code",[t._v("Markwon")])])],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("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,e=t.$createElement,s=t._self._c||e;return s("li",[t._v("Emphasis ("),s("code",[t._v("<i>")]),t._v(", "),s("code",[t._v("<em>")]),t._v(", "),s("code",[t._v("<cite>")]),t._v(", "),s("code",[t._v("<dfn>")]),t._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Strong emphasis ("),e("code",[this._v("<b>")]),this._v(", "),e("code",[this._v("<strong>")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("SuperScript ("),e("code",[this._v("<sup>")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("SubScript ("),e("code",[this._v("<sub>")]),this._v(")")])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[this._v("Underline ("),e("code",[this._v("<u>")]),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("<s>")]),this._v(", "),e("code",[this._v("<strike>")]),this._v(", "),e("code",[this._v("<del>")]),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",{staticStyle:{"list-style-type":"none",margin:"0",padding:"0"}},[s("li",[s("input",{attrs:{type:"checkbox",disabled:""}}),t._v("Not "),s("i",[t._v("done")])]),t._v(" "),s("li",[s("input",{attrs:{type:"checkbox",disabled:"",checked:""}}),s("strong",[t._v("Done")]),t._v(" with "),s("code",[t._v("X")])]),t._v(" "),s("li",[s("input",{attrs:{type:"checkbox",disabled:"",checked:""}}),s("del",[t._v("and")]),t._v(" "),s("strong",[t._v("or")]),t._v(" small "),s("code",[t._v("x")])]),s("br")])},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")])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[this._v("By default configuration uses TextView textColor for styling, so changing textColor changes style\n"),e("br"),e("br"),e("br")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"awesome-block"},[e("h2",{attrs:{id:"awesome-markwon"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#awesome-markwon","aria-hidden":"true"}},[this._v("#")]),this._v(" # Awesome Markwon")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("u",[this._v("Extension/plugins")]),this._v(":")])}],!1,null,null,null);i.options.__file="README.md";e.default=i.exports}}]); |