# 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.

---

- First item
- Second item
- Third item

---

## 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](https://github.com/dergigi/boris/tree/master/test/markdown/basic-horizontal-rules.md)

