class mdfy.elements.horizontal.MdHorizontal(content: str = '***')[source]

Bases: MdElement

Represents a Markdown horizontal rule.

content

The content for representing the horizontal rule.

Type:

str

Examples

>>> from mdfy.elements import MdHorizontal
>>>
>>> horizontal = MdHorizontal()
>>> print(horizontal)
***
>>>
>>> horizontal = MdHorizontal("---")
>>> print(horizontal)
---