confl_contentbody: Converts between content body representations

confl_contentbodyR Documentation

Converts between content body representations

Description

Converts between content body representations

Usage

confl_contentbody_convert(
  x,
  from = c("wiki", "storage", "editor", "view", "export_view", "styled_view"),
  to = c("storage", "editor", "view", "export_view", "styled_view")
)

Arguments

x

The content body to convert.

from

The format to convert from.

to

The format to convert to.

Value

The API response as a list.

See Also

https://docs.atlassian.com/ConfluenceServer/rest/latest/

Examples

## Not run: 
# Convert to a Math macro
confl_contentbody_convert("\\[1+1=2\\]")

# Convert to an Expand macro
confl_contentbody_convert("{expand}detail is here {expand}")

## End(Not run)


line/conflr documentation built on April 4, 2023, 4:44 a.m.