---
title: "Service: /groups/{group}/markdown [POST]"
source: https://dev.pageseeder.com/api/services/preview-markdown-POST.html
description: "Converts markdown text to XHTML preview. POST endpoint accepts markdown parameter and returns formatted HTML output. Restricted to guest and higher users unless group is public."
last_updated: 2026-09-02T11:36:00+10:00
document_type: api_endpoint
operation_id: comment-POST
resource_id: comment
path_template: /groups/{group}/markdown
http_method: POST
api_category: comment
implementation_version: 6.2004
api_since: 5.9400
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~164
---

# /groups/\{group\}/markdown \[POST\]

## Description

Returns an XHTML preview of the supplied [markdown](../../reference/glossary/markdown.md) 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:

```xml

<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.

