Markdown Test Post


This is a test post to check the rendering of various Markdown elements in our blog system.

Features Showcase

Here's a list of things we are testing:

  • Headers (like the one above)
  • Paragraphs and bold and italic text.
  • Bulleted lists.
  • Numbered lists.
  • Code blocks with syntax highlighting.
  • LaTeX for mathematical formulas.
  • Images.
  • Blockquotes.

1. Code Blocks

Here is a sample Python code block. We've added custom CSS for this, so it should look nice!

import asyncio

async def perform_full_review_async(topic, status_update_callback):
    """
    Runs the main literature search and report generation.
    """
    print(f"Starting full review for: {topic}")
    for i in range(5):
        await asyncio.sleep(1)
        status_update_callback(f"Step {i+1} completed.")
    return "Review complete!"

And here is a JavaScript snippet, similar to what we might use for polling the task status.

async function pollStatus(reviewId) {
    const response = await fetch(`/reviews/status_json/${reviewId}/`);
    const data = await response.json();
    console.log(data.status_display);

    if (data.status !== 'COMPLETE' && data.status !== 'FAILED') {
        setTimeout(() => pollStatus(reviewId), 5000);
    }
}

2. Mathematical Notations with LaTeX

We're also testing to see if LaTeX is supported for equations.

Here is an inline formula: \(E = mc^2\).

And here is a block formula: \[ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} \]

3. Image Test

A blog post isn't complete without a cute animal picture. Here is a picture of a very cute dog that will be located at /media/blog/cute_dog.png.

A very cute dog

Note: This is a blockquote. It's useful for highlighting important information or quotes from sources.


That's all for this test! If everything renders correctly, we are ready to start writing our real content.


← Back to all posts