#now markdown features with content collections

2 messages · Page 1 of 1 (latest)

spark owlBOT
#

Hi @chilly lodge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Astro supports all standard Markdown features, including lists, links, and tables, in its content collections. If you're only seeing plain text, it's possible that your Markdown syntax may not be correct. You can refer to the Markdown Cheat Sheet from The Markdown Guide (https://www.markdownguide.org/cheat-sheet/) for a quick overview of all the Markdown syntax elements.

In Astro, you can manage your Markdown files in a special src/content/ folder. Content collections help you organize your content, validate your frontmatter, and provide automatic TypeScript type-safety while working with your content. For example:

- Directorysrc/content/
  - Directory**newsletter/**
    - week-1.md
    - week-2.md
  - Directory**authors/**
    - grace-hopper.md
    - alan-turing.md

Each Markdown file in your content collection can include standard Markdown syntax. For example, in your week-1.md file, you could have:

# Week 1 Newsletter

Here's what happened this week:

- Item 1
- Item 2
- Item 3

**Read more about it here** (<https://example.com>)

If you're still having trouble, please ensure that your Astro project is set up correctly and that you're using the correct file paths and extensions for your Markdown files. If you need more help, you can refer to the Astro documentation (https://docs.astro.build/en/guides/content-collections/) or ask for help on the Astro Discord server (https://astro.build/chat).

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: