Creating and Editing Articles
Article Structure
Section titled “Article Structure”Articles are written using MDX. Each article is its own .mdx file, which contains a metadata section and a content section:
---title: Example Articledescription: A demonstration of how articles are structured---
This is the content of the example article!Metadata about the article lives at the top of the file, between two sets of --- tags. The content of the article goes below the second --- tag.
Creating a New Article
Section titled “Creating a New Article”-
Article concept
Section titled “Article concept”First you’ll need a concept for your article. See our list of planned articles for ideas.
-
Create the file
Section titled “Create the file”Create a new
.mdxfile in the appropriate folder withinsrc/content/docs. The name of the file is the default URL for the page. Files namedindex.mdxwill be served on path of the parent folder. -
Write your metadata
Section titled “Write your metadata”Check out the Article Metadata guide.
-
Write your content
Section titled “Write your content”See our Stylistic Standards Markup Reference for more info.
-
Create a pull request
Section titled “Create a pull request”If you’re new to Git, refer to our Working with Git guide.
© 2025 The Great Outdoors. CC BY-NC-SA 4.0