[{"data":1,"prerenderedAt":282},["ShallowReactive",2],{"navigation_docs":3,"-guide-plugins":62,"-guide-plugins-surround":277},[4,26,52],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage","i-lucide-play",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[32,37,42,47],{"title":33,"path":34,"stem":35,"icon":36},"Frontmatter","\u002Fguide\u002Ffrontmatter","2.guide\u002F1.frontmatter","i-lucide-file-json",{"title":38,"path":39,"stem":40,"icon":41},"Components","\u002Fguide\u002Fcomponents","2.guide\u002F2.components","i-lucide-layout-template",{"title":43,"path":44,"stem":45,"icon":46},"Locale files","\u002Fguide\u002Flocale-files","2.guide\u002F3.locale-files","i-lucide-languages",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","\u002Fguide\u002Fplugins","2.guide\u002F4.plugins","i-lucide-puzzle",{"title":53,"icon":28,"path":54,"stem":55,"children":56,"page":25},"Reference","\u002Freference","3.reference",[57],{"title":58,"path":59,"stem":60,"icon":61},"Exports","\u002Freference\u002Fexports","3.reference\u002F1.exports","i-lucide-code",{"id":63,"title":48,"body":64,"description":270,"extension":271,"links":272,"meta":273,"navigation":274,"path":49,"seo":275,"stem":50,"__hash__":276},"docs\u002F2.guide\u002F4.plugins.md",{"type":65,"value":66,"toc":266},"minimark",[67,88,93,248,252,262],[68,69,70,71,75,76,79,80,83,84,87],"p",{},"Pass plugins from ",[72,73,74],"code",{},"comark"," or ",[72,77,78],{},"@comark\u002Fhtml"," via ",[72,81,82],{},"options.plugins"," and ",[72,85,86],{},"options.components",".",[89,90,92],"h2",{"id":91},"add-a-plugin","Add a plugin",[94,95,101],"pre",{"className":96,"code":97,"filename":98,"language":99,"meta":100,"style":100},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { renderEmail } from 'comark-email'\nimport math, { Math } from '@comark\u002Fhtml\u002Fplugins\u002Fmath'\n\nconst { html } = await renderEmail(markdown, {\n  plugins: [math()],\n  components: { Math },\n})\n","math-plugin.ts","ts","",[72,102,103,136,163,170,202,224,240],{"__ignoreMap":100},[104,105,108,112,116,120,123,126,129,133],"span",{"class":106,"line":107},"line",1,[104,109,111],{"class":110},"s7zQu","import",[104,113,115],{"class":114},"sMK4o"," {",[104,117,119],{"class":118},"sTEyZ"," renderEmail",[104,121,122],{"class":114}," }",[104,124,125],{"class":110}," from",[104,127,128],{"class":114}," '",[104,130,132],{"class":131},"sfazB","comark-email",[104,134,135],{"class":114},"'\n",[104,137,139,141,144,147,149,152,154,156,158,161],{"class":106,"line":138},2,[104,140,111],{"class":110},[104,142,143],{"class":118}," math",[104,145,146],{"class":114},",",[104,148,115],{"class":114},[104,150,151],{"class":118}," Math",[104,153,122],{"class":114},[104,155,125],{"class":110},[104,157,128],{"class":114},[104,159,160],{"class":131},"@comark\u002Fhtml\u002Fplugins\u002Fmath",[104,162,135],{"class":114},[104,164,166],{"class":106,"line":165},3,[104,167,169],{"emptyLinePlaceholder":168},true,"\n",[104,171,173,177,179,182,185,188,191,194,197,199],{"class":106,"line":172},4,[104,174,176],{"class":175},"spNyl","const",[104,178,115],{"class":114},[104,180,181],{"class":118}," html ",[104,183,184],{"class":114},"}",[104,186,187],{"class":114}," =",[104,189,190],{"class":110}," await",[104,192,119],{"class":193},"s2Zo4",[104,195,196],{"class":118},"(markdown",[104,198,146],{"class":114},[104,200,201],{"class":114}," {\n",[104,203,205,209,212,215,218,221],{"class":106,"line":204},5,[104,206,208],{"class":207},"swJcz","  plugins",[104,210,211],{"class":114},":",[104,213,214],{"class":118}," [",[104,216,217],{"class":193},"math",[104,219,220],{"class":118},"()]",[104,222,223],{"class":114},",\n",[104,225,227,230,232,234,237],{"class":106,"line":226},6,[104,228,229],{"class":207},"  components",[104,231,211],{"class":114},[104,233,115],{"class":114},[104,235,236],{"class":118}," Math ",[104,238,239],{"class":114},"},\n",[104,241,243,245],{"class":106,"line":242},7,[104,244,184],{"class":114},[104,246,247],{"class":118},")\n",[89,249,251],{"id":250},"handle-unknown-components","Handle unknown components",[68,253,254,255,257,258,261],{},"Custom components unknown to the email renderer are rendered via ",[72,256,78],{}," and wrapped in ",[72,259,260],{},"mj-raw",". Use this for content that email clients can tolerate inside raw HTML blocks.",[263,264,265],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":100,"searchDepth":138,"depth":138,"links":267},[268,269],{"id":91,"depth":138,"text":92},{"id":250,"depth":138,"text":251},"Pass Comark and @comark\u002Fhtml plugins and components through render options. Unknown components wrap in mj-raw.","md",null,{},{"icon":51},{"title":48,"description":270},"BA1xVfHityHwWS_qn4FQPM37CHUaHUgk5r9PXX6PHUw",[278,280],{"title":43,"path":44,"stem":45,"description":279,"icon":46,"children":-1},"Host one markdown file per locale and bind only the locale key each file owns — no fallbacks.",{"title":58,"path":59,"stem":60,"description":281,"icon":61,"children":-1},"Entry points and exports for comark-email, comark-email\u002Frender, and comark-email\u002Fconfig.",1794911824872]