Converts between content body representations

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

Examples

if (FALSE) { # Convert to a Math macro confl_contentbody_convert("\\[1+1=2\\]") # Convert to an Expand macro confl_contentbody_convert("{expand}detail is here {expand}") }