文章 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