markdownify: Convert a character vector from Rd to Markdown

Description Usage Arguments Value Examples

View source: R/transform.R

Description

Convert a character vector from Rd to Markdown

Usage

1

Arguments

text

A character vector containing .Rd style annotations.

Value

The same vector with .Rd style annotations converted to Markdown style annotations.

Examples

1
2
3
4
5
6
7
text <- c(
  "Both \\emph{italics} and \\bold{bold} text.",
  "And here we have \\emph{italics} in some text.",
  "This is \\bold{bold} text."
)

markdownify(text)

r-pkgs/roxygen2md documentation built on Aug. 11, 2018, 12:38 a.m.