> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.arb.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# Render markdown to a PDF

> Takes markdown text and returns a rendered PDF file.



## OpenAPI

````yaml api-reference/pdfs.yaml post /markdown/render
openapi: 3.0.3
info:
  title: pdfs
  description: >-
    The PDFs service takes a stored PDF template and fills in placeholder fields
    with the values you give it. It then sends back the completed PDF for you to
    save, email, or use however you want.
  version: 1.0.0
servers:
  - url: https://pdfs.platform.arb.inc
security: []
tags:
  - name: /
  - name: markdown
  - name: pleadings
  - name: templates
paths:
  /markdown/render:
    post:
      tags:
        - markdown
      summary: Render markdown to a PDF
      description: Takes markdown text and returns a rendered PDF file.
      operationId: renderMarkdownPdf
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - markdown
              properties:
                markdown:
                  type: string
                  description: The markdown content to render into a PDF.
                  example: |
                    # Sample Document

                    This is **bold text** and this is *italic text*.

                    - Item 1
                    - Item 2
                    - Item 3
      responses:
        '200':
          description: PDF successfully rendered from markdown.
          content:
            application/pdf:
              schema:
                type: string
                format: binary
                description: The rendered PDF file.
                example: '%PDF-1.7 ... (binary pdf data) ... %%EOF'
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````