Template Blog Post - Copy This to Create New Posts

This is a template blog post. Copy this file to create new blog posts. This post is not listed on the blog page but can be accessed directly via URL.
Template Blog Post - Copy This to Create New Posts

Welcome to Your Blog Post Template!

This is a template blog post that demonstrates all the features available in your blog. Copy this file to create new posts. Since listed: false is set in the front matter, this post won’t appear in the blog listing but can be accessed directly via its URL.

Front Matter Fields

The front matter at the top of this file controls how your post appears:

  • title: The post title (required)
  • date: Publication date in YYYY-MM-DD format (required)
  • author: Your name (optional, defaults to site author)
  • listed: Set to false to hide from blog listing (optional, defaults to true)
  • tags: Array of tags (optional)
  • reading_time: Estimated reading time in minutes (optional)
  • excerpt: Short description shown in post listings (optional)
  • featured_image: Path to header image (optional)

Text Formatting

You can use bold text, italic text, and bold italic text. You can also use strikethrough.

Headings

Use headings to structure your content:

This is H3

This is H4

This is H5

You can create inline links and links with titles.

You can also reference links like this: link text

Lists

Unordered Lists

  • First item
  • Second item
  • Third item
    • Nested item 1
    • Nested item 2
      • Double nested item

Ordered Lists

  1. First step
  2. Second step
  3. Third step
    1. Sub-step A
    2. Sub-step B
  4. Fourth step

Task Lists

  • Completed task
  • Incomplete task
  • Another incomplete task

Code

Inline Code

Use inline code with backticks for short code snippets like variable_name or function().

Code Blocks

# Python example
def hello_world():
    print("Hello, World!")
    return True

# Call the function
if hello_world():
    print("Success!")
// JavaScript example
function greet(name) {
  console.log(`Hello, ${name}!`);
}

greet("World");
# Bash example
echo "Hello, World!"
ls -la
cd /path/to/directory

Blockquotes

This is a blockquote. It’s great for highlighting important information or quotes from other sources.

You can have multiple paragraphs in a blockquote.

— Attribution

Note: You can use formatting inside blockquotes too!

Images

You can add images in several ways:

Inline Image

Alt text for image

Image with Caption

Research visualization showing data flow Figure 1: Caption describing the image above

Clickable image

Tables

Tables are great for displaying structured data:

Feature Description Status
Markdown Full markdown support ✅ Enabled
Images Image embedding ✅ Enabled
Tables Table formatting ✅ Enabled
Code Syntax highlighting ✅ Enabled
Math LaTeX support ⚠️ Optional

Complex Table

Algorithm Time Complexity Space Complexity Use Case
Binary Search O(log n) O(1) Sorted arrays
Quick Sort O(n log n) O(log n) General sorting
Merge Sort O(n log n) O(n) Stable sorting
Hash Table O(1) average O(n) Fast lookup

Horizontal Rules

Use horizontal rules to separate sections:


Content above the line.


Content between lines.


Content below the line.

Emphasis and Special Formatting

You can combine formatting:

  • Bold and italic combined
  • All bold and italic
  • code with **bold** (note: formatting doesn’t work inside code)
  • Bold link

Footnotes

You can add footnotes1 to provide additional information2 without cluttering the main text.

Emoji Support

Emojis are fully supported using the :emoji_name: syntax:

Common emojis:

  • :smile: :smile:
  • :heart: :heart:
  • :rocket: :rocket:
  • :fire: :fire:
  • :star: :star:
  • :sparkles: :sparkles:
  • :tada: :tada:
  • :thumbsup: :thumbsup:
  • :bulb: :bulb:
  • :book: :book:
  • :computer: :computer:
  • :chart_with_upwards_trend: :chart_with_upwards_trend:
  • :mag: :mag:
  • :warning: :warning:
  • :white_check_mark: :white_check_mark:
  • :x: :x:

Science & Tech: :dna: :microscope: :telescope: :satellite: :test_tube: :atom_symbol:

You can use emojis anywhere in your post!

For example: “Our research :telescope: shows that AI :robot: can improve data analysis :bar_chart: by 50%! :tada:

Find more emoji codes at Emojipedia or the Emoji Cheat Sheet.

Mathematical Equations

KaTeX is enabled for rendering beautiful mathematical equations:

Inline Math

Use single dollar signs for inline equations: $E = mc^2$ renders as $E = mc^2$

You can also use \( ... \): The equation (a^2 + b^2 = c^2) is inline.

Display Math (Block)

Use double dollar signs for centered block equations:

$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Renders as:

\[\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\]

Or use \[ ... \]:

[ \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} ]

More Examples

Summation: \(\sum_{i=1}^{n} i = \frac{n(n+1)}{2}\)

Matrix: \(\begin{bmatrix} a & b \\ c & d \end{bmatrix}\)

Fractions and roots: \(x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}\)

Greek letters: $\alpha, \beta, \gamma, \Delta, \Omega$

Complex equation: \(f(x) = \int_{-\infty}^{\infty} \hat{f}(\xi) e^{2\pi i \xi x} d\xi\)

HTML Support

Since Markdown supports HTML, you can use HTML for advanced formatting:

Important Notice: You can use HTML for custom styling!
Click to expand This content is hidden until you click the summary above.

Best Practices for Blog Posts

  1. Start with a clear title - Make it descriptive and engaging
  2. Use headings - Structure your content with H2 and H3 headings
  3. Add images - Visual content makes posts more engaging
  4. Keep paragraphs short - Improve readability
  5. Use lists - Break down complex information
  6. Include code examples - If relevant to your topic
  7. Add tags - Help readers find related content
  8. Write an excerpt - Summarize your post in 1-2 sentences
  9. Proofread - Check for typos and clarity

Creating a New Blog Post

To create a new blog post:

  1. Copy this template file
  2. Rename it following the pattern: YYYY-MM-DD-post-title.md
  3. Update the front matter (title, date, tags, etc.)
  4. Write your content using Markdown
  5. Save the file in the _blog folder
  6. The post will automatically appear on your blog page

Accessing This Template

Since this post has listed: false, it won’t appear in the blog listing. However, you can still access it directly at:

https://yourdomain.com/blog/template-post

This is useful for keeping draft posts or reference materials that you don’t want listed publicly but still want accessible via direct link.


Happy blogging! Feel free to customize this template to match your writing style and needs.

  1. This is the first footnote. It can contain formatting and even code: example()

  2. This is the second footnote. Footnotes can be referenced anywhere in the document.