Skip to main content

 Services

Web services from /about to /webhooks

preview markdown

/groups/{group}/markdown [POST]

com.pageseeder.comment.PreviewMarkdown

Description

Returns an XHTML preview of the supplied markdown text.

Parameters

NameDescriptionRequiredTypeDefault
textThe markdown textyesstring

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.

Created on , last edited on