Dogster is reader-supported. When you buy via links on our site, we may earn a commission at no cost to you. Learn more.

Markdown Style Guide

DT
By Dogster TeamUpdated on June 19, 2024
Share
Markdown Style Guide

Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.

Headings

The following HTML <h1><h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.

H1

H2

H3

H4

H5
H6

Paragraph

Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.

Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

Images

Syntax

![Alt text](./full/or/relative/path/of/image)

Output

blog placeholder

Blockquotes

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.

Blockquote without attribution

Syntax

> Tiam, ad mint andaepu dandae nostion secatur sequo quae.  
> **Note** that you can use _Markdown syntax_ within a blockquote.

Output

Tiam, ad mint andaepu dandae nostion secatur sequo quae.
Note that you can use Markdown syntax within a blockquote.

Blockquote with attribution

Syntax

> Don't communicate by sharing memory, share memory by communicating.<br>
> — <cite>Rob Pike[^1]</cite>

Output

Don’t communicate by sharing memory, share memory by communicating.
Rob Pike1

Tables

Syntax

| Italics   | Bold     | Code   |
| --------- | -------- | ------ |
| _italics_ | **bold** | `code` |

Output

ItalicsBoldCode
italicsboldcode

Code Blocks

Syntax

we can use 3 backticks ``` in new line and write snippet and close with 3 backticks on new line and to highlight language specific syntax, write one word of language name after first 3 backticks, for eg. html, javascript, css, markdown, typescript, txt, bash

```html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Example HTML5 Document</title>
  </head>
  <body>
    <p>Test</p>
  </body>
</html>
```

Output

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Example HTML5 Document</title>
  </head>
  <body>
    <p>Test</p>
  </body>
</html>

List Types

Ordered List

Syntax

1. First item
2. Second item
3. Third item

Output

  1. First item
  2. Second item
  3. Third item

Unordered List

Syntax

- List item
- Another item
- And another item

Output

  • List item
  • Another item
  • And another item

Nested list

Syntax

- Fruit
  - Apple
  - Orange
  - Banana
- Dairy
  - Milk
  - Cheese

Output

  • Fruit
    • Apple
    • Orange
    • Banana
  • Dairy
    • Milk
    • Cheese

Other Elements — abbr, sub, sup, kbd, mark

Syntax

<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.

H<sub>2</sub>O

X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>

Press <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>Delete</kbd> to end the session.

Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

Output

GIF is a bitmap image format.

H2O

Xn + Yn = Zn

Press CTRL + ALT + Delete to end the session.

Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.

Footnotes

  1. The above quote is excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015.

Get Dogster in Your Inbox

Stay informed! Get tips, stories, and the latest news delivered to your inbox.

Click on a star to rate (you can leave written feedback after clicking submit)

Join the Conversation

3 Responses

SM
Sarah M. says:
Updated on March 28, 2026

This is such important information! We live in California and foxtails are everywhere in our neighborhood during summer. My golden retriever got one lodged in his paw last year and we didn't notice until he was limping badly. $400 vet bill later, lesson learned. Now I check his paws after every single walk.

DS
Dan Seymour says:
Updated on March 29, 2026

So sorry to hear about your golden, Sarah! You're doing exactly the right thing now with the post-walk checks. It really does become second nature after a while. Glad he recovered well!

MT
Mike T. says:
Updated on March 30, 2026

I had no idea these could migrate through tissue. That's terrifying. We just moved to Oregon from the east coast and I've never even heard of foxtails before. Going to be much more careful on our hikes now. Thank you for this article.

DL
Dr. Lisa Chen says:
Updated on April 1, 2026

As a veterinarian, I can confirm we see dozens of foxtail cases every summer. The ear cases are especially urgent — please don't wait if your dog is shaking their head violently after being in tall grass. Great article overall, very accurate information.

Leave a Reply

You're very welcome to leave a comment or question. Please know that all comments must meet our community guidelines, and your email address will NOT be published. Let's have a positive and constructive conversation.

16 Dog Breeds With Low Separation Anxiety (With Info & Pictures)

16 Dog Breeds With Low Separation Anxiety (With Info & Pictures)

Separation anxiety is a common problem for many dog owners. Dogs with separation anxiety become extremely anxious when left alone and may exhibit...

EM
By Ed Malaker · NaN years ago
10 Interesting Papillon Facts: Traits & History

10 Interesting Papillon Facts: Traits & History

Every Papillon's story is different. Still, when you look into those beautiful round eyes you might wonder how you were lucky enough to...

BN
By Brooke Norris · NaN years ago
11 Best Shampoos for Maltese in 2026: Reviews & Top Picks

11 Best Shampoos for Maltese in 2026: Reviews & Top Picks

The Maltese dog breed is loved for its gorgeous white coat. But in order to maintain this coat, it is important to have...

NC
By Nicole Cosgrove · NaN years ago
9 Plants Resistant to Dog Urine: Sturdy & Fun Options

9 Plants Resistant to Dog Urine: Sturdy & Fun Options

If you have a dog, you know how nice it is to have it trained to go outside as needed. Housebreaking is a...

NC
By Nicole Cosgrove · NaN years ago
9 Best Dog Foods for Bullmastiffs in 2026 — Reviews & Top Picks
Jan 20, 2026

9 Best Dog Foods for Bullmastiffs in 2026 — Reviews & Top Picks

With so many dog food brands available, it can be difficult to know exactly which is right for your pooch. Some breeds might need higher protein due to their higher activity levels, and some need to focus on weight management....

NC
By Nicole Cosgrove
Can Dogs Eat Mussels? Vet-Approved Benefits & Safety Tips
Oct 20, 2025

Can Dogs Eat Mussels? Vet-Approved Benefits & Safety Tips

Dogs can eat mussels in moderation. Mussels are high in protein and other nutrients that may benefit your dog; however, they don't provide everything your dog needs, so they should only be considered an occasional treat. It's best to steam...

KH
By Kristin Hitchcock
Why Dogs Love Cheese — And How to Pay the Cheese Tax Safely
Sep 15, 2025

Why Dogs Love Cheese — And How to Pay the Cheese Tax Safely

Ever notice your dog's tail wagging when you pull out cheese? You're not imagining it. Most dogs are genuinely enthusiastic about cheese, and there are good reasons for that...

DS
By Dan Seymour
How Do I Know If My Dog Is Healthy? 12 Ways to Tell
Aug 28, 2025

How Do I Know If My Dog Is Healthy? 12 Ways to Tell

One of the main reasons dog owners turn to the internet is to figure out whether their dog is healthy. Here are 12 vet-approved signs to look for...

DK
By Dr. Karyn Kanowski