1import{c as n}from"./index.CGNUZovg.js";import{$ as s}from"./_astro_assets.C_eEiEx7.js";import{F as r}from"./hoisted.CPlc7mGJ.js";import"./astro/assets-service.BlFmkvMe.js";import"./render-template.C67PLJ2n.js";const d={src:"/_astro/pug.B5Z5UKAi.jpeg",width:550,height:460,format:"jpg",orientation:1},c={title:"Testing testing 123!",publishDate:"13 May 2022",description:"Hello world!!! This is an example blog post showcasing some of the cool stuff Astro Cactus theme can do.",tags:["example","blog","cool"],draft:!0,minutesRead:"1 min read"};function y(){return[{depth:2,slug:"hello-world",text:"Hello World"},{depth:2,slug:"using-some-markdown-elements",text:"Using some markdown elements"},{depth:2,slug:"tailwind-css-prose-styling",text:"Tailwind CSS Prose styling"}]}const b=!0;function l(t){const e={a:"a","astro-image":"astro-image",blockquote:"blockquote",button:"button",code:"code",div:"div",figcaption:"figcaption",figure:"figure",h2:"h2",hr:"hr",li:"li",link:"link",ol:"ol",p:"p",pre:"pre",script:"script",span:"span",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...t.components},o=e["astro-image"];return n(r,{children:[n(e.h2,{id:"hello-world",children:"Hello World"}),` 2`,n(e.p,{children:["Following is an example blog post written in an mdx file. You can find me @ src/content/post/hello-world/index.mdx. Here you can add/update/delete details and watch the changes live when running in develop mode, ",n(e.code,{children:"pnpm dev"})]}),` 3`,n(e.p,{children:n(o,{src:d,alt:"A pug in the woods, wrapped in a blanket"})}),` 4`,n(e.h2,{id:"using-some-markdown-elements",children:"Using some markdown elements"}),` 5`,n(e.p,{children:"Here we have a simple js code block."}),` 6`,n(e.div,{class:"expressive-code",children:[n(e.link,{rel:"stylesheet",href:"/_astro/ec.vnr2r.css"}),n(e.script,{type:"module",src:"/_astro/ec.sgewm.js"}),n(e.figure,{class:"frame",children:[n(e.figcaption,{class:"header"}),n(e.pre,{tabindex:"0",children:n(e.code,{children:n(e.div,{class:"ec-line",children:[n(e.span,{style:{"--0":"#F97583","--1":"#BF3441"},children:"let"}),n(e.span,{style:{"--0":"#E1E4E8","--1":"#24292E"},children:" string "}),n(e.span,{style:{"--0":"#F97583","--1":"#BF3441"},children:"="}),n(e.span,{style:{"--0":"#E1E4E8","--1":"#24292E"},children:" "}),n(e.span,{style:{"--0":"#9ECBFF","--1":"#032F62"},children:'"JavaScript syntax highlighting"'}),n(e.span,{style:{"--0":"#E1E4E8","--1":"#24292E"},children:";"})]})})}),n(e.div,{class:"copy",children:n(e.button,{title:"Copy to clipboard","data-copied":"Copied!","data-code":'let string = "JavaScript syntax highlighting";',children:n(e.div,{})})})]})]}),` 7`,n(e.p,{children:["This is styled by Shiki, set via the ",n(e.a,{href:"https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting",rel:"nofollow, noopener, noreferrer",target:"_blank",children:"config"})," for Astro."]}),` 8`,n(e.p,{children:["You can choose your own theme from this ",n(e.a,{href:"https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-themes",rel:"nofollow, noopener, noreferrer",target:"_blank",children:"library"}),", which is currently set to Dracula, in the file ",n(e.code,{children:"astro.config.mjs"}),"."]}),` 9`,n(e.p,{children:"Here is a horizontal rule."}),` 10`,n(e.hr,{}),` 11`,n(e.p,{children:"Here is a list:"}),` 12`,n(e.ul,{children:[` 13`,n(e.li,{children:"Item number 1"}),` 14`,n(e.li,{children:"Item number 2"}),` 15`,n(e.li,{children:"Item number 3"}),` 16`]}),` 17`,n(e.p,{children:"And an ordered list:"}),` 18`,n(e.ol,{children:[` 19`,n(e.li,{children:"James Madison"}),` 20`,n(e.li,{children:"James Monroe"}),` 21`,n(e.li,{children:"John Quincy Adams"}),` 22`]}),` 23`,n(e.p,{children:"Here is a table:"}),` 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44`,n(e.table,{children:[n(e.thead,{children:n(e.tr,{children:[n(e.th,{children:"Item"}),n(e.th,{style:{textAlign:"center"},children:"Price"}),n(e.th,{style:{textAlign:"right"},children:"# In stock"})]})}),n(e.tbody,{children:[n(e.tr,{children:[n(e.td,{children:"Juicy Apples"}),n(e.td,{style:{textAlign:"center"},children:"1.99"}),n(e.td,{style:{textAlign:"right"},children:"739"})]}),n(e.tr,{children:[n(e.td,{children:"Bananas"}),n(e.td,{style:{textAlign:"center"},children:"1.89"}),n(e.td,{style:{textAlign:"right"},children:"6"})]})]})]}),` 45`,n(e.h2,{id:"tailwind-css-prose-styling",children:"Tailwind CSS Prose styling"}),` 46`,n(e.blockquote,{children:[` 47`,n(e.p,{children:`Iâm a simple blockquote. 48Iâm styled by Tailwind CSS prose plugin`}),` 49`]})]})}function a(t={}){const{wrapper:e}=t.components||{};return e?n(e,{...t,children:n(l,{...t})}):l(t)}const f="src/content/post/hello-world%202/index.mdx",w="/opt/buildhome/repo/src/content/post/hello-world 2/index.mdx",i=(t={})=>a({...t,components:{Fragment:r,...t.components,"astro-image":t.components?.img??s}});i[Symbol.for("mdx-component")]=!0;i[Symbol.for("astro.needsHeadRendering")]=!c.layout;i.moduleId="/opt/buildhome/repo/src/content/post/hello-world 2/index.mdx";export{i as Content,b as __usesAstroImage,i as default,w as file,c as frontmatter,y as getHeadings,f as url};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.