preview markdown
/groups/{group}/markdown [POST]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.9400 | 5.9500 | xml, json |
Description
Returns an XHTML preview of the supplied markdown text.
Parameters
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| text | The markdown text | yes | string |
Permission
This service is restricted to guest and higher unless the group is accessible to public.
Response
The output has the following format:
<html>
<section>
<h2>This is a heading<h2>
<p>With some <strong>important</strong> text.</p>
</section>
</html>
Error Handling
No specific errors expected for this service.