文章 Convert from Text Html REST 端点

URLs

PUT api/v1/html/fromtext.xml (or .json)

Converts Text to HTML

请求参数

名称

类型

描述

必需

默认值

选项

text

string

Text to convert

是

convertToParagraphs

bool

Convert new lines to paragraphs

否

True

detectMediaUrls

bool

Detect URLs and adjust to render through file viewers

否

True