File: markdown_block.Rd

package info (click to toggle)
r-cran-simplermarkdown 0.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 392 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/markdown_block.R
\name{markdown_block}
\alias{markdown_block}
\title{Return a code block object that can be included in the pandoc parse tree}
\usage{
markdown_block(content, language, id = "", ...)
}
\arguments{
\item{content}{a character vector containing the code}

\item{language}{language of the code in the code block}

\item{id}{optional id of the code block}

\item{...}{additional arguments should be named. These are added to the
markdown block as additional arguments.}
}
\value{
Returns a \code{list} with the correct structure for a code block in
the pandoc parse tree.
}
\description{
Return a code block object that can be included in the pandoc parse tree
}