(function(e){function t(t){for(var r,i,s=t[0],u=t[1],l=t[2],p=0,d=[];p<s.length;p++)i=s[p],a[i]&&d.push(a[i][0]),a[i]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);c&&c(t);while(d.length)d.shift()();return o.push.apply(o,l||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],r=!0,s=1;s<n.length;s++){var u=n[s];0!==a[u]&&(r=!1)}r&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},a={app:0},o=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/markdown-to-html-playground/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],u=s.push.bind(s);s.push=t,s=s.slice();for(var l=0;l<s.length;l++)t(s[l]);var c=u;o.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"034f":function(e,t,n){"use strict";var r=n("64a9"),a=n.n(r);a.a},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var r=n("2b0e"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("vue-showdown",{attrs:{markdown:"# Markdown to HTML playground",flavor:"github"}}),n("p",[e._v("This is Markdown to HTML converter styled by GFM(Github Flavor Markdown)")]),e._m(0),n("playground")],1)},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("\n    You can see all steps here -\n    "),n("a")])}],i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wrapper"},[n("div",{staticClass:"flex"},[n("h3",{staticClass:"header"},[e._v("\n      Markdown (Input)\n      "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.inputText,expression:"inputText"}],on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.inputText=t.target.multiple?n:n[0]},function(t){return e.onChangeInputText(e.inputText)}]}},[n("option",{attrs:{value:"custom"}},[e._v("Custom")]),n("option",{attrs:{value:"sample"}},[e._v("Sample")])])]),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.markdown,expression:"markdown"}],attrs:{placeholder:"Insert your Markdown Text"},domProps:{value:e.markdown},on:{input:function(t){t.target.composing||(e.markdown=t.target.value)}}})]),n("div",{staticClass:"flex"},[n("h3",{staticClass:"header"},[e._v("\n      HTML (Output)\n      "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.outputStyle,expression:"outputStyle"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.outputStyle=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:""}},[e._v("Only HTML")]),n("option",{attrs:{value:"markdown-body"}},[e._v("github-markdown-css")])])]),n("div",{staticClass:"output"},[n("vue-showdown",{class:e.outputStyle,attrs:{markdown:e.markdown,flavor:"github"}})],1)])])},s=[],u="# This is a h1\n## This is a h2 \n### This is a h3\n#### This is a h4\n##### This is a h5\n###### this is a h6\n***\n- This is a unordered item1\n- This is a unordered item2\n- This is a unordered item3\n\n1. This is a ordered item1\n1. This is a ordered item2\n1. This is a ordered item3\n\n* depth1\n * depth2\n   * depth3 is not working! (maybe.. bug?)\n\n***\n[This is a hyper link](https://google.com)\n![This is a image](https://picsum.photos/200/200/?random)\n![This is a image alt](https://)\n***\n\n<center>This text is centered</center>\n**This is a emphasizing text**\n*This is a italic-style text*\n\n```\nThis is a code block\n```\n```js\nconst HELLO_WORLD = 'Hello World!'\n```\n> This is a block quote\n",l={data:function(){return{markdown:u,inputText:"sample",outputStyle:"markdown-body"}},methods:{onChangeInputText:function(e){this.markdown="sample"===e?u:""}}},c=l,p=(n("c1fc"),n("2877")),d=Object(p["a"])(c,i,s,!1,null,"24654334",null),h=d.exports,f={name:"app",components:{Playground:h}},v=f,m=(n("034f"),Object(p["a"])(v,a,o,!1,null,null,null)),g=m.exports,w=n("866c"),y=n.n(w);r["a"].use(y.a);n("e4cb");r["a"].config.productionTip=!1,new r["a"]({render:function(e){return e(g)}}).$mount("#app")},"64a9":function(e,t,n){},"77de":function(e,t,n){},c1fc:function(e,t,n){"use strict";var r=n("77de"),a=n.n(r);a.a}});
//# sourceMappingURL=app.162300bf.js.map