Mastering Markdown: A Comprehensive Guide

14 Jan 2025 By Sarah Wanderlust

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Nullam quis risus eget porta ac consectetur vestibulum.

Introduction to Advanced Markdown

Markdown is more than just simple text formatting. In this comprehensive guide, we’ll explore the depths of markdown capabilities, especially within the Jekyll ecosystem.

Basic Formatting

Let’s start with some fundamental markdown elements:

  • Bold Text: Use double asterisks
  • Italic Text: Use single asterisks
  • Strikethrough: Use double tildes
  • Inline Code: Use backticks

Headings Hierarchy

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lists and Nested Elements

  1. Ordered List Item 1
  2. Ordered List Item 2
    • Unordered Sublist
    • Another Sublist Item
  • Unordered List Item
  • Another Unordered Item
    1. Nested Ordered Sublist
    2. Another Nested Item

Blockquotes and Emphasis

“The art of programming is the art of organizing complexity.” - Edsger W. Dijkstra

A profound insight into software development

Visit Jekyll’s Official Website

Reference-style Link

Code Blocks with Syntax Highlighting

1
2
3
4
5
6
def greet(name):
    """A simple greeting function"""
    return f"Hello, {name}! Welcome to the world of markdown."

# This is a comment in Python
print(greet("Developer"))

Advanced Code Samples

Python Example:

def fibonacci(n):
    if n <= 1:
        return n
    else:
        return fibonacci(n-1) + fibonacci(n-2)

Javascript Example:

const calculateArea = (radius) => {
    return Math.PI * radius * radius;
};