diff --git a/docs/index.html b/docs/index.html index bbd55ef..45fd0bc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,7 +1,7 @@ -QMarkdown demo app
\ No newline at end of file + })();
\ No newline at end of file diff --git a/docs/js/app.d4e25b30.js b/docs/js/app.d4e25b30.js deleted file mode 100644 index e9fb9af..0000000 --- a/docs/js/app.d4e25b30.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,n,t){e.exports=t("2f39")},"0047":function(e,n,t){},"018e":function(e,n){},"15d7":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable images"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable links"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-toggle",{attrs:{label:"Disable linkify"},model:{value:e.model3,callback:function(n){e.model3=n},expression:"model3"}}),t("q-markdown",{attrs:{"no-image":e.model,"no-link":e.model2,"no-linkify":e.model3}},[e._v('\nMax fixed size image: 200x200; responsive\n![Minion](https://octodex.github.com/images/minion.png =200x200)\n\nMax fixed size image: 300x300; with title; responsive\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat" =300x300)\n\nResponsive image - adjust browser to see auto-resize\n![Minion](https://octodex.github.com/images/minion.png "Responsive Image")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location (see code for markdown):\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n ')])],1)},o=[],i={data:function(){return{model:!1,model2:!1,model3:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"18ad":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable subscript"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable superscript"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-markdown",{attrs:{"no-subscript":e.model,"no-superscript":e.model2}},[e._v("\n- 19^th^\n- H~2~O\n ")])],1)},o=[],i={data:function(){return{model:!1,model2:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"1ca5":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable definition lists"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-deflist":e.model}},[e._v("\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"1cf7":function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){return Promise.resolve().then((function(){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var o=a[e];return t(o)}))}o.keys=function(){return Object.keys(a)},o.id="1cf7",e.exports=o},"280d":function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){return i(e).then(t)}function i(e){return Promise.resolve().then((function(){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}))}o.keys=function(){return Object.keys(a)},o.resolve=i,o.id="280d",e.exports=o},"2ab8":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable HTML"},model:{value:e.noHtml,callback:function(n){e.noHtml=n},expression:"noHtml"}}),t("q-toggle",{attrs:{label:"Disable Link"},model:{value:e.noLink,callback:function(n){e.noLink=n},expression:"noLink"}}),t("q-toggle",{attrs:{label:"Disable Linkify"},model:{value:e.noLinkify,callback:function(n){e.noLinkify=n},expression:"noLinkify"}}),t("q-toggle",{attrs:{label:"Disable Typographer"},model:{value:e.noTypographer,callback:function(n){e.noTypographer=n},expression:"noTypographer"}}),t("q-toggle",{attrs:{label:"Disable Breaks"},model:{value:e.noBreaks,callback:function(n){e.noBreaks=n},expression:"noBreaks"}}),t("q-toggle",{attrs:{label:"Disable Highlight"},model:{value:e.noHighlight,callback:function(n){e.noHighlight=n},expression:"noHighlight"}}),t("q-toggle",{attrs:{label:"Disable Emoji"},model:{value:e.noEmoji,callback:function(n){e.noEmoji=n},expression:"noEmoji"}}),t("q-toggle",{attrs:{label:"Disable Subscript"},model:{value:e.noSubscript,callback:function(n){e.noSubscript=n},expression:"noSubscript"}}),t("q-toggle",{attrs:{label:"Disable Superscript"},model:{value:e.noSuperscript,callback:function(n){e.noSuperscript=n},expression:"noSuperscript"}}),t("q-toggle",{attrs:{label:"Disable Footnote"},model:{value:e.noFootnote,callback:function(n){e.noFootnote=n},expression:"noFootnote"}}),t("q-toggle",{attrs:{label:"Disable Deflist"},model:{value:e.noDeflist,callback:function(n){e.noDeflist=n},expression:"noDeflist"}}),t("q-toggle",{attrs:{label:"Disable Abbreviation"},model:{value:e.noAbbreviation,callback:function(n){e.noAbbreviation=n},expression:"noAbbreviation"}}),t("q-toggle",{attrs:{label:"Disable Insert"},model:{value:e.noInsert,callback:function(n){e.noInsert=n},expression:"noInsert"}}),t("q-toggle",{attrs:{label:"Disable Mark"},model:{value:e.noMark,callback:function(n){e.noMark=n},expression:"noMark"}}),t("q-toggle",{attrs:{label:"Disable Image"},model:{value:e.noImage,callback:function(n){e.noImage=n},expression:"noImage"}}),t("q-toggle",{attrs:{label:"Disable Tasklist"},model:{value:e.noTasklist,callback:function(n){e.noTasklist=n},expression:"noTasklist"}}),t("q-toggle",{attrs:{label:"Disable Container"},model:{value:e.noContainer,callback:function(n){e.noContainer=n},expression:"noContainer"}}),t("div",{staticClass:"q-pa-md q-gutter-sm fit"},[t("q-markdown",{attrs:{noHtml:e.noHtml,noLink:e.noLink,noLinkify:e.noLinkify,noTypographer:e.noTypographer,noBreaks:e.noBreaks,noHighlight:e.noHighlight,noEmoji:e.noEmoji,noSubscript:e.noSubscript,noSuperscript:e.noSuperscript,noFootnote:e.noFootnote,noDeflist:e.noDeflist,noAbbreviation:e.noAbbreviation,noInsert:e.noInsert,noMark:e.noMark,noImage:e.noImage,noTasklist:e.noTasklist,noContainer:e.noContainer}},[e._v("\n## Interactive Editor\n\nAdd Markdown to the window on the left and the output will appear on the right.\n ")]),t("q-splitter",{staticStyle:{height:"500px"},scopedSlots:e._u([{key:"separator",fn:function(){return[t("q-avatar",{attrs:{color:"primary","text-color":"white",size:"28px",icon:"fas fa-arrows-alt-h"}})]},proxy:!0},{key:"before",fn:function(){return[t("div",{staticClass:"q-pa-md"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.markdown,expression:"markdown"}],staticClass:"fit q-pa-sm",attrs:{rows:"20"},domProps:{value:e.markdown},on:{input:function(n){n.target.composing||(e.markdown=n.target.value)}}})])]},proxy:!0},{key:"after",fn:function(){return[t("div",{staticClass:"q-pa-md",staticStyle:{height:"467px"}},[t("q-markdown",{staticClass:"fit bordered q-pa-sm",attrs:{src:e.markdown}})],1)]},proxy:!0}]),model:{value:e.splitterModel,callback:function(n){e.splitterModel=n},expression:"splitterModel"}})],1)],1)},o=[],i={data:function(){return{splitterModel:50,markdown:"",noHtml:!1,noLink:!1,noLinkify:!1,noTypographer:!1,noBreaks:!1,noHighlight:!1,noEmoji:!1,noSubscript:!1,noSuperscript:!1,noFootnote:!1,noDeflist:!1,noAbbreviation:!1,noInsert:!1,noMark:!1,noImage:!1,noTasklist:!1,noContainer:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"2ef9":function(e,n,t){"use strict";var a=t("abe5"),o=t.n(a);o.a},"2f39":function(e,n,t){"use strict";t.r(n);var a={};t.r(a),t.d(a,"toc",(function(){return ae}));var o={};t.r(o),t.d(o,"toc",(function(){return re}));var i=t("967e"),r=t.n(i),s=(t("a481"),t("96cf"),t("fa84")),l=t.n(s),u=(t("5c7d"),t("573e"),t("7d6e"),t("e54f"),t("985d"),t("0047"),t("46f6"),t("9922"),t("be56"),t("2b0e")),c=t("b05d"),d=t("cb32"),f=t("9c40"),m=t("f09f"),b=t("a370"),p=t("9404"),h=t("d66b"),v=t("3b73"),g=t("e359"),k=t("0016"),q=t("66e5"),_=t("0170"),x=t("4074"),w=t("4d5a"),y=t("1c1c"),L=t("4e73"),T=t("9989"),E=t("09e3"),C=t("5096"),S=t("4983"),D=t("eb85"),j=t("2c91"),O=t("8562"),I=t("7460"),H=t("429b"),M=t("823b"),B=t("adad"),A=t("9564"),Q=t("65c6"),F=t("6ac5"),N=t("05c0"),$=t("7f67"),P=t("714f"),R=t("4396"),U=t("ff52"),z=t("2a19"),V=t("0967"),J=t("09f9");u["a"].use(c["a"],{config:{dark:"auto"},components:{QAvatar:d["a"],QBtn:f["a"],QCard:m["a"],QCardSection:b["a"],QDrawer:p["a"],QEditor:h["a"],QExpansionItem:v["a"],QHeader:g["a"],QIcon:k["a"],QItem:q["a"],QItemLabel:_["a"],QItemSection:x["a"],QLayout:w["a"],QList:y["a"],QMenu:L["a"],QPage:T["a"],QPageContainer:E["a"],QPageScroller:C["a"],QScrollArea:S["a"],QSeparator:D["a"],QSpace:j["a"],QSplitter:O["a"],QTab:I["a"],QTabs:H["a"],QTabPanel:M["a"],QTabPanels:B["a"],QToggle:A["a"],QToolbar:Q["a"],QToolbarTitle:F["a"],QTooltip:N["a"]},directives:{ClosePopup:$["a"],Ripple:P["a"],Scroll:R["a"]},plugins:{Dark:U["a"],Notify:z["a"],Platform:V["b"],Screen:J["a"]}});var W=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"q-app"}},[t("router-view")],1)},Y=[],G={name:"App"},Z=G,K=t("2877"),X=Object(K["a"])(Z,W,Y,!1,null,null,null),ee=X.exports,ne=t("2f62"),te={toc:[]},ae=function(e){return e.toc},oe=t("4db1"),ie=t.n(oe),re=function(e,n){var t;(t=e.toc).splice.apply(t,[0,e.toc.length].concat(ie()(n)))},se=t("018e"),le={namespaced:!0,state:te,getters:a,mutations:o,actions:se};u["a"].use(ne["a"]);var ue=function(){var e=new ne["a"].Store({modules:{common:le},strict:!1});return e},ce=t("8c4f"),de=[{path:"/",redirect:"/docs"},{path:"/docs",component:function(){return t.e("2d0d5fdf").then(t.bind(null,"713b"))},children:[{path:"",component:function(){return t.e("bfbea65e").then(t.bind(null,"8b24"))}}]},{path:"/examples",component:function(){return t.e("2d0d5fdf").then(t.bind(null,"713b"))},children:[{path:"",component:function(){return t.e("d9997f74").then(t.bind(null,"0960"))}}]},{path:"/demo",component:function(){return t.e("2d21adb6").then(t.bind(null,"bcfe"))},children:[{path:"",component:function(){return t.e("449709f4").then(t.bind(null,"be56a"))}}]}];de.push({path:"*",component:function(){return t.e("4b47640d").then(t.bind(null,"e51e"))}});var fe=de;u["a"].use(ce["a"]);var me=function(){var e=new ce["a"]({scrollBehavior:function(){return{x:0,y:0}},routes:fe,mode:"history",base:"/quasar-ui-qmarkdown/"});return e},be=function(){return pe.apply(this,arguments)};function pe(){return pe=l()(r.a.mark((function e(){var n,t,a;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("function"!==typeof ue){e.next=6;break}return e.next=3,ue({Vue:u["a"]});case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=ue;case 7:if(n=e.t0,"function"!==typeof me){e.next=14;break}return e.next=11,me({Vue:u["a"],store:n});case 11:e.t1=e.sent,e.next=15;break;case 14:e.t1=me;case 15:return t=e.t1,n.$router=t,a={el:"#q-app",router:t,store:n,render:function(e){return e(ee)}},e.abrupt("return",{app:a,store:n,router:t});case 19:case"end":return e.stop()}}),e)}))),pe.apply(this,arguments)}var he=function(e){var n=e.Vue,a=t("f5e2").default,o=function(e){t("280d")("./".concat(a[e].file,".vue")).then((function(t){n.component(a[e].file,t.default)}))};for(var i in a)o(i)},ve=t("384e");u["a"].use(ve["b"]);var ge=t("a670"),ke=t("0ce9"),qe=t("2abd");function _e(){return xe.apply(this,arguments)}function xe(){return xe=l()(r.a.mark((function e(){var n,t,a,o,i,s,l,c,d;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,be();case 2:n=e.sent,t=n.app,a=n.store,o=n.router,i=!0,s=function(e){i=!1,window.location.href=e},l=window.location.href.replace(window.location.origin,""),c=[he,void 0,ge["default"],ke["default"],qe["default"]],d=0;case 11:if(!(!0===i&&d')+"".concat(a,"\n")}return""}function S(e){e.renderer.rules.blockquote_open=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--note"),o.renderToken(e,n,t)}}var D=t("4db1"),j=t.n(D),O=t("e194"),I=t.n(O);function H(e,n){return[I.a,e,{render:function(t,a){var o=t[a],i=o.info.trim().slice(e.length).trim();return 1===o.nesting?'

').concat(i||n,"

\n"):"
\n"}}]}function M(e){var n,t,a,o;(n=(t=(a=(o=e.use.apply(e,j()(H("info","INFO")))).use.apply(o,j()(H("tip","TIP")))).use.apply(a,j()(H("warning","WARNING")))).use.apply(t,j()(H("danger","IMPORTANT")))).use.apply(n,j()(H("",""))).use(I.a,"v-pre",{render:function(e,n){return 1===e[n].nesting?"
\n":"
\n"}})}t("a481");function B(e){return encodeURIComponent(String(e).trim().replace(/\s+/g,"-"))}function A(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3;e.renderer.rules.heading_open=function(e,i,r,s,l){var u=e[i],c=e[i+1].children.reduce((function(e,n){return e+n.content}),""),d="q-markdown--heading-".concat(u.tag);"="===u.markup?d+=" q-markdown--title-heavy":"-"===u.markup&&(d+=" q-markdown--title-light");var f=B(c);if(u.attrSet("id",f),u.attrSet("name",f),u.attrSet("class",d),t){var m=parseInt(u.tag[1]);a&&o&&a=a&&m<=o&&n.push({id:f,label:c,level:m,children:[]})}return l.renderToken(e,i,r)}}function Q(e){e.renderer.rules.image=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--image"),o.renderToken(e,n,t)}}t("f559");function F(e){e.renderer.rules.link_open=function(e,n,t,a,o){var i=e[n],r=i.attrIndex("href");return"/"===i.attrs[r][1][0]||"#"===i.attrs[r][1][0]||i.attrs[r][1].startsWith("..")?i.attrSet("class","q-markdown--link q-markdown--link-local"):(i.attrSet("class","q-markdown--link q-markdown--link-external"),i.attrSet("target","_blank")),o.renderToken(e,n,t)}}function N(e){e.renderer.rules.table_open=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--table"),o.renderToken(e,n,t)}}function $(e){var n=e.renderer.rules.code_inline;e.renderer.rules.code_inline=function(e,t,a,o,i){var r=e[t];return r.attrSet("class","q-markdown--token"),n(e,t,a,o,i)}}t("28a5");function P(e,n){var t=e.renderer.rules.fence;e.renderer.rules.fence=function(){var e=t.apply(void 0,arguments),a=e.slice(e.indexOf("")+6,e.indexOf("")),o=a.trim().split("\n");if(o.length<3)return e;var i=j()(Array(o.length)).map((function(e,t){return'
'.concat(void 0===n?t+1:n,"
")})).join(""),r='
'.concat(i,'
').concat(e,"
"),s='
'.concat(r,"
");return s}}var R=t("f75b"),U={},z={name:"QMarkdown",props:{src:{type:String,default:""},noAbbreviation:Boolean,noBreaks:Boolean,noContainer:Boolean,noDeflist:Boolean,noEmoji:Boolean,noFootnote:Boolean,noHighlight:Boolean,noHtml:Boolean,noImage:Boolean,noInsert:Boolean,noLineNumbers:Boolean,noLink:Boolean,noLinkify:Boolean,noMark:Boolean,noSubscript:Boolean,noSuperscript:Boolean,noTasklist:Boolean,noTypographer:Boolean,lineNumberAlt:{type:String,validator:function(e){return 1===e.length}},toc:Boolean,tocStart:{type:Number,default:1,validator:function(e){return e>=1&&e<=5}},tocEnd:{type:Number,default:3,validator:function(e){return e>=2&&e<=6}},taskListsEnable:Boolean,taskListsLabel:Boolean,taskListsLabelAfter:Boolean,extend:Function,extendPrism:Function,contentStyle:[String,Object,Array],contentClass:[String,Object,Array]},data:function(){return{source:this.src,rebuild:!0,uid:0}},beforeMount:function(){this.uid=Object(R["a"])()},destroyed:function(){this.__deleteCache(this.uid)},watch:{src:function(){this.source=this.src},noAbbreviation:function(){this.rebuild=!0},noBreaks:function(){this.rebuild=!0},noContainer:function(){this.rebuild=!0},noDeflist:function(){this.rebuild=!0},noEmoji:function(){this.rebuild=!0},noFootnote:function(){this.rebuild=!0},noHighlight:function(){this.rebuild=!0},noHtml:function(){this.rebuild=!0},noImage:function(){this.rebuild=!0},noInsert:function(){this.rebuild=!0},noLineNumbers:function(){this.rebuild=!0},noLink:function(){this.rebuild=!0},noLinkify:function(){this.rebuild=!0},noMark:function(){this.rebuild=!0},noSubscript:function(){this.rebuild=!0},noSuperscript:function(){this.rebuild=!0},noTasklist:function(){this.rebuild=!0},noTypographer:function(){this.rebuild=!0},lineNumberAlt:function(){this.rebuild=!0},toc:function(){this.rebuild=!0},tocStart:function(){this.rebuild=!0},tocEnd:function(){this.rebuild=!0},taskListsEnable:function(){this.rebuild=!0},taskListsLabel:function(){this.rebuild=!0},taskListsLabelAfter:function(){this.rebuild=!0},extend:function(){this.rebuild=!0}},methods:{__isEnabled:function(e){return void 0===e||!1===e},__isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},__setCache:function(e,n){U[e]=n},__getCache:function(e){return U[e]},__deleteCache:function(e){U[e]&&delete U[e]},makeTree:function(e){for(var n=[],t=null,a=function(e){if(1===e.level)t=e,n.push(e);else if(2===e.level)t.children.push(e);else{for(var a=t,o=0;o0&&l.disable(c),this.__isFunction(this.extend)&&this.extend(l),this.__setCache(this.uid,l)}var f=this.__getCache(this.uid),b=f.render(a);return this.toc&&t.length>0&&this.$emit("data",t),e("div",{staticClass:"q-markdown",class:this.contentClass,style:this.contentStyle,domProps:{innerHTML:b}})}},V=function(e){var n="";if(e&&e.length>0){var t="",o=e.indexOf(t),i=e.lastIndexOf(a);o>-1&&i>-1&&(n=e.substring(o,i+a.length))}return n},J=function(e){var n=!("undefined"===typeof window||!window.document||!window.document.createElement);if(!0!==n)return{};var t,a={},o=V(e);o&&o.length>0&&(a.template=o);var i=document.createElement("html");return i.innerHTML=e,t=i.getElementsByTagName("script"),t.length>0&&(a.script=t[0].outerHTML),t=i.getElementsByTagName("style"),t.length>0&&(a.style=t[0].outerHTML),a};t.d(n,"c",(function(){return a["a"]})),t.d(n,"a",(function(){return z}));n["b"]={version:a["a"],QMarkdown:z,getTagParts:J,install:function(e){e.component(z.name,z)}}},"485d":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable tasklist"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Tasklist enable"},model:{value:e.taskListsEnable,callback:function(n){e.taskListsEnable=n},expression:"taskListsEnable"}}),t("q-toggle",{attrs:{label:"Tasklist label"},model:{value:e.taskListsLabel,callback:function(n){e.taskListsLabel=n},expression:"taskListsLabel"}}),t("q-toggle",{attrs:{label:"Tasklist label after",disable:!e.taskListsLabel},model:{value:e.taskListsLabelAfter,callback:function(n){e.taskListsLabelAfter=n},expression:"taskListsLabelAfter"}}),t("q-markdown",{attrs:{"no-tasklist":e.model,"task-lists-enable":e.taskListsEnable,"task-lists-label":e.taskListsLabel,"task-lists-label-after":e.taskListsLabelAfter}},[e._v("\n### Solar System Exploration, 1950s – 1960s\n\n- [ ] Mercury\n- [x] Venus\n- [x] Earth (Orbit/Moon)\n- [x] Mars\n- [ ] Jupiter\n- [ ] Saturn\n- [ ] Uranus\n- [ ] Neptune\n- [ ] Comet Haley\n ")])],1)},o=[],i={data:function(){return{model:!1,taskListsEnable:!1,taskListsLabel:!1,taskListsLabelAfter:!1}},watch:{taskListsLabel:function(e){e||(this.taskListsLabelAfter=!1)}}},r=i,s=(t("2ef9"),t("2877")),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"4a86":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable typographer"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-typographer":e.model}},[e._v("\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!...\n\n!!!!!! ???? ,, -- ---\n\nSmartypants: \"double quotes\" and 'single quotes'\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"4b47":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable mark"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-mark":e.model}},[e._v("\n==This sentence is is marked.==\n\nThis is ==marked== in the middle of a sentence.\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"5fbe":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable links"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable linkify"},model:{value:e.model1,callback:function(n){e.model1=n},expression:"model1"}}),t("q-markdown",{attrs:{"no-link":e.model,"no-linkify":e.model1}},[e._v('\n[External Link](https://github.com/quasarframework/quasar)\n\n[local link](/heading)\n\n[link with title](https://github.com/quasarframework/quasar/ "title text!")\n\nAuto-converted link: https://github.com/quasarframework/quasar\n ')])],1)},o=[],i={data:function(){return{model:!1,model1:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},6327:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nCenter aligned columns\n\n| Option | Description |\n|:------:|:-----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"694e":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"})},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"6af2":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable insert"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-insert":e.model}},[e._v("\n++This sentence is is inserted.++\n\nThis is ++inserted++ in the middle of a sentence.\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"72df":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable emojies"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-emoji":e.model}},[e._v("\nClassic markup: :wink: :joy: :cry: :angel: :heart: :beers: :laughing: :yum:\n\nShortcuts (emoticons): :-) :-( 8-) ;)\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},7702:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n> This is a Blockquote\n> with a `token` and a [link](https://quasar.dev)\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"82f7":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable highlighting"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable line numbers"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-markdown",{attrs:{"no-highlight":e.model,"no-line-numbers":e.model2}},[e._v('\n Indented code\n\nInline `code`\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\nBlock code "fences"\n\n```\nSample text here...\n```\n\nSyntax highlighting\n\n```js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n```\n ')])],1)},o=[],i={data:function(){return{model:!1,model2:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},9889:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},a413:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable abbreviations"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-abbreviation":e.model}},[e._v('\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n ')])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},ab0b:function(e){e.exports=JSON.parse('{"a":"1.0.12"}')},ab7e:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\nUnordered\n\n+ Create an unordered list by starting a line with `+`, `-`, or `*`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Create an ordered list by starting a line with a number (ie: `1.`)\n2. Lorem ipsum dolor sit amet\n3. Consectetur adipiscing elit\n4. Integer molestie lorem at massa\n---\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n indented\n1. List with a container\n ::: info\n use 3 or more spaces\n :::\n1. List with code\n ```js\n var foo = function (bar) {\n return bar++;\n };\n\n console.log(foo(5));\n ```\n\nDifferent lists must be split or the lists will be combined (see code):\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n2. baz\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},abe5:function(e,n,t){},c50f:function(e,n,t){var a={"./Abbreviations.vue":["bda3","2d21b0aa"],"./Blockquotes.vue":["eeab","2d2311b7"],"./Code.vue":["8712","2d0dea56"],"./Containers.vue":["c271","2d21643f"],"./DefinitionLists.vue":["a66d","2d208a99"],"./Editor.vue":["1e63","2d0b6907"],"./Emojies.vue":["cc21","2d221b95"],"./Emphasis.vue":["f124","2d22bd03"],"./Footnotes.vue":["0140","2d0a3133"],"./Heading.vue":["6c79","2d0da785"],"./HorizontalRules.vue":["f309","2d22c44c"],"./Images.vue":["6dae","2d0db088"],"./Insert.vue":["a966","2d2095ae"],"./Links.vue":["e654","2d225bc6"],"./Lists.vue":["aa0b","2d212b48"],"./Mark.vue":["61e3","2d0cf15f"],"./Rules.vue":["56f5","2d0c8fe6"],"./SubscriptSuperscript.vue":["00bd","2d0a3338"],"./Tables.vue":["83e4","2d0de1a0"],"./TaskLists.vue":["fb10","2d2374d1"],"./Titles.vue":["f29e","2d22c1ce"],"./Typography.vue":["ac53","2d213336"]};function o(e){if(!t.o(a,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],o=n[0];return t.e(n[1]).then((function(){return t(o)}))}o.keys=function(){return Object.keys(a)},o.id="c50f",e.exports=o},cb59:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n___\n\n---\n\n***\n ")])],1)},o=[],i=t("2877"),r={},s=Object(i["a"])(r,a,o,!1,null,null,null);n["default"]=s.exports},ed3a:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n**This is bold text**\n\n__This is bold text, second way__\n\n*This is italic text*\n\n_This is italic text, second way_\n\n**_This is bold italic text_**\n\n___This is bold italic text, second way___\n\n~~This is Strikethrough~~\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},f5e2:function(e,n,t){"use strict";t.r(n);t("ac6a"),t("cadf"),t("06db"),t("a481");function a(e){var n=e.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,(function(e){return"-"+e.toLowerCase()}));return e[0]===e[0].toUpperCase()?n.substring(1):n}function o(e){return encodeURIComponent(String(e).trim().replace(/\s+/g,"-"))}n["default"]=t("fa3e").keys().map((function(e){return e.slice(2).replace(".vue","")})).filter((function(e){return"Index"!==e})).map((function(e){return{file:e,title:e+".vue",path:o(a(e))}}))},f87c:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\nTop-Level Title\n===\n\nSecond-Level Title\n---\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},fa3e:function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){var n=i(e);return t(n)}function i(e){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=i,e.exports=o,o.id="fa3e"}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/docs/js/app.ed9b4da4.js b/docs/js/app.ed9b4da4.js new file mode 100644 index 0000000..8ca8cf6 --- /dev/null +++ b/docs/js/app.ed9b4da4.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(e,n,t){e.exports=t("2f39")},"0047":function(e,n,t){},"018e":function(e,n){},"15d7":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable images"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable links"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-toggle",{attrs:{label:"Disable linkify"},model:{value:e.model3,callback:function(n){e.model3=n},expression:"model3"}}),t("q-markdown",{attrs:{"no-image":e.model,"no-link":e.model2,"no-linkify":e.model3}},[e._v('\nMax fixed size image: 200x200; responsive\n![Minion](https://octodex.github.com/images/minion.png =200x200)\n\nMax fixed size image: 300x300; with title; responsive\n![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat" =300x300)\n\nResponsive image - adjust browser to see auto-resize\n![Minion](https://octodex.github.com/images/minion.png "Responsive Image")\n\nLike links, Images also have a footnote style syntax\n\n![Alt text][id]\n\nWith a reference later in the document defining the URL location (see code for markdown):\n\n[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"\n\n ')])],1)},o=[],i={data:function(){return{model:!1,model2:!1,model3:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"18ad":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable subscript"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable superscript"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-markdown",{attrs:{"no-subscript":e.model,"no-superscript":e.model2}},[e._v("\n- 19^th^\n- H~2~O\n ")])],1)},o=[],i={data:function(){return{model:!1,model2:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"1ca5":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable definition lists"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-deflist":e.model}},[e._v("\nTerm 1\n\n: Definition 1\nwith lazy continuation.\n\nTerm 2 with *inline markup*\n\n: Definition 2\n\n { some code, part of Definition 2 }\n\n Third paragraph of definition 2.\n\n_Compact style:_\n\nTerm 1\n ~ Definition 1\n\nTerm 2\n ~ Definition 2a\n ~ Definition 2b\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"1cf7":function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){return Promise.resolve().then((function(){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var o=a[e];return t(o)}))}o.keys=function(){return Object.keys(a)},o.id="1cf7",e.exports=o},"280d":function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){return i(e).then(t)}function i(e){return Promise.resolve().then((function(){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}))}o.keys=function(){return Object.keys(a)},o.resolve=i,o.id="280d",e.exports=o},"2ab8":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable HTML"},model:{value:e.noHtml,callback:function(n){e.noHtml=n},expression:"noHtml"}}),t("q-toggle",{attrs:{label:"Disable Link"},model:{value:e.noLink,callback:function(n){e.noLink=n},expression:"noLink"}}),t("q-toggle",{attrs:{label:"Disable Linkify"},model:{value:e.noLinkify,callback:function(n){e.noLinkify=n},expression:"noLinkify"}}),t("q-toggle",{attrs:{label:"Disable Typographer"},model:{value:e.noTypographer,callback:function(n){e.noTypographer=n},expression:"noTypographer"}}),t("q-toggle",{attrs:{label:"Disable Breaks"},model:{value:e.noBreaks,callback:function(n){e.noBreaks=n},expression:"noBreaks"}}),t("q-toggle",{attrs:{label:"Disable Highlight"},model:{value:e.noHighlight,callback:function(n){e.noHighlight=n},expression:"noHighlight"}}),t("q-toggle",{attrs:{label:"Disable Emoji"},model:{value:e.noEmoji,callback:function(n){e.noEmoji=n},expression:"noEmoji"}}),t("q-toggle",{attrs:{label:"Disable Subscript"},model:{value:e.noSubscript,callback:function(n){e.noSubscript=n},expression:"noSubscript"}}),t("q-toggle",{attrs:{label:"Disable Superscript"},model:{value:e.noSuperscript,callback:function(n){e.noSuperscript=n},expression:"noSuperscript"}}),t("q-toggle",{attrs:{label:"Disable Footnote"},model:{value:e.noFootnote,callback:function(n){e.noFootnote=n},expression:"noFootnote"}}),t("q-toggle",{attrs:{label:"Disable Deflist"},model:{value:e.noDeflist,callback:function(n){e.noDeflist=n},expression:"noDeflist"}}),t("q-toggle",{attrs:{label:"Disable Abbreviation"},model:{value:e.noAbbreviation,callback:function(n){e.noAbbreviation=n},expression:"noAbbreviation"}}),t("q-toggle",{attrs:{label:"Disable Insert"},model:{value:e.noInsert,callback:function(n){e.noInsert=n},expression:"noInsert"}}),t("q-toggle",{attrs:{label:"Disable Mark"},model:{value:e.noMark,callback:function(n){e.noMark=n},expression:"noMark"}}),t("q-toggle",{attrs:{label:"Disable Image"},model:{value:e.noImage,callback:function(n){e.noImage=n},expression:"noImage"}}),t("q-toggle",{attrs:{label:"Disable Tasklist"},model:{value:e.noTasklist,callback:function(n){e.noTasklist=n},expression:"noTasklist"}}),t("q-toggle",{attrs:{label:"Disable Container"},model:{value:e.noContainer,callback:function(n){e.noContainer=n},expression:"noContainer"}}),t("div",{staticClass:"q-pa-md q-gutter-sm fit"},[t("q-markdown",{attrs:{noHtml:e.noHtml,noLink:e.noLink,noLinkify:e.noLinkify,noTypographer:e.noTypographer,noBreaks:e.noBreaks,noHighlight:e.noHighlight,noEmoji:e.noEmoji,noSubscript:e.noSubscript,noSuperscript:e.noSuperscript,noFootnote:e.noFootnote,noDeflist:e.noDeflist,noAbbreviation:e.noAbbreviation,noInsert:e.noInsert,noMark:e.noMark,noImage:e.noImage,noTasklist:e.noTasklist,noContainer:e.noContainer}},[e._v("\n## Interactive Editor\n\nAdd Markdown to the window on the left and the output will appear on the right.\n ")]),t("q-splitter",{staticStyle:{height:"500px"},scopedSlots:e._u([{key:"separator",fn:function(){return[t("q-avatar",{attrs:{color:"primary","text-color":"white",size:"28px",icon:"fas fa-arrows-alt-h"}})]},proxy:!0},{key:"before",fn:function(){return[t("div",{staticClass:"q-pa-md"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.markdown,expression:"markdown"}],staticClass:"fit q-pa-sm",attrs:{rows:"20"},domProps:{value:e.markdown},on:{input:function(n){n.target.composing||(e.markdown=n.target.value)}}})])]},proxy:!0},{key:"after",fn:function(){return[t("div",{staticClass:"q-pa-md",staticStyle:{height:"467px"}},[t("q-markdown",{staticClass:"fit bordered q-pa-sm",attrs:{src:e.markdown}})],1)]},proxy:!0}]),model:{value:e.splitterModel,callback:function(n){e.splitterModel=n},expression:"splitterModel"}})],1)],1)},o=[],i={data:function(){return{splitterModel:50,markdown:"",noHtml:!1,noLink:!1,noLinkify:!1,noTypographer:!1,noBreaks:!1,noHighlight:!1,noEmoji:!1,noSubscript:!1,noSuperscript:!1,noFootnote:!1,noDeflist:!1,noAbbreviation:!1,noInsert:!1,noMark:!1,noImage:!1,noTasklist:!1,noContainer:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"2ef9":function(e,n,t){"use strict";var a=t("abe5"),o=t.n(a);o.a},"2f39":function(e,n,t){"use strict";t.r(n);var a={};t.r(a),t.d(a,"toc",(function(){return ae}));var o={};t.r(o),t.d(o,"toc",(function(){return re}));var i=t("967e"),r=t.n(i),s=(t("a481"),t("96cf"),t("fa84")),l=t.n(s),u=(t("5c7d"),t("573e"),t("7d6e"),t("e54f"),t("985d"),t("0047"),t("46f6"),t("9922"),t("be56"),t("2b0e")),c=t("b05d"),d=t("cb32"),f=t("9c40"),m=t("f09f"),b=t("a370"),p=t("9404"),h=t("d66b"),v=t("3b73"),g=t("e359"),k=t("0016"),q=t("66e5"),_=t("0170"),x=t("4074"),w=t("4d5a"),y=t("1c1c"),L=t("4e73"),T=t("9989"),E=t("09e3"),S=t("5096"),C=t("4983"),D=t("eb85"),j=t("2c91"),O=t("8562"),I=t("7460"),H=t("429b"),M=t("823b"),B=t("adad"),A=t("9564"),Q=t("65c6"),F=t("6ac5"),N=t("05c0"),$=t("7f67"),P=t("714f"),R=t("4396"),U=t("ff52"),z=t("2a19"),V=t("0967"),J=t("09f9");u["a"].use(c["a"],{config:{dark:"auto"},components:{QAvatar:d["a"],QBtn:f["a"],QCard:m["a"],QCardSection:b["a"],QDrawer:p["a"],QEditor:h["a"],QExpansionItem:v["a"],QHeader:g["a"],QIcon:k["a"],QItem:q["a"],QItemLabel:_["a"],QItemSection:x["a"],QLayout:w["a"],QList:y["a"],QMenu:L["a"],QPage:T["a"],QPageContainer:E["a"],QPageScroller:S["a"],QScrollArea:C["a"],QSeparator:D["a"],QSpace:j["a"],QSplitter:O["a"],QTab:I["a"],QTabs:H["a"],QTabPanel:M["a"],QTabPanels:B["a"],QToggle:A["a"],QToolbar:Q["a"],QToolbarTitle:F["a"],QTooltip:N["a"]},directives:{ClosePopup:$["a"],Ripple:P["a"],Scroll:R["a"]},plugins:{Dark:U["a"],Notify:z["a"],Platform:V["b"],Screen:J["a"]}});var W=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{attrs:{id:"q-app"}},[t("router-view")],1)},Y=[],G={name:"App"},Z=G,K=t("2877"),X=Object(K["a"])(Z,W,Y,!1,null,null,null),ee=X.exports,ne=t("2f62"),te={toc:[]},ae=function(e){return e.toc},oe=t("4db1"),ie=t.n(oe),re=function(e,n){var t;(t=e.toc).splice.apply(t,[0,e.toc.length].concat(ie()(n)))},se=t("018e"),le={namespaced:!0,state:te,getters:a,mutations:o,actions:se};u["a"].use(ne["a"]);var ue=function(){var e=new ne["a"].Store({modules:{common:le},strict:!1});return e},ce=t("8c4f"),de=[{path:"/",redirect:"/docs"},{path:"/docs",component:function(){return t.e("2d0d5fdf").then(t.bind(null,"713b"))},children:[{path:"",component:function(){return t.e("bfbea65e").then(t.bind(null,"8b24"))}}]},{path:"/examples",component:function(){return t.e("2d0d5fdf").then(t.bind(null,"713b"))},children:[{path:"",component:function(){return t.e("d9997f74").then(t.bind(null,"0960"))}}]},{path:"/demo",component:function(){return t.e("2d21adb6").then(t.bind(null,"bcfe"))},children:[{path:"",component:function(){return t.e("449709f4").then(t.bind(null,"be56a"))}}]}];de.push({path:"*",component:function(){return t.e("4b47640d").then(t.bind(null,"e51e"))}});var fe=de;u["a"].use(ce["a"]);var me=function(){var e=new ce["a"]({scrollBehavior:function(){return{x:0,y:0}},routes:fe,mode:"history",base:"/quasar-ui-qmarkdown/"});return e},be=function(){return pe.apply(this,arguments)};function pe(){return pe=l()(r.a.mark((function e(){var n,t,a;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("function"!==typeof ue){e.next=6;break}return e.next=3,ue({Vue:u["a"]});case 3:e.t0=e.sent,e.next=7;break;case 6:e.t0=ue;case 7:if(n=e.t0,"function"!==typeof me){e.next=14;break}return e.next=11,me({Vue:u["a"],store:n});case 11:e.t1=e.sent,e.next=15;break;case 14:e.t1=me;case 15:return t=e.t1,n.$router=t,a={el:"#q-app",router:t,store:n,render:function(e){return e(ee)}},e.abrupt("return",{app:a,store:n,router:t});case 19:case"end":return e.stop()}}),e)}))),pe.apply(this,arguments)}var he=function(e){var n=e.Vue,a=t("f5e2").default,o=function(e){t("280d")("./".concat(a[e].file,".vue")).then((function(t){n.component(a[e].file,t.default)}))};for(var i in a)o(i)},ve=t("384e");u["a"].use(ve["b"]);var ge=t("a670"),ke=t("0ce9"),qe=t("2abd");function _e(){return xe.apply(this,arguments)}function xe(){return xe=l()(r.a.mark((function e(){var n,t,a,o,i,s,l,c,d;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,be();case 2:n=e.sent,t=n.app,a=n.store,o=n.router,i=!0,s=function(e){i=!1,window.location.href=e},l=window.location.href.replace(window.location.origin,""),c=[he,void 0,ge["default"],ke["default"],qe["default"]],d=0;case 11:if(!(!0===i&&d')+"".concat(a,"\n")}return""}function C(e){e.renderer.rules.blockquote_open=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--note"),o.renderToken(e,n,t)}}var D=t("4db1"),j=t.n(D),O=t("e194"),I=t.n(O);function H(e,n){return[I.a,e,{render:function(t,a){var o=t[a],i=o.info.trim().slice(e.length).trim();return 1===o.nesting?'

').concat(i||n,"

\n"):"
\n"}}]}function M(e){var n,t,a,o;(n=(t=(a=(o=e.use.apply(e,j()(H("info","INFO")))).use.apply(o,j()(H("tip","TIP")))).use.apply(a,j()(H("warning","WARNING")))).use.apply(t,j()(H("danger","IMPORTANT")))).use.apply(n,j()(H("",""))).use(I.a,"v-pre",{render:function(e,n){return 1===e[n].nesting?"
\n":"
\n"}})}t("a481");function B(e){return encodeURIComponent(String(e).trim().replace(/\s+/g,"-"))}function A(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:3;e.renderer.rules.heading_open=function(e,i,r,s,l){var u=e[i],c=e[i+1].children.reduce((function(e,n){return e+n.content}),""),d="q-markdown--heading-".concat(u.tag);"="===u.markup?d+=" q-markdown--title-heavy":"-"===u.markup&&(d+=" q-markdown--title-light");var f=B(c);if(u.attrSet("id",f),u.attrSet("name",f),u.attrSet("class",d),t){var m=parseInt(u.tag[1]);a&&o&&a=a&&m<=o&&n.push({id:f,label:c,level:m,children:[]})}return l.renderToken(e,i,r)}}function Q(e){e.renderer.rules.image=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--image"),o.renderToken(e,n,t)}}t("f559");function F(e){e.renderer.rules.link_open=function(e,n,t,a,o){var i=e[n],r=i.attrIndex("href");return"#"===i.attrs[r][1][0]&&location&&(i.attrs[r][1]=location.pathname+i.attrs[r][1]),""===i.attrs[r][1]?(i.attrSet("class","q-markdown--link q-markdown--link-local"),e[n+1]&&"text"===e[n+1].type&&e[n+1].content&&i.attrSet("id",B(e[n+1].content))):"/"===i.attrs[r][1][0]||i.attrs[r][1].startsWith("..")?i.attrSet("class","q-markdown--link q-markdown--link-local"):(i.attrSet("class","q-markdown--link q-markdown--link-external"),i.attrSet("target","_blank")),o.renderToken(e,n,t)}}function N(e){e.renderer.rules.table_open=function(e,n,t,a,o){var i=e[n];return i.attrSet("class","q-markdown--table"),o.renderToken(e,n,t)}}function $(e){var n=e.renderer.rules.code_inline;e.renderer.rules.code_inline=function(e,t,a,o,i){var r=e[t];return r.attrSet("class","q-markdown--token"),n(e,t,a,o,i)}}t("28a5");function P(e,n){var t=e.renderer.rules.fence;e.renderer.rules.fence=function(){var e=t.apply(void 0,arguments),a=e.slice(e.indexOf("")+6,e.indexOf("")),o=a.trim().split("\n");if(o.length<3)return e;var i=j()(Array(o.length)).map((function(e,t){return'
'.concat(void 0===n?t+1:n,"
")})).join(""),r='
'.concat(i,'
').concat(e,"
"),s='
'.concat(r,"
");return s}}var R=t("f75b"),U={},z={name:"QMarkdown",props:{src:{type:String,default:""},noAbbreviation:Boolean,noBreaks:Boolean,noContainer:Boolean,noDeflist:Boolean,noEmoji:Boolean,noFootnote:Boolean,noHighlight:Boolean,noHtml:Boolean,noImage:Boolean,noInsert:Boolean,noLineNumbers:Boolean,noLink:Boolean,noLinkify:Boolean,noMark:Boolean,noSubscript:Boolean,noSuperscript:Boolean,noTasklist:Boolean,noTypographer:Boolean,lineNumberAlt:{type:String,validator:function(e){return 1===e.length}},toc:Boolean,tocStart:{type:Number,default:1,validator:function(e){return e>=1&&e<=5}},tocEnd:{type:Number,default:3,validator:function(e){return e>=2&&e<=6}},taskListsEnable:Boolean,taskListsLabel:Boolean,taskListsLabelAfter:Boolean,extend:Function,extendPrism:Function,contentStyle:[String,Object,Array],contentClass:[String,Object,Array]},data:function(){return{source:this.src,rebuild:!0,uid:0}},beforeMount:function(){this.uid=Object(R["a"])()},destroyed:function(){this.__deleteCache(this.uid)},watch:{src:function(){this.source=this.src},noAbbreviation:function(){this.rebuild=!0},noBreaks:function(){this.rebuild=!0},noContainer:function(){this.rebuild=!0},noDeflist:function(){this.rebuild=!0},noEmoji:function(){this.rebuild=!0},noFootnote:function(){this.rebuild=!0},noHighlight:function(){this.rebuild=!0},noHtml:function(){this.rebuild=!0},noImage:function(){this.rebuild=!0},noInsert:function(){this.rebuild=!0},noLineNumbers:function(){this.rebuild=!0},noLink:function(){this.rebuild=!0},noLinkify:function(){this.rebuild=!0},noMark:function(){this.rebuild=!0},noSubscript:function(){this.rebuild=!0},noSuperscript:function(){this.rebuild=!0},noTasklist:function(){this.rebuild=!0},noTypographer:function(){this.rebuild=!0},lineNumberAlt:function(){this.rebuild=!0},toc:function(){this.rebuild=!0},tocStart:function(){this.rebuild=!0},tocEnd:function(){this.rebuild=!0},taskListsEnable:function(){this.rebuild=!0},taskListsLabel:function(){this.rebuild=!0},taskListsLabelAfter:function(){this.rebuild=!0},extend:function(){this.rebuild=!0}},methods:{__isEnabled:function(e){return void 0===e||!1===e},__isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},__setCache:function(e,n){U[e]=n},__getCache:function(e){return U[e]},__deleteCache:function(e){U[e]&&delete U[e]},makeTree:function(e){for(var n=[],t=null,a=function(e){if(1===e.level)t=e,n.push(e);else if(2===e.level)t.children.push(e);else{for(var a=t,o=0;o0&&l.disable(c),this.__isFunction(this.extend)&&this.extend(l),this.__setCache(this.uid,l)}var f=this.__getCache(this.uid),b=f.render(a);return this.toc&&t.length>0&&this.$emit("data",t),e("div",{staticClass:"q-markdown",class:this.contentClass,style:this.contentStyle,domProps:{innerHTML:b}})}},V=function(e){var n="";if(e&&e.length>0){var t="",o=e.indexOf(t),i=e.lastIndexOf(a);o>-1&&i>-1&&(n=e.substring(o,i+a.length))}return n},J=function(e){var n=!("undefined"===typeof window||!window.document||!window.document.createElement);if(!0!==n)return{};var t,a={},o=V(e);o&&o.length>0&&(a.template=o);var i=document.createElement("html");return i.innerHTML=e,t=i.getElementsByTagName("script"),t.length>0&&(a.script=t[0].outerHTML),t=i.getElementsByTagName("style"),t.length>0&&(a.style=t[0].outerHTML),a};t.d(n,"c",(function(){return a["a"]})),t.d(n,"a",(function(){return z}));n["b"]={version:a["a"],QMarkdown:z,getTagParts:J,install:function(e){e.component(z.name,z)}}},"485d":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable tasklist"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Tasklist enable"},model:{value:e.taskListsEnable,callback:function(n){e.taskListsEnable=n},expression:"taskListsEnable"}}),t("q-toggle",{attrs:{label:"Tasklist label"},model:{value:e.taskListsLabel,callback:function(n){e.taskListsLabel=n},expression:"taskListsLabel"}}),t("q-toggle",{attrs:{label:"Tasklist label after",disable:!e.taskListsLabel},model:{value:e.taskListsLabelAfter,callback:function(n){e.taskListsLabelAfter=n},expression:"taskListsLabelAfter"}}),t("q-markdown",{attrs:{"no-tasklist":e.model,"task-lists-enable":e.taskListsEnable,"task-lists-label":e.taskListsLabel,"task-lists-label-after":e.taskListsLabelAfter}},[e._v("\n### Solar System Exploration, 1950s – 1960s\n\n- [ ] Mercury\n- [x] Venus\n- [x] Earth (Orbit/Moon)\n- [x] Mars\n- [ ] Jupiter\n- [ ] Saturn\n- [ ] Uranus\n- [ ] Neptune\n- [ ] Comet Haley\n ")])],1)},o=[],i={data:function(){return{model:!1,taskListsEnable:!1,taskListsLabel:!1,taskListsLabelAfter:!1}},watch:{taskListsLabel:function(e){e||(this.taskListsLabelAfter=!1)}}},r=i,s=(t("2ef9"),t("2877")),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"4a86":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable typographer"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-typographer":e.model}},[e._v("\n(c) (C) (r) (R) (tm) (TM) (p) (P) +-\n\ntest.. test... test..... test?..... test!...\n\n!!!!!! ???? ,, -- ---\n\nSmartypants: \"double quotes\" and 'single quotes'\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"4b47":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable mark"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-mark":e.model}},[e._v("\n==This sentence is is marked.==\n\nThis is ==marked== in the middle of a sentence.\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"5fbe":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable links"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable linkify"},model:{value:e.model1,callback:function(n){e.model1=n},expression:"model1"}}),t("q-markdown",{attrs:{"no-link":e.model,"no-linkify":e.model1}},[e._v('\n[External Link](https://github.com/quasarframework/quasar)\n\n[local link](/heading)\n\n[link with title](https://github.com/quasarframework/quasar/ "title text!")\n\nAuto-converted link: https://github.com/quasarframework/quasar\n ')])],1)},o=[],i={data:function(){return{model:!1,model1:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},6327:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n| Option | Description |\n| ------ | ----------- |\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nRight aligned columns\n\n| Option | Description |\n| ------:| -----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n\nCenter aligned columns\n\n| Option | Description |\n|:------:|:-----------:|\n| data | path to data files to supply the data that will be passed into templates. |\n| engine | engine to be used for processing templates. Handlebars is the default. |\n| ext | extension to be used for dest files. |\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"694e":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"})},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"6af2":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable insert"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-insert":e.model}},[e._v("\n++This sentence is is inserted.++\n\nThis is ++inserted++ in the middle of a sentence.\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"72df":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable emojies"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-emoji":e.model}},[e._v("\nClassic markup: :wink: :joy: :cry: :angel: :heart: :beers: :laughing: :yum:\n\nShortcuts (emoticons): :-) :-( 8-) ;)\n ")])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},7702:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n> This is a Blockquote\n> with a `token` and a [link](https://quasar.dev)\n\n> Blockquotes can also be nested...\n>> ...by using additional greater-than signs right next to each other...\n> > > ...or with spaces between arrows.\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},"82f7":function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable highlighting"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-toggle",{attrs:{label:"Disable line numbers"},model:{value:e.model2,callback:function(n){e.model2=n},expression:"model2"}}),t("q-markdown",{attrs:{"no-highlight":e.model,"no-line-numbers":e.model2}},[e._v('\n Indented code\n\nInline `code`\n\n // Some comments\n line 1 of code\n line 2 of code\n line 3 of code\n\nBlock code "fences"\n\n```\nSample text here...\n```\n\nSyntax highlighting\n\n```js\nvar foo = function (bar) {\n return bar++;\n};\n\nconsole.log(foo(5));\n```\n ')])],1)},o=[],i={data:function(){return{model:!1,model2:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},9889:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n# h1 Heading 8-)\n## h2 Heading\n### h3 Heading\n#### h4 Heading\n##### h5 Heading\n###### h6 Heading\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},a413:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-toggle",{attrs:{label:"Disable abbreviations"},model:{value:e.model,callback:function(n){e.model=n},expression:"model"}}),t("q-markdown",{attrs:{"no-abbreviation":e.model}},[e._v('\nThis is HTML abbreviation example.\n\nIt converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on.\n\n*[HTML]: Hyper Text Markup Language\n ')])],1)},o=[],i={data:function(){return{model:!1}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},ab0b:function(e){e.exports=JSON.parse('{"a":"1.0.13"}')},ab7e:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\nUnordered\n\n+ Create an unordered list by starting a line with `+`, `-`, or `*`\n+ Sub-lists are made by indenting 2 spaces:\n - Marker character change forces new list start:\n * Ac tristique libero volutpat at\n + Facilisis in pretium nisl aliquet\n - Nulla volutpat aliquam velit\n+ Very easy!\n\nOrdered\n\n1. Create an ordered list by starting a line with a number (ie: `1.`)\n2. Lorem ipsum dolor sit amet\n3. Consectetur adipiscing elit\n4. Integer molestie lorem at massa\n---\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n indented\n1. List with a container\n ::: info\n use 3 or more spaces\n :::\n1. List with code\n ```js\n var foo = function (bar) {\n return bar++;\n };\n\n console.log(foo(5));\n ```\n\nDifferent lists must be split or the lists will be combined (see code):\n\n1. Lorem ipsum dolor sit amet\n2. Consectetur adipiscing elit\n3. Integer molestie lorem at massa\n\n1. You can use sequential numbers...\n1. ...or keep all the numbers as `1.`\n\nStart numbering with offset:\n\n57. foo\n1. bar\n2. baz\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},abe5:function(e,n,t){},c50f:function(e,n,t){var a={"./Abbreviations.vue":["bda3","2d21b0aa"],"./Blockquotes.vue":["eeab","2d2311b7"],"./Code.vue":["8712","2d0dea56"],"./Containers.vue":["c271","2d21643f"],"./DefinitionLists.vue":["a66d","2d208a99"],"./Editor.vue":["1e63","2d0b6907"],"./Emojies.vue":["cc21","2d221b95"],"./Emphasis.vue":["f124","2d22bd03"],"./Footnotes.vue":["0140","2d0a3133"],"./Heading.vue":["6c79","2d0da785"],"./HorizontalRules.vue":["f309","2d22c44c"],"./Images.vue":["6dae","2d0db088"],"./Insert.vue":["a966","2d2095ae"],"./Links.vue":["e654","2d225bc6"],"./Lists.vue":["aa0b","2d212b48"],"./Mark.vue":["61e3","2d0cf15f"],"./Rules.vue":["56f5","2d0c8fe6"],"./SubscriptSuperscript.vue":["00bd","2d0a3338"],"./Tables.vue":["83e4","2d0de1a0"],"./TaskLists.vue":["fb10","2d2374d1"],"./Titles.vue":["f29e","2d22c1ce"],"./Typography.vue":["ac53","2d213336"]};function o(e){if(!t.o(a,e))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=a[e],o=n[0];return t.e(n[1]).then((function(){return t(o)}))}o.keys=function(){return Object.keys(a)},o.id="c50f",e.exports=o},cb59:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n___\n\n---\n\n***\n ")])],1)},o=[],i=t("2877"),r={},s=Object(i["a"])(r,a,o,!1,null,null,null);n["default"]=s.exports},ed3a:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\n**This is bold text**\n\n__This is bold text, second way__\n\n*This is italic text*\n\n_This is italic text, second way_\n\n**_This is bold italic text_**\n\n___This is bold italic text, second way___\n\n~~This is Strikethrough~~\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},f5e2:function(e,n,t){"use strict";t.r(n);t("ac6a"),t("cadf"),t("06db"),t("a481");function a(e){var n=e.replace(/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,(function(e){return"-"+e.toLowerCase()}));return e[0]===e[0].toUpperCase()?n.substring(1):n}function o(e){return encodeURIComponent(String(e).trim().replace(/\s+/g,"-"))}n["default"]=t("fa3e").keys().map((function(e){return e.slice(2).replace(".vue","")})).filter((function(e){return"Index"!==e})).map((function(e){return{file:e,title:e+".vue",path:o(a(e))}}))},f87c:function(e,n,t){"use strict";t.r(n);var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"q-pa-md q-gutter-sm"},[t("q-markdown",[e._v("\nTop-Level Title\n===\n\nSecond-Level Title\n---\n ")])],1)},o=[],i={data:function(){return{}}},r=i,s=t("2877"),l=Object(s["a"])(r,a,o,!1,null,null,null);n["default"]=l.exports},fa3e:function(e,n,t){var a={"./Abbreviations.vue":"a413","./Blockquotes.vue":"7702","./Code.vue":"82f7","./Containers.vue":"36fd","./DefinitionLists.vue":"1ca5","./Editor.vue":"2ab8","./Emojies.vue":"72df","./Emphasis.vue":"ed3a","./Footnotes.vue":"35d1","./Heading.vue":"9889","./HorizontalRules.vue":"cb59","./Images.vue":"15d7","./Insert.vue":"6af2","./Links.vue":"5fbe","./Lists.vue":"ab7e","./Mark.vue":"4b47","./Rules.vue":"694e","./SubscriptSuperscript.vue":"18ad","./Tables.vue":"6327","./TaskLists.vue":"485d","./Titles.vue":"f87c","./Typography.vue":"4a86"};function o(e){var n=i(e);return t(n)}function i(e){if(!t.o(a,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=i,e.exports=o,o.id="fa3e"}},[[0,"runtime","vendor"]]]); \ No newline at end of file diff --git a/docs/js/bfbea65e.42d2e086.js b/docs/js/bfbea65e.42d2e086.js deleted file mode 100644 index 8904318..0000000 --- a/docs/js/bfbea65e.42d2e086.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bfbea65e"],{2514:function(n,e,t){"use strict";var a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("section",{staticClass:"page-header"},[t("div",{staticClass:"donate"},[t("a",{attrs:{href:n.donateUrl,target:"_blank",title:"Donate"}},[t("i",{staticClass:"fas fa-heart",staticStyle:{color:"red"}})])]),t("div",{staticClass:"text-h1 project-name"},[n._v(n._s(n.title))]),t("div",{staticClass:"text-h2 project-tagline"},[n._v(n._s(n.tagline))]),t("q-btn",{staticClass:"btn",attrs:{type:"a",href:n.locationUrl,target:"_blank",label:"View on GitHub","no-caps":"",flat:""}}),t("q-btn",{staticClass:"btn",attrs:{to:"/docs",label:"Docs","no-caps":"",flat:""}}),t("q-btn",{staticClass:"btn",attrs:{to:"/examples",label:"Examples","no-caps":"",flat:""}}),t("q-btn",{staticClass:"btn",attrs:{to:"/demo",label:"Interactive Demo","no-caps":"",flat:""}}),t("q-btn",{staticClass:"btn",attrs:{type:"a",href:n.donateUrl,target:"_blank",label:"Donate","no-caps":"",flat:""}}),t("div",{staticClass:"row justify-evenly items-center q-ma-sm"},[t("div",{staticClass:"quasar"},[n._v(n._s(n.quasarDesc))]),t("div",{staticClass:"byline"},[n._v(n._s(n.byline)),t("a",{attrs:{href:n.bylineTwitter,target:"_blank",title:"Twitter"}},[t("i",{staticClass:"fab fa-twitter"})])])])],1),t("main",{staticClass:"flex flex-start justify-center inset-shadow"},[t("div",{staticClass:"q-pa-md col-12-sm col-8-md col-6-lg inset-shadow",staticStyle:{width:"100%",height:"3px"}}),t("div",{staticClass:"q-pa-md col-12-sm col-8-md col-6-lg shadow-1",staticStyle:{"max-width":"800px",width:"100%"}},[n._t("default")],2)])])},o=[],r={name:"Hero",data:function(){return{title:"QMarkdown",tagline:"Inline markdown for your Quasar App",byline:"Created and maintained by Jeff Galbraith",bylineTwitter:"https://twitter.com/jgalbraith64",quasarDesc:"A Quasar Framework Component and App Extension",locationUrl:"https://github.com/quasarframework/quasar-ui-qmarkdown",donateUrl:"https://github.com/sponsors/hawkeye64"}}},s=r,i=t("2877"),d=Object(i["a"])(s,a,o,!1,null,null,null);e["a"]=d.exports},"8b24":function(n,e,t){"use strict";t.r(e);var a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("hero",[t("q-markdown",{attrs:{src:n.markdown,toc:""},on:{data:n.onToc}}),t("json-api-viewer",{attrs:{title:"QMarkdown API",json:n.json}}),t("q-markdown",[n._v("\n# Donate\nIf you appreciate the work that went into this, please consider donating to [Quasar](https://donate.quasar.dev) or [Jeff](https://github.com/sponsors/hawkeye64).\n\n---\n\nThis page created with [QMarkdown](https://quasarframework.github.io/quasar-ui-qmarkdown), another great Quasar App Extension.\n ")]),t("q-page-scroller",{attrs:{position:"bottom-right","scroll-offset":150,offset:[18,18]}},[t("q-btn",{class:{"text-black bg-grey-4":n.$q.dark.isActive,"text-white bg-primary":!n.$q.dark.isActive},attrs:{fab:"",icon:"keyboard_arrow_up"}})],1)],1)},o=[],r=t("2514"),s="QMarkdown\n===\n\nQMarkdown is a Quasar component as well as a [Quasar App Extension](https://v1.quasar.dev/app-extensions/introduction). It provides the ability for your Quasar app to display markdown. If you don't know how to use Markdown or need a refresher, this site is recommended: [Markdown Guide](https://www.markdownguide.org/).\n\n# Features\n\n## Markdown Constructs\n\n- Abbreviations\n- Blockquotes\n- Code and Code Highlighting\n- Containers\n- Definition Lists\n- Emojies\n- Emphasis\n- Footnotes\n- Headings\n- Images\n- Inserts\n- Links\n- Lists\n- Marks\n- Rules\n- Subscript/Superscript\n- Tables\n- Tasklists\n- Titles\n- Typography\n\n## Loaders\nThe loaders are only available if you installed via the QMarkdown App Extension.\n\n- markdown (.md) loader that can load your markdown as text to be processed by QMarkdown\n- vue+markdown (.vmd) loader that can process markdown, then hand off to Vue to be processed\n\n## Front-Matter\n- The front-matter functonality is only available to vue+markdown (`.vmd`) files.\n\n## Utility Functions\n- `getTagParts` that can process a Vue SFC file and return the `template`, `script` and `style` parts\n\n# Installation Types\n\n## Quasar CLI\n\n**App Extension**\n\n:::\n#### Install\n\nTo add as an App Extension to your Quasar application, run the following (in your Quasar app folder):\n```\nquasar ext add @quasar/qmarkdown\n```\n\n#### Uninstall\n\nTo remove as an App Extension from your Quasar application, run the following (in your Quasar app folder):\n```\nquasar ext remove @quasar/qmarkdown\n```\n\n#### Describe\nWhen installed as an App Extension, you can use `quasar describe QMarkdown`\n:::\n\n**OR**:\n\n:::\nCreate and register a boot file:\n\n```js\nimport Vue from 'vue'\nimport Plugin from '@quasar/quasar-ui-qmarkdown'\nimport '@quasar/quasar-ui-qmarkdown/dist/index.css'\n\nVue.use(Plugin)\n```\n:::\n\n**OR**:\n\n:::\n```html\n\n\n