[{"data":1,"prerenderedAt":1072},["ShallowReactive",2],{"docs-nav":3,"\u002Fdocs\u002Fdevelopment\u002Fplaintext":316},[4,9,15,19,24,28,33,37,41,45,49,53,57,60,63,67,70,74,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,156,159,162,165,168,171,175,178,181,184,186,189,192,195,198,201,204,207,210,213,216,219,222,225,228,231,234,237,240,244,247,250,253,257,261,264,267,270,273,276,279,282,285,287,290,293,296,299,302,305,308,311,313],{"path":5,"title":6,"section":7,"order":7,"sidebar":8},"\u002Fbrand","Brand",null,false,{"path":10,"title":11,"section":12,"order":13,"sidebar":14},"\u002Fdocs\u002Fapi\u002Fcomposables","Composables","API",2,true,{"path":16,"title":17,"section":12,"order":18,"sidebar":14},"\u002Fdocs\u002Fapi\u002Futilities","Utilities",1,{"path":20,"title":21,"section":22,"order":23,"sidebar":14},"\u002Fdocs\u002Fcli","CLI","Getting Started",9,{"path":25,"title":26,"section":22,"order":27,"sidebar":14},"\u002Fdocs\u002Fcompatibility","Compatibility",4,{"path":29,"title":30,"section":31,"order":32,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fbody","Body","Components",3,{"path":34,"title":35,"section":31,"order":36,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fbutton","Button",13,{"path":38,"title":39,"section":31,"order":40,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcodeblock","CodeBlock",18,{"path":42,"title":43,"section":31,"order":44,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcodeinline","CodeInline",19,{"path":46,"title":47,"section":31,"order":48,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcolumn","Column",8,{"path":50,"title":51,"section":31,"order":52,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fcontainer","Container",5,{"path":54,"title":55,"section":31,"order":56,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ffont","Font",11,{"path":58,"title":59,"section":31,"order":13,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhead","Head",{"path":61,"title":62,"section":31,"order":23,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fheading","Heading",{"path":64,"title":65,"section":31,"order":66,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhr","Hr",16,{"path":68,"title":69,"section":31,"order":18,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fhtml","Html",{"path":71,"title":72,"section":31,"order":73,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fimg","Img",14,{"path":75,"title":76,"section":31,"order":27,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Flayout","Layout",{"path":78,"title":79,"section":31,"order":80,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Flink","Link",12,{"path":82,"title":83,"section":31,"order":84,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fmarkdown","Markdown",20,{"path":86,"title":87,"section":31,"order":88,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fnotoutlook","NotOutlook",22,{"path":90,"title":91,"section":31,"order":92,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fnowidows","NoWidows",26,{"path":94,"title":95,"section":31,"order":96,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foutlook","Outlook",21,{"path":98,"title":99,"section":31,"order":100,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foutlookbg","OutlookBg",23,{"path":102,"title":103,"section":31,"order":104,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Foverview","Overview",0,{"path":106,"title":107,"section":31,"order":108,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fplaintext","Plaintext",31,{"path":110,"title":111,"section":31,"order":112,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fpreheader","Preheader",17,{"path":114,"title":115,"section":31,"order":116,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fqrcode","QrCode",30,{"path":118,"title":119,"section":31,"order":120,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fraw","Raw",28,{"path":122,"title":123,"section":31,"order":124,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Frow","Row",7,{"path":126,"title":127,"section":31,"order":128,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fsection","Section",6,{"path":130,"title":131,"section":31,"order":132,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fspacer","Spacer",15,{"path":134,"title":135,"section":31,"order":136,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ftailwind","Tailwind",29,{"path":138,"title":139,"section":31,"order":140,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Ftext","Text",10,{"path":142,"title":143,"section":31,"order":144,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fvml","Vml",24,{"path":146,"title":147,"section":31,"order":148,"sidebar":14},"\u002Fdocs\u002Fcomponents\u002Fwithurl","WithUrl",27,{"path":150,"title":151,"section":152,"order":128,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Faws-ses","AWS SES","Deploy",{"path":154,"title":155,"section":152,"order":124,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fcloudflare","Cloudflare",{"path":157,"title":158,"section":152,"order":32,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fmailgun","Mailgun",{"path":160,"title":161,"section":152,"order":18,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fnodemailer","Nodemailer",{"path":163,"title":164,"section":152,"order":27,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fpostmark","Postmark",{"path":166,"title":167,"section":152,"order":52,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fresend","Resend",{"path":169,"title":170,"section":152,"order":13,"sidebar":14},"\u002Fdocs\u002Fdeploy\u002Fsendgrid","SendGrid",{"path":172,"title":173,"section":174,"order":32,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fconfiguration","Configuration","Development",{"path":176,"title":177,"section":174,"order":52,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fevents","Events",{"path":179,"title":180,"section":174,"order":128,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fi18n","i18n",{"path":182,"title":183,"section":174,"order":13,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Flocal","Dev Server",{"path":185,"title":107,"section":174,"order":27,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Fplaintext",{"path":187,"title":188,"section":174,"order":18,"sidebar":14},"\u002Fdocs\u002Fdevelopment\u002Ftemplates","Templates",{"path":190,"title":191,"section":22,"order":32,"sidebar":14},"\u002Fdocs\u002Feditor-setup","Editor Setup",{"path":193,"title":194,"section":22,"order":48,"sidebar":14},"\u002Fdocs\u002Fglossary","Glossary",{"path":196,"title":197,"section":22,"order":128,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fframeworks","Framework Guides",{"path":199,"title":200,"section":197,"order":52,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fadonisjs","AdonisJS",{"path":202,"title":203,"section":197,"order":32,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fastro","Astro",{"path":205,"title":206,"section":197,"order":18,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Flaravel","Laravel",{"path":208,"title":209,"section":197,"order":48,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fnextjs","Next.js",{"path":211,"title":212,"section":197,"order":13,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fnuxt","Nuxt",{"path":214,"title":215,"section":197,"order":124,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fqwik","Qwik",{"path":217,"title":218,"section":197,"order":128,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fsolid","Solid",{"path":220,"title":221,"section":197,"order":27,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Fsveltekit","SvelteKit",{"path":223,"title":224,"section":197,"order":23,"sidebar":14},"\u002Fdocs\u002Finstallation\u002Fframeworks\u002Ftanstack","TanStack Start",{"path":226,"title":227,"section":22,"order":13,"sidebar":14},"\u002Fdocs\u002Finstallation","Installation",{"path":229,"title":230,"section":22,"order":32,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fmanual","Manual Installation",{"path":232,"title":233,"section":22,"order":27,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fmonorepo","Monorepo Installation",{"path":235,"title":236,"section":22,"order":52,"sidebar":8},"\u002Fdocs\u002Finstallation\u002Fvite","Vite Plugin",{"path":238,"title":239,"section":22,"order":18,"sidebar":14},"\u002Fdocs\u002Fintroduction","What is Maizzle?",{"path":241,"title":242,"section":243,"order":13,"sidebar":14},"\u002Fdocs\u002Fmigrate\u002Fmjml","MJML","Migrate to Maizzle",{"path":245,"title":246,"section":243,"order":18,"sidebar":14},"\u002Fdocs\u002Fmigrate\u002Freact-email","React Email",{"path":248,"title":249,"section":22,"order":124,"sidebar":14},"\u002Fdocs\u002Fresources","Resources",{"path":251,"title":252,"section":22,"order":128,"sidebar":14},"\u002Fdocs\u002Fskill","Agent Skill",{"path":254,"title":255,"section":256,"order":18,"sidebar":14},"\u002Fdocs\u002Ftailwindcss","Tailwind CSS","Core Concepts",{"path":258,"title":259,"section":260,"order":13,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fadd-attributes","Add Attributes","Transformers",{"path":262,"title":263,"section":260,"order":48,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fattribute-to-style","Attribute to Style",{"path":265,"title":266,"section":260,"order":36,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fbase-url","Base URL",{"path":268,"title":269,"section":260,"order":66,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fentities","Entities",{"path":271,"title":272,"section":260,"order":80,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Ffilters","Filters",{"path":274,"title":275,"section":260,"order":112,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fformat","Format",{"path":277,"title":278,"section":260,"order":32,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Finline-css","Inline CSS",{"path":280,"title":281,"section":260,"order":56,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Finline-link","Inline Link",{"path":283,"title":284,"section":260,"order":40,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fminify","Minify",{"path":286,"title":103,"section":260,"order":18,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Foverview",{"path":288,"title":289,"section":260,"order":27,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fpurge-css","Purge CSS",{"path":291,"title":292,"section":260,"order":140,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fremove-attributes","Remove Attributes",{"path":294,"title":295,"section":260,"order":132,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Freplace-strings","Replace Strings",{"path":297,"title":298,"section":260,"order":52,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fsafe-selectors","Safe Selectors",{"path":300,"title":301,"section":260,"order":128,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fshorthand-css","Shorthand CSS",{"path":303,"title":304,"section":260,"order":124,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Fsix-hex","Six-digit HEX",{"path":306,"title":307,"section":260,"order":73,"sidebar":14},"\u002Fdocs\u002Ftransformers\u002Furl-parameters","URL Parameters",{"path":309,"title":310,"section":22,"order":52,"sidebar":14},"\u002Fdocs\u002Fupgrade-guide","Upgrade Guide",{"path":312,"title":236,"section":256,"order":13,"sidebar":14},"\u002Fdocs\u002Fvite-plugin",{"path":314,"title":315,"section":7,"order":7,"sidebar":8},"\u002Fprivacy","Privacy Policy",{"id":317,"title":107,"body":318,"description":1066,"extension":1067,"meta":1068,"navigation":14,"order":27,"path":185,"section":174,"seo":1069,"sidebar":14,"stem":1070,"toc":14,"__hash__":1071},"docs\u002Fdocs\u002Fdevelopment\u002Fplaintext.md",{"type":319,"value":320,"toc":1057},"minimark",[321,325,329,332,337,349,431,434,534,539,635,639,650,735,747,838,842,851,933,941,945,951,1034,1041,1044,1053],[322,323,107],"h1",{"id":324},"plaintext",[326,327,328],"p",{},"Plaintext versions of HTML emails give recipients a fallback when their client can't render HTML. Maizzle can generate them automatically for every template, on demand per template, or via the API.",[326,330,331],{},"These are actual text files that you would use as the text mime part of a multipart email. They are not minimally styled HTML that looks less designed or more \"personal\".",[333,334,336],"h2",{"id":335},"enable-globally","Enable globally",[326,338,339,340,344,345,348],{},"Set ",[341,342,343],"code",{},"plaintext: true"," in your config to write a ",[341,346,347],{},".txt"," file next to every HTML output. The plaintext file name will be the same as the template it corresponds to.",[350,351,357],"pre",{"className":352,"code":353,"filename":354,"language":355,"meta":356,"style":356},"language-ts shiki shiki-themes laserwave","import { defineConfig } from '@maizzle\u002Fframework'\n\nexport default defineConfig({\n  plaintext: true,\n})\n","maizzle.config.ts","ts","",[341,358,359,391,396,410,426],{"__ignoreMap":356},[360,361,363,367,371,375,378,381,384,388],"span",{"class":362,"line":18},"line",[360,364,366],{"class":365},"s0ZPN","import",[360,368,370],{"class":369},"sGGKt"," {",[360,372,374],{"class":373},"sU-n2"," defineConfig",[360,376,377],{"class":369}," }",[360,379,380],{"class":365}," from",[360,382,383],{"class":369}," '",[360,385,387],{"class":386},"sXiT_","@maizzle\u002Fframework",[360,389,390],{"class":369},"'\n",[360,392,393],{"class":362,"line":13},[360,394,395],{"emptyLinePlaceholder":14},"\n",[360,397,398,401,404,407],{"class":362,"line":32},[360,399,400],{"class":365},"export",[360,402,403],{"class":365}," default",[360,405,374],{"class":406},"sZNF3",[360,408,409],{"class":369},"({\n",[360,411,412,416,419,423],{"class":362,"line":27},[360,413,415],{"class":414},"sLaUg","  plaintext",[360,417,418],{"class":369},":",[360,420,422],{"class":421},"skd8d"," true",[360,424,425],{"class":369},",\n",[360,427,428],{"class":362,"line":52},[360,429,430],{"class":369},"})\n",[326,432,433],{},"For more control, pass an object:",[350,435,437],{"className":352,"code":436,"filename":354,"language":355,"meta":356,"style":356},"export default defineConfig({\n  plaintext: {\n    destination: 'build_production\u002Fplaintext',\n    extension: 'txt',\n    options: {\n      ignoreTags: ['br'],\n    },\n  },\n})\n",[341,438,439,449,458,475,491,500,520,525,530],{"__ignoreMap":356},[360,440,441,443,445,447],{"class":362,"line":18},[360,442,400],{"class":365},[360,444,403],{"class":365},[360,446,374],{"class":406},[360,448,409],{"class":369},[360,450,451,453,455],{"class":362,"line":13},[360,452,415],{"class":414},[360,454,418],{"class":369},[360,456,457],{"class":369}," {\n",[360,459,460,463,465,467,470,473],{"class":362,"line":32},[360,461,462],{"class":414},"    destination",[360,464,418],{"class":369},[360,466,383],{"class":369},[360,468,469],{"class":386},"build_production\u002Fplaintext",[360,471,472],{"class":369},"'",[360,474,425],{"class":369},[360,476,477,480,482,484,487,489],{"class":362,"line":27},[360,478,479],{"class":414},"    extension",[360,481,418],{"class":369},[360,483,383],{"class":369},[360,485,486],{"class":386},"txt",[360,488,472],{"class":369},[360,490,425],{"class":369},[360,492,493,496,498],{"class":362,"line":52},[360,494,495],{"class":414},"    options",[360,497,418],{"class":369},[360,499,457],{"class":369},[360,501,502,505,507,510,512,515,517],{"class":362,"line":128},[360,503,504],{"class":414},"      ignoreTags",[360,506,418],{"class":369},[360,508,509],{"class":369}," [",[360,511,472],{"class":369},[360,513,514],{"class":386},"br",[360,516,472],{"class":369},[360,518,519],{"class":369},"],\n",[360,521,522],{"class":362,"line":124},[360,523,524],{"class":369},"    },\n",[360,526,527],{"class":362,"line":48},[360,528,529],{"class":369},"  },\n",[360,531,532],{"class":362,"line":23},[360,533,430],{"class":369},[535,536,538],"h3",{"id":537},"options","Options",[540,541,542,561],"table",{},[543,544,545],"thead",{},[546,547,548,552,555,558],"tr",{},[549,550,551],"th",{},"Option",[549,553,554],{},"Type",[549,556,557],{},"Default",[549,559,560],{},"Description",[562,563,564,586,605],"tbody",{},[546,565,566,572,577,580],{},[567,568,569],"td",{},[341,570,571],{},"destination",[567,573,574],{},[341,575,576],{},"string",[567,578,579],{},"HTML output dir",[567,581,582,583,585],{},"Output directory for ",[341,584,347],{}," files. Nested template paths are preserved.",[546,587,588,593,597,602],{},[567,589,590],{},[341,591,592],{},"extension",[567,594,595],{},[341,596,576],{},[567,598,599],{},[341,600,601],{},"'txt'",[567,603,604],{},"File extension (without leading dot).",[546,606,607,611,616,621],{},[567,608,609],{},[341,610,537],{},[567,612,613],{},[341,614,615],{},"object",[567,617,618],{},[341,619,620],{},"{}",[567,622,623,624,634],{},"Forwarded to ",[625,626,631],"a",{"href":627,"rel":628,"target":630},"https:\u002F\u002Fcodsen.com\u002Fos\u002Fstring-strip-html",[629],"nofollow","_blank",[341,632,633],{},"string-strip-html",".",[333,636,638],{"id":637},"enable-per-template","Enable per-template",[326,640,641,642,645,646,649],{},"Use the ",[341,643,644],{},"usePlaintext()"," composable in ",[341,647,648],{},"\u003Cscript setup>"," to generate plaintext for a specific template, independent of the global config:",[350,651,656],{"className":652,"code":653,"filename":654,"language":655,"meta":356,"style":356},"language-vue shiki shiki-themes laserwave","\u003Cscript setup>\n  usePlaintext()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CHtml>\n    \u003C!-- ... -->\n  \u003C\u002FHtml>\n\u003C\u002Ftemplate>\n","emails\u002Fwelcome.vue","vue",[341,657,658,673,681,690,694,703,712,718,727],{"__ignoreMap":356},[360,659,660,663,667,670],{"class":362,"line":18},[360,661,662],{"class":369},"\u003C",[360,664,666],{"class":665},"sb4Pa","script",[360,668,669],{"class":406}," setup",[360,671,672],{"class":369},">\n",[360,674,675,678],{"class":362,"line":13},[360,676,677],{"class":406},"  usePlaintext",[360,679,680],{"class":369},"()\n",[360,682,683,686,688],{"class":362,"line":32},[360,684,685],{"class":369},"\u003C\u002F",[360,687,666],{"class":665},[360,689,672],{"class":369},[360,691,692],{"class":362,"line":27},[360,693,395],{"emptyLinePlaceholder":14},[360,695,696,698,701],{"class":362,"line":52},[360,697,662],{"class":369},[360,699,700],{"class":665},"template",[360,702,672],{"class":369},[360,704,705,708,710],{"class":362,"line":128},[360,706,707],{"class":369},"  \u003C",[360,709,69],{"class":665},[360,711,672],{"class":369},[360,713,714],{"class":362,"line":124},[360,715,717],{"class":716},"sVsQ9","    \u003C!-- ... -->\n",[360,719,720,723,725],{"class":362,"line":48},[360,721,722],{"class":369},"  \u003C\u002F",[360,724,69],{"class":665},[360,726,672],{"class":369},[360,728,729,731,733],{"class":362,"line":23},[360,730,685],{"class":369},[360,732,700],{"class":665},[360,734,672],{"class":369},[326,736,737,738,740,741,743,744,746],{},"You can pass ",[341,739,571],{},", ",[341,742,592],{},", or ",[341,745,537],{}," to override the global config for this template only:",[350,748,750],{"className":652,"code":749,"language":655,"meta":356,"style":356},"\u003Cscript setup>\n  usePlaintext({\n    destination: 'build_production\u002Fplaintext\u002Fwelcome',\n    extension: 'text',\n    options: { ignoreTags: ['br'] },\n  })\n\u003C\u002Fscript>\n",[341,751,752,762,768,783,798,825,830],{"__ignoreMap":356},[360,753,754,756,758,760],{"class":362,"line":18},[360,755,662],{"class":369},[360,757,666],{"class":665},[360,759,669],{"class":406},[360,761,672],{"class":369},[360,763,764,766],{"class":362,"line":13},[360,765,677],{"class":406},[360,767,409],{"class":369},[360,769,770,772,774,776,779,781],{"class":362,"line":32},[360,771,462],{"class":365},[360,773,418],{"class":369},[360,775,383],{"class":369},[360,777,778],{"class":386},"build_production\u002Fplaintext\u002Fwelcome",[360,780,472],{"class":369},[360,782,425],{"class":369},[360,784,785,787,789,791,794,796],{"class":362,"line":27},[360,786,479],{"class":365},[360,788,418],{"class":369},[360,790,383],{"class":369},[360,792,793],{"class":386},"text",[360,795,472],{"class":369},[360,797,425],{"class":369},[360,799,800,802,804,806,809,811,813,815,817,819,822],{"class":362,"line":52},[360,801,495],{"class":365},[360,803,418],{"class":369},[360,805,370],{"class":369},[360,807,808],{"class":365}," ignoreTags",[360,810,418],{"class":369},[360,812,509],{"class":369},[360,814,472],{"class":369},[360,816,514],{"class":386},[360,818,472],{"class":369},[360,820,821],{"class":369},"]",[360,823,824],{"class":369}," },\n",[360,826,827],{"class":362,"line":128},[360,828,829],{"class":369},"  })\n",[360,831,832,834,836],{"class":362,"line":124},[360,833,685],{"class":369},[360,835,666],{"class":665},[360,837,672],{"class":369},[333,839,841],{"id":840},"render-api","Render API",[326,843,844,845,848,849,418],{},"When using ",[341,846,847],{},"render()"," programmatically, plaintext is returned in the result object whenever generation is enabled — either via config or ",[341,850,644],{},[350,852,854],{"className":352,"code":853,"language":355,"meta":356,"style":356},"import { render } from '@maizzle\u002Fframework'\n\nconst { html, plaintext } = await render('emails\u002Fwelcome.vue', {\n  plaintext: true,\n})\n",[341,855,856,875,879,919,929],{"__ignoreMap":356},[360,857,858,860,862,865,867,869,871,873],{"class":362,"line":18},[360,859,366],{"class":365},[360,861,370],{"class":369},[360,863,864],{"class":373}," render",[360,866,377],{"class":369},[360,868,380],{"class":365},[360,870,383],{"class":369},[360,872,387],{"class":386},[360,874,390],{"class":369},[360,876,877],{"class":362,"line":13},[360,878,395],{"emptyLinePlaceholder":14},[360,880,881,885,887,890,893,896,898,901,904,906,909,911,913,915,917],{"class":362,"line":32},[360,882,884],{"class":883},"sIihq","const",[360,886,370],{"class":369},[360,888,889],{"class":373}," html",[360,891,892],{"class":369},",",[360,894,895],{"class":373}," plaintext",[360,897,377],{"class":369},[360,899,900],{"class":665}," =",[360,902,903],{"class":365}," await",[360,905,864],{"class":406},[360,907,908],{"class":369},"(",[360,910,472],{"class":369},[360,912,654],{"class":386},[360,914,472],{"class":369},[360,916,892],{"class":369},[360,918,457],{"class":369},[360,920,921,923,925,927],{"class":362,"line":27},[360,922,415],{"class":414},[360,924,418],{"class":369},[360,926,422],{"class":421},[360,928,425],{"class":369},[360,930,931],{"class":362,"line":52},[360,932,430],{"class":369},[326,934,935,936,940],{},"See ",[625,937,939],{"href":938},"\u002Fdocs\u002Fapi\u002Futilities#render","API Reference → render()"," for details.",[333,942,944],{"id":943},"direct-conversion","Direct conversion",[326,946,947,948,418],{},"Convert any HTML string to plaintext directly with ",[341,949,950],{},"createPlaintext()",[350,952,954],{"className":352,"code":953,"language":355,"meta":356,"style":356},"import { createPlaintext } from '@maizzle\u002Fframework'\n\nconst text = createPlaintext('\u003Cp>Hello \u003Ca href=\"https:\u002F\u002Fexample.com\">world\u003C\u002Fa>\u003C\u002Fp>', {\n  dumpLinkHrefsNearby: { enabled: true, putOnNewLine: true },\n})\n",[341,955,956,975,979,1003,1030],{"__ignoreMap":356},[360,957,958,960,962,965,967,969,971,973],{"class":362,"line":18},[360,959,366],{"class":365},[360,961,370],{"class":369},[360,963,964],{"class":373}," createPlaintext",[360,966,377],{"class":369},[360,968,380],{"class":365},[360,970,383],{"class":369},[360,972,387],{"class":386},[360,974,390],{"class":369},[360,976,977],{"class":362,"line":13},[360,978,395],{"emptyLinePlaceholder":14},[360,980,981,983,986,988,990,992,994,997,999,1001],{"class":362,"line":32},[360,982,884],{"class":883},[360,984,985],{"class":373}," text",[360,987,900],{"class":665},[360,989,964],{"class":406},[360,991,908],{"class":369},[360,993,472],{"class":369},[360,995,996],{"class":386},"\u003Cp>Hello \u003Ca href=\"https:\u002F\u002Fexample.com\">world\u003C\u002Fa>\u003C\u002Fp>",[360,998,472],{"class":369},[360,1000,892],{"class":369},[360,1002,457],{"class":369},[360,1004,1005,1008,1010,1012,1015,1017,1019,1021,1024,1026,1028],{"class":362,"line":27},[360,1006,1007],{"class":414},"  dumpLinkHrefsNearby",[360,1009,418],{"class":369},[360,1011,370],{"class":369},[360,1013,1014],{"class":414}," enabled",[360,1016,418],{"class":369},[360,1018,422],{"class":421},[360,1020,892],{"class":369},[360,1022,1023],{"class":414}," putOnNewLine",[360,1025,418],{"class":369},[360,1027,422],{"class":421},[360,1029,824],{"class":369},[360,1031,1032],{"class":362,"line":52},[360,1033,430],{"class":369},[326,1035,935,1036,1040],{},[625,1037,1039],{"href":1038},"\u002Fdocs\u002Fapi\u002Futilities#createplaintext","API Reference → createPlaintext()"," for the full signature.",[333,1042,31],{"id":1043},"components",[326,1045,1046,1047,1052],{},"For per-template control over what shows up in HTML versus plaintext, use the ",[625,1048,1049],{"href":106},[341,1050,1051],{},"\u003CPlaintext>"," components.",[1054,1055,1056],"style",{},"html pre.shiki code .s0ZPN, html code.shiki .s0ZPN{--shiki-default:#40B4C4}html pre.shiki code .sGGKt, html code.shiki .sGGKt{--shiki-default:#7B6995}html pre.shiki code .sU-n2, html code.shiki .sU-n2{--shiki-default:#FFF}html pre.shiki code .sXiT_, html code.shiki .sXiT_{--shiki-default:#B4DCE7}html pre.shiki code .sZNF3, html code.shiki .sZNF3{--shiki-default:#EB64B9}html pre.shiki code .sLaUg, html code.shiki .sLaUg{--shiki-default:#FFFFFF}html pre.shiki code .skd8d, html code.shiki .skd8d{--shiki-default:#FFE261}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 pre.shiki code .sb4Pa, html code.shiki .sb4Pa{--shiki-default:#74DFC4}html pre.shiki code .sVsQ9, html code.shiki .sVsQ9{--shiki-default:#91889B}html pre.shiki code .sIihq, html code.shiki .sIihq{--shiki-default:#A96BC0}",{"title":356,"searchDepth":13,"depth":13,"links":1058},[1059,1062,1063,1064,1065],{"id":335,"depth":13,"text":336,"children":1060},[1061],{"id":537,"depth":32,"text":538},{"id":637,"depth":13,"text":638},{"id":840,"depth":13,"text":841},{"id":943,"depth":13,"text":944},{"id":1043,"depth":13,"text":31},"Generate plaintext versions of your email templates alongside HTML output.","md",{},{"title":107,"description":1066},"docs\u002Fdevelopment\u002Fplaintext","j5e2dvcce6OnY-Zdny6vgTFJVoyq9thAmu2SdICmPGc",1781015461091]