Reference Post: How to write articles on your site

// Published on 2026-07-09

This is a reference post to guide you when creating new local articles.

File Requirements:

  1. Location: All posts must be saved in the posts/ directory.
  2. File Extension: Must end with .md (e.g., my-new-post.md).
  3. Frontmatter: The metadata block at the top enclosed by --- is required. It must contain:
    • title: The title of your post.
    • date: The publication date in YYYY-MM-DD format.

Markdown Cheat Sheet:

You can write normal markdown content below the second --- separator:

  • Use #, ##, ### for headings.
  • Use **bold** or *italic* for formatting.
  • Create bulleted lists using - or *.
  • Create numbered lists using 1., 2..
  • Insert code blocks using triple backticks:
    console.log("This is an example code block.");
    

To Publish Your Post:

Once you save this file, run the following command in your terminal to build the static files and publish them to Firebase:

npm run deploy
extension Live Applications account_tree Projects article Writing photo_camera Photography play_circle Stream
search Search