Post

Style Tests

Style Tests
Connected Notes

Style Test Post

This post tests all the styling elements to ensure the design system works correctly.

Typography Tests

Heading Level 3

This is a paragraph under H3. Let’s test bold text, italic text, and bold italic text. We should also test inline code and regular text flow.

Heading Level 4

Smaller heading to test hierarchy.

Heading Level 5

Even smaller for complete testing.

Heading Level 6

The smallest heading level.

Here’s a regular link to Google and another link to the homepage. Links should have proper hover states and underlines in content.

External link: GitHub Internal link: About page Anchor link: Jump to Code

List Tests

Unordered Lists

  • First item in the list
  • Second item with some longer text to see how wrapping works
    • Nested item 1
    • Nested item 2
      • Double nested item
  • Third item
  • Fourth item with bold and italic text

Ordered Lists

  1. First numbered item
  2. Second numbered item
    1. Nested ordered item
    2. Another nested item
  3. Third numbered item
  4. Fourth item with a link

Mixed Lists

  1. Ordered item
    • Unordered nested
    • Another unordered
  2. Back to ordered
    • Mixed nesting works

Blockquote Tests

This is a simple blockquote. It should have a left border and distinctive styling.

This is a longer blockquote with multiple sentences. It tests how the blockquote handles longer content and whether line breaks work properly within the quote.

This is a second paragraph in the same blockquote.

Note: Blockquotes can also contain bold and italic text, as well as inline code.

Code Blocks

Inline Code

Use npm install to install packages. Variables like const name = "test" should be clearly visible.

Code Block Tests

JavaScript

1
2
3
4
5
6
7
8
// Function to test syntax highlighting
function fibonacci(n) {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
}

const result = fibonacci(10);
console.log(`Fibonacci(10) = ${result}`);

Python

1
2
3
4
5
6
7
8
9
10
# Python code block test
def calculate_sum(numbers):
    """Calculate sum of numbers in a list."""
    total = 0
    for num in numbers:
        total += num
    return total

numbers = [1, 2, 3, 4, 5]
print(f"Sum: {calculate_sum(numbers)}")

Bash

1
2
3
4
5
6
7
8
9
#!/bin/bash
# Shell script test

echo "Testing Jekyll site"
bundle exec jekyll serve --livereload

# Install dependencies
npm install
npm run build

JSON

1
2
3
4
5
6
7
8
9
{
  "name": "test-project",
  "version": "1.0.0",
  "description": "Testing code blocks",
  "dependencies": {
    "react": "^18.0.0",
    "next": "^13.0.0"
  }
}

Table Tests

Simple Table

NameRoleLocation
AliceDeveloperUSA
BobDesignerUK
CharlieManagerCanada

Table with Alignment

Left AlignedCenter AlignedRight Aligned
TextTextText
More textCentered123
Even moreContent456

Complex Table

FeatureStatusPriorityNotes
Authentication✅ CompleteHighOAuth2 implemented
Database🚧 In ProgressHighPostgreSQL setup
API✅ CompleteMediumREST + GraphQL
Frontend⏳ PlannedLowReact/Next.js

Horizontal Rules

Testing horizontal rules for section breaks:


Content after first HR.


Content after second HR.

Image Tests

Sample Image

Caption: This is a test image with caption

Special Characters & Formatting

Keyboard Shortcuts

Press Ctrl + C to copy. Use Cmd + V to paste.

Abbreviations

The HTML specification is maintained by the W3C.

Strikethrough

This text is crossed out

Task Lists

  • Completed task
  • Another completed task
  • Incomplete task
  • Another incomplete task

Nested Content Tests

Here’s a complex nested example:

  1. First level ordered
    • Nested unordered

      A blockquote inside a list

      1
      2
      
      // Code inside a list
      const nested = true;
      
    • Back to list
  2. Second ordered item

Definition Lists

Term 1
Definition for term 1
Term 2
Definition for term 2
Another definition for term 2

Emoji Test

😀 😃 😄 😁 🚀 ✨ 💻 📱 🎯 🎨

Long Content Test

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Mixed Formatting Paragraph

This paragraph contains bold text, italic text, bold and italic, inline code, a link, strikethrough, and regular text all in one line to test how they work together.

Footnotes Test

Here’s a sentence with a footnote1. And another with a different footnote2.

Details/Summary (Collapsible)

Click to expand This is hidden content that appears when you click the summary. - Can contain lists - Can contain **formatting** - Can contain `code`

Alert Boxes (If Supported)

Warning: This is a warning message. Pay attention to this important information.

Note: This is just a note for your information.

Tip: Here’s a helpful tip for better results.

Final Content Test

This is the final paragraph to test spacing at the end of posts. It should have proper margins and not be too close to the footer.


End of Style Test - If everything looks good, the design system is working correctly! 🎉

  1. This is the first footnote. ↩︎

  2. This is the second footnote with more content. ↩︎

graph@blog:~$ neo4j-shell -c "MATCH (n)-[r]->(m {slug:'style-test-comprehensive'}) RETURN n"
graph@blog:~$ neo4j-shell -c "MATCH (n {slug:'style-test-comprehensive'})-[r]->(m) RETURN m"
This post is licensed under CC BY 4.0 by the author.