Documentation
  • Welcome to Documentero Docs
  • General
    • Usage Limits and Quotas
    • Manage Account & Plans
    • Documentero Roadmap / Changelog
    • Privacy Policy
    • Frequently Asked Questions
  • templates
    • Templates Introduction & Tutorial
    • Template Upload/Re-upload
    • Organize Templates into Folders
    • Fields
    • Fields - Images
    • Fields - QRCodes
    • Fields - Links
    • Fields - HTML Support
    • Fields - Markdown Support
    • Fields - Mermaid Support
    • Fields - Formatters
    • Sections
    • Sections - Types & Options
    • Smart Fields
    • Smart Sections
    • Template Variables
  • Charts & Diagrams
  • Forms
    • Create Documents using Form
    • How to customize document form
    • Fields/Sections - General Settings
    • Field- Types & Options
      • Field - Multi Checkbox
      • Field - Checkbox
      • Field - Radio Button
      • Field - Datepicker
      • Field - Radio Select
      • Field - Select
      • Field - Multiline
      • Field - Number
      • Field - TextField
    • Conditional Fields & Sections
    • Shared Forms
      • Sharing Forms
      • Shared Form Configuration
      • Consent Form (GDPR)
      • Embeed & customize shared form on your website
  • Spreadsheet
    • Create Documents using Spreadsheet
  • API
    • Create Documents using API & JSON
    • Integrate with Documentero Cloud API
  • ChatGPT
    • Create Documents using ChatGPT
  • Integrations
    • Zapier
    • Make.com
    • Integrately
    • Pabbly Connect
    • Albato
    • Bubble.io Plugin
    • Webflow
    • Flutterflow
Powered by GitBook
On this page
  1. templates

Fields - Markdown Support

You can pass Markdown syntax as a field value to get the dynamic formatted text inside the output Document.

PreviousFields - HTML SupportNextFields - Mermaid Support

Last updated 28 days ago

You need to add an "!" in front of your field name The final syntax should be: {!fieldName}

{description} - Regular Field that supports only text and newline character
{!description} - Special field that supports Markdown as input

Supported Markdown Elements

We support all basic markdown elements and syntax. Please check one of the Markdown Guides:

# Markdown Cheatsheet

## Headings
# Heading 1
## Heading 2
### Heading 3

## Emphasis
*italic* or _italic_  
**bold** or __bold__  
***bold italic***  
~~strikethrough~~

## Links & Images
[link text](https://documentero.com)  
![alt text](https://documentero.com/custom/landing4.png)

## Lists
Unordered:
- Item A
- Item B
- Item C

Ordered:
1. First
2. Second

Nested:
- Parent
  - Child

## Tables
| Name  | Age |
|-------|-----|
| Alice |  24 |
| Bob   |  30 |

Links

If you pass link elements they will be added as clickable hyperlinks to your document

[link text](https://documentero.com) 

Images

If you pass image elements with a public url they will be downloaded and added to output document

![alt text](https://documentero.com/custom/landing4.png)

Mermaid Diagrams

```mermaid
  graph TD;
      A-->B;
      A-->C;
      B-->D;
      C-->D;
```

Hints

  • Font settings for text in Markdowncontent will be inherited from your template's Regular Text Styling Settings. You can change them in your document template styling unless they are explicitly defined with styling properties.

  • HTML tags cannot be used inline with other text or bindings. Use them in a separate paragraph:

Some text {!description} rest of text ====> INCORRECT

{#section}  {!description} {/section} ====> INCORRECT

Some text:
{!description} 
rest of text ====> CORRECT

{#section}
{!description}
{/section} ====> CORRECT

You can pass mermaid charts, and diagrams using the syntax below. Read more about mermaid syntax:

https://www.markdownguide.org/basic-syntax/
https://mermaid.js.org/intro/