[{"data":1,"prerenderedAt":139},["ShallowReactive",2],{"example:\u002Fen\u002Fexamples\u002Fmarkdown":3},{"id":4,"title":5,"body":6,"description":129,"extension":130,"meta":131,"navigation":134,"path":135,"seo":136,"stem":137,"__hash__":138},"examples_en\u002Fen\u002Fexamples\u002Fmarkdown.md","Markdown to HTML",{"type":7,"value":8,"toc":124},"minimark",[9,14,29,33,36,103,107,120],[10,11,13],"h2",{"id":12},"local-setup","Local setup",[15,16,17,18,23,24,28],"p",{},"Script integration is available through the ",[19,20,22],"a",{"href":21},"\u002Fen\u002Fdocs\u002Finstallation\u002Fscript","browser archive",". For ESM, use ",[25,26,27],"code",{},"npm install @vitext-ru\u002Feditor@beta",". The live example above runs in an isolated browser document; no document data is sent to a server.",[10,30,32],{"id":31},"workflow","Workflow",[15,34,35],{},"Edit the document and inspect its applied HTML. Tools use the same default configuration as the builder. The toolbar example intentionally moves selected tools into an explicit *** menu. The plugin example uses Pro, since plugins are unavailable in Simple\u002FBase. The Markdown example awaits conversion before consuming HTML. Invalid source keeps the previous applied version.",[37,38,43],"pre",{"className":39,"code":40,"language":41,"meta":42,"style":42},"language-ts shiki shiki-themes github-dark","await editor.setContent('# Hello\\n\\n**Текст**', { format: 'markdown' });\nconsole.log(editor.getHTML());\n","ts","",[25,44,45,85],{"__ignoreMap":42},[46,47,50,54,58,62,65,69,73,76,79,82],"span",{"class":48,"line":49},"line",1,[46,51,53],{"class":52},"snl16","await",[46,55,57],{"class":56},"s95oV"," editor.",[46,59,61],{"class":60},"svObZ","setContent",[46,63,64],{"class":56},"(",[46,66,68],{"class":67},"sU2Wk","'# Hello",[46,70,72],{"class":71},"sDLfK","\\n\\n",[46,74,75],{"class":67},"**Текст**'",[46,77,78],{"class":56},", { format: ",[46,80,81],{"class":67},"'markdown'",[46,83,84],{"class":56}," });\n",[46,86,88,91,94,97,100],{"class":48,"line":87},2,[46,89,90],{"class":56},"console.",[46,92,93],{"class":60},"log",[46,95,96],{"class":56},"(editor.",[46,98,99],{"class":60},"getHTML",[46,101,102],{"class":56},"());\n",[10,104,106],{"id":105},"integration-and-cleanup","Integration and cleanup",[15,108,109,110,114,115,119],{},"Destroy the instance before unmounting, and await asynchronous imports\u002Fstyles. Your application owns storage, authentication and uploads. ",[19,111,113],{"href":112},"\u002Fen\u002Fdocs\u002Fgetting-started","Integration guide",". ",[19,116,118],{"href":117},"\u002Fexamples-live\u002Fmarkdown\u002Findex.html?lang=en","Open separately",". The browser archive includes a standalone script example.",[121,122,123],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":42,"searchDepth":87,"depth":87,"links":125},[126,127,128],{"id":12,"depth":87,"text":13},{"id":31,"depth":87,"text":32},{"id":105,"depth":87,"text":106},"Await conversion and edit the applied visual document.","md",{"group":132,"order":133},"Formats",3,true,"\u002Fen\u002Fexamples\u002Fmarkdown",{"title":5,"description":129},"en\u002Fexamples\u002Fmarkdown","fU4o0w54Wj2IgPiqLowvMMJeoqhcijFzXD8_3QJCnkw",1792670389621]