Creating and Editing Articles
Article Structure
Articles are written using MDX. Each article is its own .mdx
file, which contains a metadata section and a content section:
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
-
Article concept
First you’ll need a concept for your article. See our list of planned articles for ideas.
-
Create the file
Create a new
.mdx
file in the appropriate folder withinsrc/content/docs
. The name of the file is the default URL for the page. Files namedindex.mdx
will be served on path of the parent folder. -
Write your metadata
Check out the Article Metadata guide.
-
Write your content
See our Stylistic Standards Markup Reference for more info.
-
Create a pull request
If you’re new to Git, refer to our Working with Git guide.
© 2024 The Great Outdoors. CC BY-NC-SA 4.0