Skip to content

mention YAML in Markdown#3203

Merged
sarah11918 merged 3 commits into
mainfrom
sarah11918-patch-1
May 9, 2023
Merged

mention YAML in Markdown#3203
sarah11918 merged 3 commits into
mainfrom
sarah11918-patch-1

Conversation

@sarah11918
Copy link
Copy Markdown
Member

In response to #3115 , someone was having trouble identifying the correct date format to use in their blog posts. They were not using a date format recognized by YAML, and suggested we define a proper date format to use in docs.

To address this issue more generally, I think adding mention that frontmatter is YAML (which we only do in the tutorial) is more broadly helpful. This defines a Markdown file's frontmatter as being YAML right at the top of the Markdown/MDX page, so that people will have a resource for knowing the language of the frontmatter, and a reference link for usage.

@sarah11918 sarah11918 added the improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) label May 8, 2023
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2023

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit ceb13b1
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/645a27deb10edf00088f462b
😎 Deploy Preview https://deploy-preview-3203--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea, it's something a lot of people don't know about Markdown in Astro that is useful to add, LGTM!

@sarah11918 sarah11918 merged commit fdc858f into main May 9, 2023
@sarah11918 sarah11918 deleted the sarah11918-patch-1 branch May 9, 2023 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants