Basic Horizontal Rules Test

Marky Markdown Testerson

7. November 2025November 7, 2025 · 2 Min. Lesezeit2 min read

Basic Horizontal Rules Test

This file tests horizontal rule syntax using hyphens, asterisks, and underscores.

Basic Horizontal Rules#

Horizontal rules are created using three or more hyphens, asterisks, or underscores on their own line.




Minimum Characters#

At least three characters are required, but more can be used.





Different Characters#

Horizontal rules can be created with hyphens, asterisks, or underscores.




Horizontal Rules in Context#

Horizontal rules can appear between paragraphs and other elements.

This is a paragraph before the horizontal rule.


This is a paragraph after the horizontal rule.

Multiple Horizontal Rules#

Multiple horizontal rules can appear consecutively.




Horizontal Rules with Formatting#

Horizontal rules are standalone elements and cannot contain formatting, but they can appear alongside formatted content.

This paragraph has bold text.


This paragraph has italic text.

Horizontal Rules with Lists#

Horizontal rules can appear before and after lists.



Horizontal Rules with Blockquotes#

Horizontal rules can appear before and after blockquotes.


This is a blockquote.


Horizontal Rules with Code Blocks#

Horizontal rules can appear before and after code blocks.


Code block here

Horizontal Rules with Headings#

Horizontal rules can appear before and after headings.


Heading Level 1


Heading Level 2#


Spacing Around Horizontal Rules#

Horizontal rules should be on their own line with blank lines before and after for best compatibility.

Paragraph before.


Paragraph after.

Edge Cases#

Horizontal Rule with Spaces#




Horizontal Rule with Only Two Characters#

--

**

__

Horizontal Rule with Mixed Characters#

-*_

*-_

_*-

Horizontal Rule with Trailing Spaces#




Horizontal Rule with Leading Spaces#

---

***

___

Very Long Horizontal Rules#




Horizontal Rule Between Other Elements#

Heading


Another Heading#


Third Heading#


Paragraph text.


Source: basic-horizontal-rules.md

Written by

Comments

No comments yet. Start the conversation.

Contents

14 sections

  1. Basic Horizontal Rules
  2. Minimum Characters
  3. Different Characters
  4. Horizontal Rules in Context
  5. Multiple Horizontal Rules
  6. Horizontal Rules with Formatting
  7. Horizontal Rules with Lists
  8. Horizontal Rules with Blockquotes
  9. Horizontal Rules with Code Blocks
  10. Horizontal Rules with Headings
  11. Heading Level 2
  12. Spacing Around Horizontal Rules
  13. Edge Cases
  14. Another Heading