Comprehensive Template Consistency Test

This document tests all markdown features to ensure consistent rendering across all templates.

Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Text Formatting

This is bold text. This is italic text. This is bold and italic text. This is inline code.

This is a paragraph with a link to GitHub.

This is a blockquote. It should be styled distinctly from regular paragraphs with a left border and appropriate styling.


Lists

Unordered List

Ordered List

  1. First item
  2. Second item
  3. Third item
  4. Sub-item 3.1
  5. Sub-item 3.2

Code Blocks

Here is a Python code block:

def greet(name):
    """This function greets the user."""
    print(f"Hello, {name}!")

if __name__ == "__main__":
    greet("World")

And a JavaScript code block:

const greet = (name) => {
  console.log(`Hello, ${name}!`);
};

greet('World');

Tables

Header 1 Header 2 Header 3
Cell 1-1 Cell 1-2 Cell 1-3
Cell 2-1 Cell 2-2 Cell 2-3
Cell 3-1 Cell 3-2 Cell 3-3


LaTeX/MathJax Examples

Inline Math

Einstein's famous equation: $E = mc^2$

Pythagorean theorem: $a^2 + b^2 = c^2$

Display Math

$$ F = G \frac{m_1 m_2}{r^2} $$

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

$$ \int_{a}^{b} f(x) \, dx = F(b) - F(a) $$

Matrix Example

$$ A = \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{pmatrix} $$


Mermaid Diagrams

Flowchart

graph TD A[Start] --> B{Is it raining?} B -->|Yes| C[Take umbrella] B -->|No| D[Enjoy the weather] C --> E[Go outside] D --> E

Sequence Diagram

sequenceDiagram participant Client participant API participant Database Client->>API: Request data activate API API->>Database: Query data activate Database Database-->>API: Return results deactivate Database API-->>Client: Send response deactivate API

Horizontal Rule

A horizontal rule should appear above this text.


Combined Features

Here's a paragraph with inline math $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ and a link.

A blockquote with bold and italic text, plus inline code: console.log('test')

Table with Math

Formula Description
$E = mc^2$ Energy-mass equivalence
$F = ma$ Newton's second law
$\pi \approx 3.14159$ Pi constant


All Features Summary

This test document includes: - ✅ Headings (h1-h6) - ✅ Text formatting (bold, italic, inline code) - ✅ Links - ✅ Blockquotes - ✅ Unordered and ordered lists - ✅ Code blocks (Python, JavaScript) - ✅ Tables - ✅ Horizontal rules - ✅ LaTeX/MathJax (inline and display) - ✅ Mermaid diagrams (flowchart, sequence)

All templates should render these features consistently while maintaining their unique visual themes.