File: extensions.Rd

package info (click to toggle)
r-cran-commonmark 1.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,192 kB
  • sloc: ansic: 10,131; sh: 14; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 1,413 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
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extensions.R
\name{extensions}
\alias{extensions}
\alias{list_extensions}
\title{Github CommonMark Extensions}
\usage{
list_extensions()
}
\description{
The Github fork of cmark supports several markdown extensions which provide
features which are not (yet) in the official commonmark spec.
}
\details{
Currently the following extensions are supported:
\itemize{
\item \strong{table} support rendering of tables: \href{https://github.github.com/gfm/#tables-extension-}{gfm-spec section 4.10}
\item \strong{strikethrough} via \verb{~~sometext~~} syntax: \href{https://github.github.com/gfm/#strikethrough-extension-}{gfm-spec section 6.5}
\item \strong{autolink} automatically turn URLs into hyperlinks: \href{https://github.github.com/gfm/#autolinks-extension-}{gfm-spec section 6.9}
\item \strong{tagfilter} blacklist html tags: \code{title} \code{textarea} \code{style} \code{xmp} \code{iframe}
\code{noembed} \code{noframes} \code{script} \code{plaintext}: \href{https://github.github.com/gfm/#disallowed-raw-html-extension-}{gfm-spec section 6.11}
\item \strong{tasklist} turns certain list items into checkboxes: \href{https://github.github.com/gfm/#task-list-items-extension-}{gfm-spec section 5.3}
}

See the full spec for \href{https://github.github.com/gfm/}{GitHub Flavored Markdown}.
}
\examples{
print(list_extensions())
}