mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-14 00:28:28 -05:00
Adding New Articles
This document explains how to add new articles to into pse.dev blog section.
Step 1: Create the Article File
- Duplicate the
article-template.mdfile in thearticlesdirectory - Rename it to match your article's title using kebab-case (e.g.,
my-new-article.md)
Step 2: Fill in the Article Information
Edit the frontmatter section at the top of the file:
---
authors: ["Your Name"] # Add your name or multiple authors in an array
title: "Your Article Title" # The title of your article
image: "cover.png" # This should always be "cover.png"
tldr: "A brief summary of your article" # Optional short summary
date: "YYYY-MM-DD" # Publication date in ISO format
---
Write your article content using Markdown formatting:
- Use
#for main headings (H1),##for subheadings (H2), etc. - Use
*italic*for italic text and**bold**for bold text - For code blocks, use triple backticks with optional language specification:
// Your code here - For images, use the Markdown image syntax:

Step 3: Add Images
-
Create a new folder in the
/public/articlesdirectory with exactly the same name as your markdown file (without the .md extension)- Example: If your article is named
my-new-article.md, create a folder namedmy-new-article
- Example: If your article is named
-
Add your images to this folder:
- Any additional images you want to use in your article should be placed in this folder
- Reference images in your article using just the file name and the extensions of it
Step 4: Preview Your Article
Before submitting, make sure to:
- Check that your markdown formatting is correct
- Verify all images are displaying properly
Important Notes
- The folder name in
/public/articlesmust exactly match your markdown filename (without the .md extension) - Images will be automatically pulled from the matching folder when rendering the article
- Use descriptive file names for your additional images
- Optimize your images for web before adding them to keep page load times fast