% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/md-rule.R
\name{md_rule}
\alias{md_rule}
\title{Markdown horizontal rule (4.1)}
\usage{
md_rule(char = c("*", "-", "_"), n = 3, space = FALSE)
}
\arguments{
\item{char}{The type of rule; either: \code{-}, \verb{_}, or \code{*}. Defaults to \code{*}.}

\item{n}{The width of the rule; an integer indicating number of times to
repeat each character. Defaults to the minimum of 3.}

\item{space}{logical or numeric; How many spaces to place between each
\code{char}. Defaults to \code{FALSE}, which places 0 spaces.}
}
\value{
A repeated-character \code{glue} vector with length 1.
}
\description{
Create a glue vector of characters used to represent a \emph{thematic break}. This
markdown leaf block is rendered as the \verb{<hr>} HTML tag.
}
\details{
A line consisting of 0-3 spaces of indentation, followed by a sequence of
three or more matching \code{-}, \verb{_}, or \code{*} characters, each followed optionally
by any number of spaces or tabs, forms a thematic break.
}
\examples{
md_rule()
md_rule("_")
md_rule(n = 10)
md_rule(space = TRUE)
}
\seealso{
Other leaf block functions: 
\code{\link{md_blank}()},
\code{\link{md_chunk}()},
\code{\link{md_fence}()},
\code{\link{md_heading}()},
\code{\link{md_indent}()},
\code{\link{md_label}()},
\code{\link{md_paragraph}()},
\code{\link{md_reference}()},
\code{\link{md_setext}()},
\code{\link{md_table}()}
}
\concept{leaf block functions}
