Home
Daily
πŸ—’οΈ FlexiBlog: How to add Post, Images, and Videos
December 23, 2025
1 min

Table Of Contents

01
βœ… 1. Adding a Post
02
πŸ–ΌοΈ 1. Adding Images to Posts
03
πŸŽ₯ 2. Embedding Videos in Posts

βœ… 1. Adding a Post

Each post has its own folder inside:

site/content/posts/

Folder name recommendation

Use a date prefix to keep things organized:

site/content/posts/2025-11-13-my-first-post/

Inside each post folder, add:

Required files:

  • index.mdx ← your article
  • image.jpg ← thumbnail + cover image

Example folder:

site/content/posts/why-gatsby-is-our-favorite-site-generator/
│── index.mdx
└── image.jpg

Example index.mdx:

---
title: Why Gatsby is Our Favorite Site Generator
author: John Doe
category: Technology
tags: ['#tutorial', '#technology']
date: 2020-02-16
thumbnail: image.jpg
---
## Hello World! Blogging with Gatsby is fun.
This is your post content β€” you can add **headings**, **images**, **code blocks**, etc.

βœ” author must match an author JSON βœ” category must match a category JSON βœ” thumbnail must be in the same folder


Below is a clear, beginner-friendly English explanation of how to embed images and videos in FlexiBlog posts using Markdown. You can use this as part of your documentation or video script.


FlexiBlog uses Markdown (.md or .mdx) files for creating posts. This makes adding images and videos extremely simple.


πŸ–ΌοΈ 1. Adding Images to Posts

βœ” 1.1 Inline Image

This method puts the image and link in the same line.

![Photo by Mads Schmidt Rasmussen](./image-markdown.jpg "Photo by Mads Schmidt Rasmussen on Unsplash")

πŸ“Œ How it works:

  • ![] β†’ tells Markdown to display an image
  • inside the brackets: alt text
  • inside parentheses: image path + optional title
  • ./image-markdown.jpg means the image is stored in the same folder as your Markdown file

Example folder:

/content/posts/my-post
index.md
image-markdown.jpg

This keeps everything organized.


βœ” 1.2 Reference-Style Image

Cleaner and easier for long posts:

![Photo by Mads Schmidt Rasmussen][photo]
[photo]: ./image-markdown.jpg "Photo by Mads Schmidt Rasmussen on Unsplash"

This splits the image reference and the link.


πŸŽ₯ 2. Embedding Videos in Posts

FlexiBlog includes gatsby-remark-embed-video, allowing you to embed videos from:

βœ” YouTube βœ” Vimeo βœ” Twitch βœ” And many more

You simply paste a special embed line inside your Markdown file.


βœ” 2.1 Embed a YouTube Video

youtube: https://www.youtube.com/watch?v=v88snd6EUaY

βœ” 2.2 Embed a Vimeo Video

vimeo: https://vimeo.com/5299404


Tags

#FlexiBlog

Share

Related Posts

πŸ—’οΈ FlexiBlog
πŸ—’οΈ FlexiBlog: How to add Authors, Categories
December 22, 2025
1 min
Β© 2025, All Rights Reserved.
Powered By

Social Media

githublinkedinyoutube