[{"data":1,"prerenderedAt":591},["ShallowReactive",2],{"content-\u002Fdocumentation\u002Fimages":3,"root-redirect":343,"navigation":515},{"id":4,"title":5,"body":6,"category":334,"description":335,"extension":36,"meta":336,"navigation":337,"path":339,"seo":340,"stem":341,"__hash__":342},"content\u002F2.documentation\u002Fimages.md","Images",{"type":7,"value":8,"toc":325},"minimark",[9,13,17,20,23,28,31,64,67,69,73,80,83,91,94,100,102,106,109,111,140,143,145,149,152,154,174,177,180,202,204,208,211,213,232,235,248,250,254,257,259,276,279,293,295,299,302,304,318,321],[10,11,5],"h1",{"id":12},"images",[14,15,16],"p",{},"Images are an important part of documentation. They can be used for screenshots, diagrams, illustrations, or visual explanations.",[14,18,19],{},"SimpleWiki supports standard Markdown images as well as the Nuxt Image component.",[21,22],"hr",{},[24,25,27],"h2",{"id":26},"basic-images","Basic Images",[14,29,30],{},"The simplest way to add an image is using standard Markdown syntax.",[32,33,38],"pre",{"className":34,"code":35,"language":36,"meta":37,"style":37},"language-md shiki shiki-themes github-light github-dark","![Alternative text](\u002Fimages\u002Fexample.png)\n","md","",[39,40,41],"code",{"__ignoreMap":37},[42,43,46,50,54,57,61],"span",{"class":44,"line":45},"line",1,[42,47,49],{"class":48},"sVt8B","![",[42,51,53],{"class":52},"svl0z","Alternative text",[42,55,56],{"class":48},"](",[42,58,60],{"class":59},"s2frl","\u002Fimages\u002Fexample.png",[42,62,63],{"class":48},")\n",[14,65,66],{},"The text inside the brackets is used as the image's alternative text.",[21,68],{},[24,70,72],{"id":71},"image-location","Image Location",[14,74,75,76,79],{},"Static images should be stored inside the ",[39,77,78],{},"public\u002F"," directory.",[14,81,82],{},"Example:",[32,84,89],{"className":85,"code":87,"language":88,"meta":37},[86],"language-text","public\u002F\n└── images\u002F\n    └── example.png\n","text",[39,90,87],{"__ignoreMap":37},[14,92,93],{},"The image can then be accessed using:",[32,95,98],{"className":96,"code":97,"language":88,"meta":37},[86],"\u002Fimages\u002Fexample.png\n",[39,99,97],{"__ignoreMap":37},[21,101],{},[24,103,105],{"id":104},"image-captions","Image Captions",[14,107,108],{},"You can add a title attribute to display additional information.",[14,110,82],{},[32,112,114],{"className":34,"code":113,"language":36,"meta":37,"style":37},"![Screenshot](\u002Fimages\u002Fdashboard.png \"Dashboard overview\")\n",[39,115,116],{"__ignoreMap":37},[42,117,118,120,123,125,128,132,135,138],{"class":44,"line":45},[42,119,49],{"class":48},[42,121,122],{"class":52},"Screenshot",[42,124,56],{"class":48},[42,126,127],{"class":59},"\u002Fimages\u002Fdashboard.png",[42,129,131],{"class":130},"s1zC7"," \"",[42,133,134],{"class":52},"Dashboard overview",[42,136,137],{"class":130},"\"",[42,139,63],{"class":48},[14,141,142],{},"The title is shown when hovering over the image.",[21,144],{},[24,146,148],{"id":147},"image-size","Image Size",[14,150,151],{},"Images can be customized using attributes.",[14,153,82],{},[32,155,157],{"className":34,"code":156,"language":36,"meta":37,"style":37},"![Landscape](\u002Fimages\u002Flandscape.png){width=\"50%\"}\n",[39,158,159],{"__ignoreMap":37},[42,160,161,163,166,168,171],{"class":44,"line":45},[42,162,49],{"class":48},[42,164,165],{"class":52},"Landscape",[42,167,56],{"class":48},[42,169,170],{"class":59},"\u002Fimages\u002Flandscape.png",[42,172,173],{"class":48},"){width=\"50%\"}\n",[14,175,176],{},"This allows you to control the displayed size.",[14,178,179],{},"Common values:",[32,181,183],{"className":34,"code":182,"language":36,"meta":37,"style":37},"{width=\"25%\"}\n{width=\"50%\"}\n{width=\"500px\"}\n",[39,184,185,190,196],{"__ignoreMap":37},[42,186,187],{"class":44,"line":45},[42,188,189],{"class":48},"{width=\"25%\"}\n",[42,191,193],{"class":44,"line":192},2,[42,194,195],{"class":48},"{width=\"50%\"}\n",[42,197,199],{"class":44,"line":198},3,[42,200,201],{"class":48},"{width=\"500px\"}\n",[21,203],{},[24,205,207],{"id":206},"image-styling","Image Styling",[14,209,210],{},"Additional HTML attributes can be added.",[14,212,82],{},[32,214,216],{"className":34,"code":215,"language":36,"meta":37,"style":37},"![Centered Image](\u002Fimages\u002Fexample.png){style=\"display: block; margin: 0 auto;\"}\n",[39,217,218],{"__ignoreMap":37},[42,219,220,222,225,227,229],{"class":44,"line":45},[42,221,49],{"class":48},[42,223,224],{"class":52},"Centered Image",[42,226,56],{"class":48},[42,228,60],{"class":59},[42,230,231],{"class":48},"){style=\"display: block; margin: 0 auto;\"}\n",[14,233,234],{},"This can be used for:",[236,237,238,242,245],"ul",{},[239,240,241],"li",{},"Centering images",[239,243,244],{},"Adding custom styling",[239,246,247],{},"Adjusting layout behavior",[21,249],{},[24,251,253],{"id":252},"nuxt-image-component","Nuxt Image Component",[14,255,256],{},"SimpleWiki also supports the Nuxt Image component through MDC.",[14,258,82],{},[32,260,264],{"className":261,"code":262,"language":263,"meta":37,"style":37},"language-none shiki shiki-themes github-light github-dark","::nuxt-img{src=\"\u002Fimages\u002Fexample.png\" width=\"300\" height=\"200\" format=\"webp\" loading=\"lazy\"}\n::\n","none",[39,265,266,271],{"__ignoreMap":37},[42,267,268],{"class":44,"line":45},[42,269,270],{},"::nuxt-img{src=\"\u002Fimages\u002Fexample.png\" width=\"300\" height=\"200\" format=\"webp\" loading=\"lazy\"}\n",[42,272,273],{"class":44,"line":192},[42,274,275],{},"::\n",[14,277,278],{},"This provides additional features such as:",[236,280,281,284,287,290],{},[239,282,283],{},"Automatic optimization",[239,285,286],{},"Responsive images",[239,288,289],{},"Modern image formats",[239,291,292],{},"Lazy loading",[21,294],{},[24,296,298],{"id":297},"responsive-images","Responsive Images",[14,300,301],{},"For better performance, use optimized images whenever possible.",[14,303,82],{},[32,305,307],{"className":34,"code":306,"language":36,"meta":37,"style":37},"::nuxt-img{src=\"\u002Fimages\u002Fexample.png\" width=\"800\" format=\"webp\" loading=\"lazy\"}\n::\n",[39,308,309,314],{"__ignoreMap":37},[42,310,311],{"class":44,"line":45},[42,312,313],{"class":48},"::nuxt-img{src=\"\u002Fimages\u002Fexample.png\" width=\"800\" format=\"webp\" loading=\"lazy\"}\n",[42,315,316],{"class":44,"line":192},[42,317,275],{"class":48},[14,319,320],{},"The image will automatically be optimized during rendering.",[322,323,324],"style",{},"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);}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .svl0z, html code.shiki .svl0z{--shiki-default:#032F62;--shiki-default-text-decoration:underline;--shiki-dark:#DBEDFF;--shiki-dark-text-decoration:underline}html pre.shiki code .s2frl, html code.shiki .s2frl{--shiki-default:#24292E;--shiki-default-text-decoration:underline;--shiki-dark:#E1E4E8;--shiki-dark-text-decoration:underline}html pre.shiki code .s1zC7, html code.shiki .s1zC7{--shiki-default:#032F62;--shiki-default-text-decoration:underline;--shiki-dark:#9ECBFF;--shiki-dark-text-decoration:underline}",{"title":37,"searchDepth":45,"depth":192,"links":326},[327,328,329,330,331,332,333],{"id":26,"depth":192,"text":27},{"id":71,"depth":192,"text":72},{"id":104,"depth":192,"text":105},{"id":147,"depth":192,"text":148},{"id":206,"depth":192,"text":207},{"id":252,"depth":192,"text":253},{"id":297,"depth":192,"text":298},null,"Learn how to add and customize images in SimpleWiki documentation pages.",{},{"title":5,"order":338},5,"\u002Fdocumentation\u002Fimages",{"title":5,"description":335},"2.documentation\u002Fimages","Z9zaCEzT4QRW2wA01wnH9RNcty_xcQFoi0rMEYLWOEM",[344,375,402,492,505],{"title":345,"items":346,"path":359,"stem":360,"children":361},"Getting Started",[347,350,353,356],{"title":348,"path":349},"Welcome","\u002F",{"title":351,"path":352},"Installation","\u002Finstallation",{"title":354,"path":355},"Project Structure","\u002Fproject-structure",{"title":357,"path":358},"Creating Your First Wiki","\u002Fcreating-your-first-wiki","\u002Fgetting-started","1.getting-started",[362,365,369,372],{"title":363,"path":359,"stem":364,"order":45},"Introduction","1.getting-started\u002Findex",{"title":357,"path":366,"stem":367,"order":368},"\u002Fgetting-started\u002Ffirst-wiki","1.getting-started\u002Ffirst-wiki",4,{"title":351,"path":370,"stem":371,"order":192},"\u002Fgetting-started\u002Finstallation","1.getting-started\u002Finstallation",{"title":354,"path":373,"stem":374,"order":198},"\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002Fproject-structure",{"title":376,"path":377,"stem":378,"children":379,"page":401},"Documentation","\u002Fdocumentation","2.documentation",[380,384,388,389,393,397],{"title":381,"path":382,"stem":383,"order":192},"Code Blocks","\u002Fdocumentation\u002Fcode-blocks","2.documentation\u002Fcode-blocks",{"title":385,"path":386,"stem":387,"order":368},"Field Tables","\u002Fdocumentation\u002Ffield-tables","2.documentation\u002Ffield-tables",{"title":5,"path":339,"stem":341,"order":338},{"title":390,"path":391,"stem":392,"order":45},"Markdown Syntax","\u002Fdocumentation\u002Fmarkdown-syntax","2.documentation\u002Fmarkdown-syntax",{"title":394,"path":395,"stem":396,"order":198},"Tables","\u002Fdocumentation\u002Ftables","2.documentation\u002Ftables",{"title":398,"path":399,"stem":400,"order":338},"Videos","\u002Fdocumentation\u002Fvideos","2.documentation\u002Fvideos",false,{"title":403,"path":404,"stem":405,"children":406,"page":401},"Components","\u002Fcomponents","3.components",[407,412,416,421,426,431,436,440,444,449,454,458,463,468,473,478,483,487],{"title":408,"path":409,"stem":410,"order":411},"Accordions","\u002Fcomponents\u002Faccordion","3.components\u002Faccordion",6,{"title":413,"path":414,"stem":415,"order":338},"Badges","\u002Fcomponents\u002Fbadge","3.components\u002Fbadge",{"title":417,"path":418,"stem":419,"order":420},"Category List","\u002Fcomponents\u002Fcategory-list","3.components\u002Fcategory-list",15,{"title":422,"path":423,"stem":424,"order":425},"Collapsible","\u002Fcomponents\u002Fcollapsible","3.components\u002Fcollapsible",8,{"title":427,"path":428,"stem":429,"order":430},"Diff","\u002Fcomponents\u002Fdiff","3.components\u002Fdiff",9,{"title":432,"path":433,"stem":434,"order":435},"Hatnote","\u002Fcomponents\u002Fhatnote","3.components\u002Fhatnote",12,{"title":437,"path":438,"stem":439,"order":192},"Highlight","\u002Fcomponents\u002Fhighlight","3.components\u002Fhighlight",{"title":441,"path":442,"stem":443,"order":198},"Info Boxes","\u002Fcomponents\u002Finfo-boxes","3.components\u002Finfo-boxes",{"title":445,"path":446,"stem":447,"order":448},"Kbd (Keyboard)","\u002Fcomponents\u002Fkbd","3.components\u002Fkbd",11,{"title":450,"path":451,"stem":452,"order":453},"Link Card","\u002Fcomponents\u002Flink-card","3.components\u002Flink-card",17,{"title":455,"path":456,"stem":457,"order":45},"Overview","\u002Fcomponents\u002Foverview","3.components\u002Foverview",{"title":459,"path":460,"stem":461,"order":462},"Pull Quote","\u002Fcomponents\u002Fpull-quote","3.components\u002Fpull-quote",13,{"title":464,"path":465,"stem":466,"order":467},"Reference List","\u002Fcomponents\u002Freference-list","3.components\u002Freference-list",14,{"title":469,"path":470,"stem":471,"order":472},"References","\u002Fcomponents\u002Freferences","3.components\u002Freferences",18,{"title":474,"path":475,"stem":476,"order":477},"See Also","\u002Fcomponents\u002Fsee-also","3.components\u002Fsee-also",16,{"title":479,"path":480,"stem":481,"order":482},"Steps","\u002Fcomponents\u002Fsteps","3.components\u002Fsteps",10,{"title":484,"path":485,"stem":486,"order":368},"Tabs","\u002Fcomponents\u002Ftabs","3.components\u002Ftabs",{"title":488,"path":489,"stem":490,"order":491},"Timeline","\u002Fcomponents\u002Ftimeline","3.components\u002Ftimeline",7,{"title":493,"path":494,"stem":495,"children":496,"page":401},"Diagrams","\u002Fdiagrams","4.diagrams",[497,501],{"title":498,"path":499,"stem":500,"order":45},"Mermaid","\u002Fdiagrams\u002Fmermaid","4.diagrams\u002Fmermaid",{"title":502,"path":503,"stem":504,"order":192},"PlantUML","\u002Fdiagrams\u002Fplantuml","4.diagrams\u002Fplantuml",{"title":506,"path":507,"stem":508,"children":509,"page":401},"Playground","\u002Fplayground","playground",[510],{"title":511,"path":512,"stem":513,"hide":514},"Markdown Test","\u002Fplayground\u002Fmarkdown-test","playground\u002Fmarkdown-test",true,[516,531,545,583,589],{"title":345,"items":517,"path":359,"stem":360,"children":522},[518,519,520,521],{"title":348,"path":349},{"title":351,"path":352},{"title":354,"path":355},{"title":357,"path":358},[523,525,527,529],{"title":363,"path":359,"stem":364,"order":45,"children":524},[],{"title":351,"path":370,"stem":371,"order":192,"children":526},[],{"title":354,"path":373,"stem":374,"order":198,"children":528},[],{"title":357,"path":366,"stem":367,"order":368,"children":530},[],{"title":376,"path":377,"stem":378,"children":532,"page":401},[533,535,537,539,541,543],{"title":390,"path":391,"stem":392,"order":45,"children":534},[],{"title":381,"path":382,"stem":383,"order":192,"children":536},[],{"title":394,"path":395,"stem":396,"order":198,"children":538},[],{"title":385,"path":386,"stem":387,"order":368,"children":540},[],{"title":5,"path":339,"stem":341,"order":338,"children":542},[],{"title":398,"path":399,"stem":400,"order":338,"children":544},[],{"title":403,"path":404,"stem":405,"children":546,"page":401},[547,549,551,553,555,557,559,561,563,565,567,569,571,573,575,577,579,581],{"title":455,"path":456,"stem":457,"order":45,"children":548},[],{"title":437,"path":438,"stem":439,"order":192,"children":550},[],{"title":441,"path":442,"stem":443,"order":198,"children":552},[],{"title":484,"path":485,"stem":486,"order":368,"children":554},[],{"title":413,"path":414,"stem":415,"order":338,"children":556},[],{"title":408,"path":409,"stem":410,"order":411,"children":558},[],{"title":488,"path":489,"stem":490,"order":491,"children":560},[],{"title":422,"path":423,"stem":424,"order":425,"children":562},[],{"title":427,"path":428,"stem":429,"order":430,"children":564},[],{"title":479,"path":480,"stem":481,"order":482,"children":566},[],{"title":445,"path":446,"stem":447,"order":448,"children":568},[],{"title":432,"path":433,"stem":434,"order":435,"children":570},[],{"title":459,"path":460,"stem":461,"order":462,"children":572},[],{"title":464,"path":465,"stem":466,"order":467,"children":574},[],{"title":417,"path":418,"stem":419,"order":420,"children":576},[],{"title":474,"path":475,"stem":476,"order":477,"children":578},[],{"title":450,"path":451,"stem":452,"order":453,"children":580},[],{"title":469,"path":470,"stem":471,"order":472,"children":582},[],{"title":493,"path":494,"stem":495,"children":584,"page":401},[585,587],{"title":498,"path":499,"stem":500,"order":45,"children":586},[],{"title":502,"path":503,"stem":504,"order":192,"children":588},[],{"title":506,"path":507,"stem":508,"children":590,"page":401},[],1795408344883]