Skip to content

How to Write content in Markdown

Introduction

  • Brief overview of Rustic's Markdown support.
  • Emphasize simplicity and compatibility with standard Markdown.

Supported Markdown Syntax

  • Headers: #, ##, ### for heading levels.
  • Emphasis: *italic*, **bold**, ~~strikethrough~~.
  • Lists: Ordered (1. Item) and unordered (- Item).
  • Links and Images: [Link](url) and ![Image](url).
  • Code Blocks: ```rust`, ```html`, etc.

Metadata Files

  • Explain the role of meta.yaml in organizing content.
  • Example meta.yaml file:
    yaml
      "title": "My Blog Post",
      "author": "Jane Doe",
      "date": "2024-11-24"
  • How meta.yaml enhances content generation (e.g., automatic title tags).

Advanced Features

  • Adding inline HTML for custom styling.
  • Tips for managing media (e.g., embedding images or videos).

Example Markdown File

markdown
# Welcome to My Rustic Site
This is a **bold** statement, and this is *italicized* text.

## Things I Love
- Coding
- Writing
- Rustic!