confl_contentbody: Converts between content body representations

Description Usage Arguments Value See Also Examples

Description

Converts between content body representations

Usage

1
2
3
4
5
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

1
2
3
4
5
6
7
8
## 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)

conflr documentation built on April 14, 2020, 7:04 p.m.