[{"data":1,"prerenderedAt":740},["ShallowReactive",2],{"docs-side-nav":3,"docs-header-nav":197,"/docs/transformers/prettify":270,"docs-bottom-nav":667},{"id":4,"extension":5,"items":6,"meta":194,"stem":195,"__hash__":196},"navigation/data/navigation.json","json",[7,34,46,70,104,155,170],{"name":8,"items":9},"Getting Started",[10,13,16,19,22,25,28,31],{"title":11,"path":12},"What is Maizzle?","/docs/introduction",{"title":14,"path":15},"Installation","/docs/installation",{"title":17,"path":18},"Editor Setup","/docs/editor-setup",{"title":20,"path":21},"Compatibility","/docs/compatibility",{"title":23,"path":24},"Upgrade Guide","/docs/upgrade-guide",{"title":26,"path":27},"Resources","/resources",{"title":29,"path":30},"Glossary","/glossary",{"title":32,"path":33},"CLI","/docs/cli",{"name":35,"items":36},"Concepts",[37,40,43],{"title":38,"path":39},"Environments","/docs/environments",{"title":41,"path":42},"Tailwind CSS","/docs/tailwindcss",{"title":44,"path":45},"Build Process","/docs/build-process",{"name":47,"items":48},"Configuration",[49,52,55,58,61,64,67],{"title":50,"path":51},"CSS","/docs/configuration/css",{"title":53,"path":54},"Build","/docs/configuration/build",{"title":56,"path":57},"Server","/docs/configuration/server",{"title":59,"path":60},"Components","/docs/configuration/components",{"title":62,"path":63},"Expressions","/docs/configuration/expressions",{"title":65,"path":66},"PostHTML","/docs/configuration/posthtml",{"title":68,"path":69},"PostCSS","/docs/configuration/postcss",{"name":71,"items":72},"Development",[73,76,79,81,83,86,89,92,95,98,101],{"title":74,"path":75},"Layouts","/docs/layouts",{"title":77,"path":78},"Templates","/docs/templates",{"title":59,"path":80},"/docs/components",{"title":62,"path":82},"/docs/expressions",{"title":84,"path":85},"Tags","/docs/tags",{"title":87,"path":88},"Assets","/docs/assets",{"title":90,"path":91},"Events","/docs/events",{"title":93,"path":94},"Functions","/docs/functions",{"title":96,"path":97},"Markdown","/docs/markdown",{"title":99,"path":100},"Plaintext","/docs/plaintext",{"title":102,"path":103},"API","/docs/api",{"name":105,"items":106},"Transformers",[107,110,113,116,119,122,125,128,131,134,137,140,143,146,149,152],{"title":108,"path":109},"What are Transformers?","/docs/transformers",{"title":111,"path":112},"Filters","/docs/transformers/filters",{"title":114,"path":115},"Inline CSS","/docs/transformers/inline-css",{"title":117,"path":118},"Safe Selectors","/docs/transformers/safe-class-names",{"title":120,"path":121},"CSS Purging","/docs/transformers/purge-css",{"title":123,"path":124},"Shorthand CSS","/docs/transformers/shorthand-css",{"title":126,"path":127},"Attribute To Style","/docs/transformers/attribute-to-style",{"title":129,"path":130},"Remove Attributes","/docs/transformers/remove-attributes",{"title":132,"path":133},"Add Attributes","/docs/transformers/add-attributes",{"title":135,"path":136},"Replace Strings","/docs/transformers/replace-strings",{"title":138,"path":139},"Widow Words","/docs/transformers/widows",{"title":141,"path":142},"URL Parameters","/docs/transformers/url-parameters",{"title":144,"path":145},"Base URL","/docs/transformers/base-url",{"title":147,"path":148},"Six HEX","/docs/transformers/six-hex",{"title":150,"path":151},"Prettify","/docs/transformers/prettify",{"title":153,"path":154},"Minify","/docs/transformers/minify",{"name":156,"items":157},"Starter Components",[158,161,164,167],{"title":159,"path":160},"Spacer","/docs/components/spacer",{"title":162,"path":163},"Divider","/docs/components/divider",{"title":165,"path":166},"Button","/docs/components/button",{"title":168,"path":169},"VML","/docs/components/vml",{"name":171,"items":172},"Examples",[173,176,179,182,185,188,191],{"title":174,"path":175},"Spacers","/docs/examples/spacers",{"title":177,"path":178},"Dividers","/docs/examples/dividers",{"title":180,"path":181},"Buttons","/docs/examples/buttons",{"title":183,"path":184},"Cards","/docs/examples/cards",{"title":186,"path":187},"Grids","/docs/examples/grids",{"title":189,"path":190},"Google Fonts","/docs/examples/google-fonts",{"title":192,"path":193},"Reverse Stack","/docs/examples/reverse-stack",{},"data/navigation","lXnN10nQFMOp0U7LPKSlEiRFYPoRC0dC5rgvZn8-pes",{"id":4,"extension":5,"items":198,"meta":269,"stem":195,"__hash__":196},[199,209,214,223,236,254,260],{"name":8,"items":200},[201,202,203,204,205,206,207,208],{"title":11,"path":12},{"title":14,"path":15},{"title":17,"path":18},{"title":20,"path":21},{"title":23,"path":24},{"title":26,"path":27},{"title":29,"path":30},{"title":32,"path":33},{"name":35,"items":210},[211,212,213],{"title":38,"path":39},{"title":41,"path":42},{"title":44,"path":45},{"name":47,"items":215},[216,217,218,219,220,221,222],{"title":50,"path":51},{"title":53,"path":54},{"title":56,"path":57},{"title":59,"path":60},{"title":62,"path":63},{"title":65,"path":66},{"title":68,"path":69},{"name":71,"items":224},[225,226,227,228,229,230,231,232,233,234,235],{"title":74,"path":75},{"title":77,"path":78},{"title":59,"path":80},{"title":62,"path":82},{"title":84,"path":85},{"title":87,"path":88},{"title":90,"path":91},{"title":93,"path":94},{"title":96,"path":97},{"title":99,"path":100},{"title":102,"path":103},{"name":105,"items":237},[238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253],{"title":108,"path":109},{"title":111,"path":112},{"title":114,"path":115},{"title":117,"path":118},{"title":120,"path":121},{"title":123,"path":124},{"title":126,"path":127},{"title":129,"path":130},{"title":132,"path":133},{"title":135,"path":136},{"title":138,"path":139},{"title":141,"path":142},{"title":144,"path":145},{"title":147,"path":148},{"title":150,"path":151},{"title":153,"path":154},{"name":156,"items":255},[256,257,258,259],{"title":159,"path":160},{"title":162,"path":163},{"title":165,"path":166},{"title":168,"path":169},{"name":171,"items":261},[262,263,264,265,266,267,268],{"title":174,"path":175},{"title":177,"path":178},{"title":180,"path":181},{"title":183,"path":184},{"title":186,"path":187},{"title":189,"path":190},{"title":192,"path":193},{},{"id":271,"title":272,"body":273,"description":660,"extension":661,"meta":662,"navigation":596,"path":151,"seo":663,"sitemap":664,"stem":665,"__hash__":666},"docs/docs/transformers/prettify.md","Prettify Email Code",{"type":274,"value":275,"toc":654},"minimark",[276,281,285,293,298,346,349,424,428,431,434,475,486,489,502,542,545,561,564,650],[277,278,280],"h1",{"id":279},"prettify-code","Prettify Code",[282,283,284],"p",{},"Maizzle can pretty print your HTML email code so that it's nicely indented.",[282,286,287,288,292],{},"Need to send HTML to a human? Enable ",[289,290,291],"code",{},"prettify"," in your config:",[294,295,297],"h2",{"id":296},"usage","Usage",[299,300,306],"pre",{"className":301,"code":302,"filename":303,"language":304,"meta":305,"style":305},"language-js shiki shiki-themes tailwind-css tailwind-css","export default {\n  prettify: true,\n}\n","config.js","js","",[289,307,308,324,340],{"__ignoreMap":305},[309,310,313,317,320],"span",{"class":311,"line":312},"line",1,[309,314,316],{"class":315},"sizJ4","export",[309,318,319],{"class":315}," default",[309,321,323],{"class":322},"sprQ5"," {\n",[309,325,327,331,334,337],{"class":311,"line":326},2,[309,328,330],{"class":329},"sfCc6","  prettify",[309,332,333],{"class":322},":",[309,335,336],{"class":315}," true",[309,338,339],{"class":322},",\n",[309,341,343],{"class":311,"line":342},3,[309,344,345],{"class":322},"}\n",[282,347,348],{},"Enabling it will use this default configuration:",[299,350,352],{"className":301,"code":351,"language":304,"meta":305,"style":305},"{\n  space_around_combinator: true, // Preserve space around CSS selector combinators\n  newline_between_rules: false, // Remove empty lines between CSS rules\n  indent_inner_html: false, // Helps reduce file size\n  extra_liners: [] // Don't add extra new line before any tag\n}\n",[289,353,354,359,375,390,405,419],{"__ignoreMap":305},[309,355,356],{"class":311,"line":312},[309,357,358],{"class":322},"{\n",[309,360,361,364,366,368,371],{"class":311,"line":326},[309,362,363],{"class":315},"  space_around_combinator",[309,365,333],{"class":322},[309,367,336],{"class":315},[309,369,370],{"class":322},",",[309,372,374],{"class":373},"smVoC"," // Preserve space around CSS selector combinators\n",[309,376,377,380,382,385,387],{"class":311,"line":342},[309,378,379],{"class":315},"  newline_between_rules",[309,381,333],{"class":322},[309,383,384],{"class":315}," false",[309,386,370],{"class":322},[309,388,389],{"class":373}," // Remove empty lines between CSS rules\n",[309,391,393,396,398,400,402],{"class":311,"line":392},4,[309,394,395],{"class":315},"  indent_inner_html",[309,397,333],{"class":322},[309,399,384],{"class":315},[309,401,370],{"class":322},[309,403,404],{"class":373}," // Helps reduce file size\n",[309,406,408,411,413,416],{"class":311,"line":407},5,[309,409,410],{"class":315},"  extra_liners",[309,412,333],{"class":322},[309,414,415],{"class":329}," [] ",[309,417,418],{"class":373},"// Don't add extra new line before any tag\n",[309,420,422],{"class":311,"line":421},6,[309,423,345],{"class":322},[294,425,427],{"id":426},"customization","Customization",[282,429,430],{},"You may configure JS Beautify's CSS and HTML Beautifier options.",[282,432,433],{},"Maybe you prefer tabs for indentation?",[299,435,437],{"className":301,"code":436,"filename":303,"language":304,"meta":305,"style":305},"export default {\n  prettify: {\n    indent_with_tabs: true,\n  }\n}\n",[289,438,439,447,455,466,471],{"__ignoreMap":305},[309,440,441,443,445],{"class":311,"line":312},[309,442,316],{"class":315},[309,444,319],{"class":315},[309,446,323],{"class":322},[309,448,449,451,453],{"class":311,"line":326},[309,450,330],{"class":329},[309,452,333],{"class":322},[309,454,323],{"class":322},[309,456,457,460,462,464],{"class":311,"line":342},[309,458,459],{"class":329},"    indent_with_tabs",[309,461,333],{"class":322},[309,463,336],{"class":315},[309,465,339],{"class":322},[309,467,468],{"class":311,"line":392},[309,469,470],{"class":322},"  }\n",[309,472,473],{"class":311,"line":407},[309,474,345],{"class":322},[282,476,477,478,485],{},"Checkout the full ",[479,480,484],"a",{"href":481,"rel":482},"https://www.npmjs.com/package/js-beautify#css--html",[483],"nofollow","list of HTML & CSS beautifier options",".",[294,487,488],{"id":488},"ocd",[282,490,491,492,495,498,499],{},"Type: ",[289,493,494],{},"Boolean",[496,497],"br",{},"\nDefault: ",[289,500,501],{},"false",[299,503,505],{"className":301,"code":504,"filename":303,"language":304,"meta":305,"style":305},"export default {\n  prettify: {\n    ocd: true,\n  }\n}\n",[289,506,507,515,523,534,538],{"__ignoreMap":305},[309,508,509,511,513],{"class":311,"line":312},[309,510,316],{"class":315},[309,512,319],{"class":315},[309,514,323],{"class":322},[309,516,517,519,521],{"class":311,"line":326},[309,518,330],{"class":329},[309,520,333],{"class":322},[309,522,323],{"class":322},[309,524,525,528,530,532],{"class":311,"line":342},[309,526,527],{"class":329},"    ocd",[309,529,333],{"class":322},[309,531,336],{"class":315},[309,533,339],{"class":322},[309,535,536],{"class":311,"line":392},[309,537,470],{"class":322},[309,539,540],{"class":311,"line":407},[309,541,345],{"class":322},[282,543,544],{},"This option applies several code indentation strategies:",[546,547,548,552,555,558],"ul",{},[549,550,551],"li",{},"condenses multiple newlines to a single newline",[549,553,554],{},"trims leading and trailing whitespace",[549,556,557],{},"ensures that a trailing newline is inserted",[549,559,560],{},"normalizes whitespace before code comments",[294,562,102],{"id":563},"api",[299,565,568],{"className":301,"code":566,"filename":567,"language":304,"meta":305,"style":305},"import { prettify } from '@maizzle/framework'\n\nconst options = {/* prettify options */}\n\nconst html = await prettify('html string', options)\n","app.js",[289,569,570,592,598,617,621],{"__ignoreMap":305},[309,571,572,576,579,583,586,589],{"class":311,"line":312},[309,573,575],{"class":574},"s8qYB","import",[309,577,578],{"class":322}," {",[309,580,582],{"class":581},"sO1gY"," prettify",[309,584,585],{"class":322}," }",[309,587,588],{"class":322}," from",[309,590,591],{"class":574}," '@maizzle/framework'\n",[309,593,594],{"class":311,"line":326},[309,595,597],{"emptyLinePlaceholder":596},true,"\n",[309,599,600,603,606,610,612,615],{"class":311,"line":342},[309,601,602],{"class":574},"const",[309,604,605],{"class":329}," options ",[309,607,609],{"class":608},"sVevU","=",[309,611,578],{"class":322},[309,613,614],{"class":373},"/* prettify options */",[309,616,345],{"class":322},[309,618,619],{"class":311,"line":392},[309,620,597],{"emptyLinePlaceholder":596},[309,622,623,625,628,630,633,636,639,642,644,647],{"class":311,"line":407},[309,624,602],{"class":574},[309,626,627],{"class":329}," html ",[309,629,609],{"class":608},[309,631,632],{"class":315}," await",[309,634,582],{"class":635},"s2ImL",[309,637,638],{"class":329},"(",[309,640,641],{"class":329},"'html string'",[309,643,370],{"class":322},[309,645,646],{"class":574}," options",[309,648,649],{"class":329},")\n",[651,652,653],"style",{},"html pre.shiki code .sizJ4, html code.shiki .sizJ4{--shiki-light:#EC4899;--shiki-dark:#EC4899}html pre.shiki code .sprQ5, html code.shiki .sprQ5{--shiki-light:#44403C;--shiki-dark:#44403C}html pre.shiki code .sfCc6, html code.shiki .sfCc6{--shiki-light:#1D4ED8;--shiki-dark:#1D4ED8}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 .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);}html pre.shiki code .smVoC, html code.shiki .smVoC{--shiki-light:#94A3B8;--shiki-light-font-style:italic;--shiki-dark:#94A3B8;--shiki-dark-font-style:italic}html pre.shiki code .s8qYB, html code.shiki .s8qYB{--shiki-light:#3730A3;--shiki-dark:#3730A3}html pre.shiki code .sO1gY, html code.shiki .sO1gY{--shiki-light:#2563EB;--shiki-dark:#2563EB}html pre.shiki code .sVevU, html code.shiki .sVevU{--shiki-light:#35393E;--shiki-dark:#35393E}html pre.shiki code .s2ImL, html code.shiki .s2ImL{--shiki-light:#00BF99;--shiki-dark:#00BF99}",{"title":305,"searchDepth":326,"depth":326,"links":655},[656,657,658,659],{"id":296,"depth":326,"text":297},{"id":426,"depth":326,"text":427},{"id":488,"depth":326,"text":488},{"id":563,"depth":326,"text":102},"Pretty-print your HTML email code before sending it to a human.","md",{},{"title":272,"description":660},{"loc":151},"docs/transformers/prettify","WbITKX0AFBJCAmJ42da4Kk-NyaJF4TRNd8peKals3dU",{"id":4,"extension":5,"items":668,"meta":739,"stem":195,"__hash__":196},[669,679,684,693,706,724,730],{"name":8,"items":670},[671,672,673,674,675,676,677,678],{"title":11,"path":12},{"title":14,"path":15},{"title":17,"path":18},{"title":20,"path":21},{"title":23,"path":24},{"title":26,"path":27},{"title":29,"path":30},{"title":32,"path":33},{"name":35,"items":680},[681,682,683],{"title":38,"path":39},{"title":41,"path":42},{"title":44,"path":45},{"name":47,"items":685},[686,687,688,689,690,691,692],{"title":50,"path":51},{"title":53,"path":54},{"title":56,"path":57},{"title":59,"path":60},{"title":62,"path":63},{"title":65,"path":66},{"title":68,"path":69},{"name":71,"items":694},[695,696,697,698,699,700,701,702,703,704,705],{"title":74,"path":75},{"title":77,"path":78},{"title":59,"path":80},{"title":62,"path":82},{"title":84,"path":85},{"title":87,"path":88},{"title":90,"path":91},{"title":93,"path":94},{"title":96,"path":97},{"title":99,"path":100},{"title":102,"path":103},{"name":105,"items":707},[708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723],{"title":108,"path":109},{"title":111,"path":112},{"title":114,"path":115},{"title":117,"path":118},{"title":120,"path":121},{"title":123,"path":124},{"title":126,"path":127},{"title":129,"path":130},{"title":132,"path":133},{"title":135,"path":136},{"title":138,"path":139},{"title":141,"path":142},{"title":144,"path":145},{"title":147,"path":148},{"title":150,"path":151},{"title":153,"path":154},{"name":156,"items":725},[726,727,728,729],{"title":159,"path":160},{"title":162,"path":163},{"title":165,"path":166},{"title":168,"path":169},{"name":171,"items":731},[732,733,734,735,736,737,738],{"title":174,"path":175},{"title":177,"path":178},{"title":180,"path":181},{"title":183,"path":184},{"title":186,"path":187},{"title":189,"path":190},{"title":192,"path":193},{},1780318595676]