Back to Blog
testmarkdown

This is a test post

This is my first ever blogpost and tests are important

Comprehensive Markdown & Syntax Test Post

This is a test post to verify that the blog's rendering engine correctly parses Markdown, custom directives, syntax highlighting, and media embeds.

1. Typography & Inline Formatting

Here is a standard paragraph demonstrating various inline styles. You can use bold text, italicized text, and bold italics. If you need to indicate removed content, use strikethrough. For referencing variables or short commands, use inline code like const isTest = true;.

Here is a standard hyperlink to a website.

2. Custom Syntax Tests

Wikilinks

Testing the internal wikilink parser to ensure it links to the correct slugs:

YouTube Embeds

Testing the custom YouTube directive to ensure the iframe renders responsibly:

3. Media Handling

Images

Testing standard Markdown image syntax with an external placeholder: Sample Test Image

Videos

Testing standard HTML5 video fallback (useful if the Markdown parser allows raw HTML):

4. Syntax Highlighting (Code Blocks)

Python

def calculate_fibonacci(n: int) -> list:
    """Returns a list of Fibonacci numbers up to n."""
    result = []
    a, b = 0, 1
    while a < n:
        result.append(a)
        a, b = b, a + b
    return result

print(calculate_fibonacci(100))

JavaScript (ES6+)

async function fetchPostData(url) {
  try {
    const response = await fetch(url);
    if (!response.ok) throw new Error('Network response was not ok');
    const data = await response.json();
    return data;
  } catch (error) {
    console.error('Fetch error:', error);
  }
}

CSS

.test-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background-color: #f4f4f5;
  transition: all 0.3s ease-in-out;
}

5. Lists & Task Lists

Unordered List:

  • Main Engine
    • Sub-component A
    • Sub-component B
  • Auxiliary Engine

Ordered List:

  1. First step: Initialize the repository.
  2. Second step: Write the tests.
  3. Third step: Deploy to production.

Task List:

  • Write markdown test post
  • Verify rendering on localhost
  • Push changes to main branch

6. Blockquotes

This is a primary blockquote. It should stand out from the rest of the text with distinct styling.

This is a nested blockquote, just to ensure the CSS handles deep nesting gracefully without breaking the layout.

7. Tables

Feature Supported Notes
GFM Markdown Standard tables
Wikilinks Custom [[link]] parsing
YouTube via ::youtube[ID]

8. Mathematics (LaTeX)

If your blog uses a math plugin like remark-math or KaTeX, this should render correctly:

f(x)=f^(ξ)e2πiξxdξf(x) = \int_{-\infty}^{\infty} \hat{f}(\xi)\,e^{2 \pi i \xi x} \,d\xi

End of test post.

Comments

Want to join the conversation?

Log in to comment