Quick Start Guide

Get up and running with the Extended Markdown ADF Parser in minutes.

Installation

Quick Installation

npm install extended-markdown-adf-parser
# or
yarn add extended-markdown-adf-parser

Need more help? For detailed installation instructions, see:

Basic Usage

1. Import the Parser

CommonJS

TypeScript with Type Imports

2. Convert ADF to Markdown

3. Convert Markdown to ADF

Working with ADF Extensions

The parser supports ADF-specific elements like panels, expand sections, and media through extended markdown syntax.

Panels

Expand Sections

Media Elements

Social Elements

The parser supports Atlassian social elements with bidirectional conversion:

Date Format Support

  • Standalone dates: 2025-09-27 → Unix timestamp in ADF

  • Braced format: {date:2025-09-27} → Unix timestamp in ADF

  • Round-trip accuracy: Maintains date precision through multiple conversions

Status Format Standards

  • Basic status: {status:In Progress} → Creates neutral-colored status badge

  • Colored status: Use inline color attribute for official Atlassian colors

  • Legacy syntax: Metadata comments still supported for backward compatibility

  • Available colors: neutral (default), green, red, yellow, blue, purple

  • ADF compliance: Follows official Atlassian Document Format specification

  • Round-trip accuracy: Inline syntax preserves colors through conversions

Emoji Format Standards

  • Input: :smile: (colon format)

  • ADF: {"shortName": ":smile:", "text": "😄"} (Atlassian-compliant)

  • Output: :smile: (preserved format)

Advanced Features

Custom Attributes with Metadata Comments

Add custom attributes to any element using metadata comments:

Frontmatter Support

Parser Options

Parser Selection

The library provides two parser implementations optimized for different use cases. For detailed guidance on choosing between them, see:

Markdown to ADF Conversion Guide - Complete parser comparison, configuration options, and migration strategies

Round-Trip Conversion

The parser maintains full fidelity for round-trip conversions:

Error Handling

For comprehensive error handling patterns, validation, and troubleshooting, see Error Handling Guide.

Common Patterns

Processing Multiple Documents

Working with Large Documents

Custom Node Processing

Next Steps

Core Elements

Text Formatting

  • Bold - Strong emphasis text formatting

  • Italic - Emphasis text formatting

  • Links - Navigation and references

ADF Extensions

  • Panels - Semantic content containers (info, warning, error, success, note)

  • Expand Sections - Collapsible content areas

Social Elements

  • Status - Status indicators with Atlassian-compliant colors and attributes

  • Date - Temporal elements with bidirectional timestamp conversion

  • Emoji - Emoji elements with official Atlassian shortName format

  • Mention - User and entity mentions with proper referencing

Media Elements

Advanced Features

Need Help?

Last updated