Skip to main content

 Web service API

How to use PageSeeder's Web service API

preview markdown

/groups/{group}/markdown [POST]

com.pageseeder.comment.PreviewMarkdown

Description

Returns an XHTML preview of the supplied markdown text.

Parameters

NameDescriptionRequiredTypeDefault value
textThe markdown textyesstring

Permission

This service is restricted to guest and higher unless the group is accessible to public.

Response

Undocumented XML 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