+26
-86
content/blog/2024-10-11_example_post.md
+26
-86
content/blog/2024-10-11_example_post.md
······-I usually use `###` sub-headers to ask the question I think the reader is (or should be) asking at-this point in the article. For example, if I just posted some code with an obvious error, I might-follow that up with `### Wait, won't that crash?` or something similar. Using this approach lets-me write posts in a conversational way, and helps me continually frame myself in the mind of the+Not quite a section header, the `<!-- more -->` tag is used to indicate where a post should be split for rss purposes. This should generally be right after the first paragraph.···-I don't like content that is nested more than 2 layers deep, so only `##` and `###` should be used+The table of contents will only ever be generated for `##` and `###` headers. I don't particularly love the look of it and tend to write shorter posts so I hardly use it.-This is prominently a coding blog, so code will show up a lot. First off, a monospaced text block is-denoted by wrapping the text in triple back-tick characters <code>```</code>.+I tend to do this alot so this is an important bit of the blog. All code blocks with a code type are progressively enhanced with a copy button.If you want syntax coloring, you put the name of the programming language immediately after the ticks.···Sometimes it can help to give a header to a code block to signal what it represents. To do this, you puta single-line block quote immediately before the code block. So by prepending the following code with···-> “What is your opinion of the inimitable video game character, Sonic the Hedgehog? Please···-They were shown in the previous section, but icons (provided by [Remix Icon](https://remixicon.com/)),-can be used anywhere by inserting an `<i>` tag with the icon's class. These are useful for adding···-<img src="https://img.itch.zone/aW1hZ2UvNTU2NDU0LzI5MTYzNzkucG5n/original/8LIdCb.png" alt="NOISE1 screenshot">+{{/* img(id="https://url.com/image.png" alt="alt text" caption="this can be ommited if you want or added! It's optional :)") */}}+{{ img(id="https://cloud-owp7vmln1-hack-club-bot.vercel.app/0img_1846_1_.jpg" alt="MacBook proprietary blade SSD" caption="it really was a rather sleek design; shame that apple got rid of it in favor of soldered on storage") }}+This is handled by a shortcode `bluesky(post="")` and takes the post url as a parameter. These will automatically attach images and videos.