Table des matières

Markdown-Import

The script automatically imports and transforms a Markdown text into a styled InDesign document, ready for layout. It replaces Markdown tags with the corresponding paragraph and character styles, and converts Markdown footnotes into actual InDesign footnotes.

Overview

Editors often have to deeply clean Word files delivered by authors or translators. Despite a visually clean appearance, these documents hide many structural issues (manual bold, uncontrolled line breaks, inconsistent styles) that complicate layout preparation.

Markdown offers a clear and reliable solution to the structural issues of documents: by making each text element visible and explicit, it imposes a beneficial discipline, secures the editorial workflow, and allows for clean, simple, and sustainable content.

Markdown-Import was designed as a key tool to bridge structured Markdown texts with layout in InDesign. This script transforms Markdown into a .indd document, respecting the organization of the text and automatically applying the typographic styles defined in the layout. When running the script, the user can define the correspondence between Markdown tags (#, >, *italic*, [^note]) and the paragraph or character styles used in the document, and save this mapping.

It provides a reliable bridge between the raw world of structured text (Markdown) and the refined world of professional layout (InDesign), without the editor needing to go through tedious conversion steps. Usage is simple: open a .indd, select or identify the target text frame, run the script, check the mapping if needed, and get in seconds a clean, styled text ready for fine proofreading and final layout.

Features

Full Markdown Conversion

Intuitive User Interface

Advanced Configuration Handling

Additional Features

Installation and Usage

Installation

Place `Markdown-Import.jsx` in your InDesign Scripts panel (Window > Utilities > Scripts > User).

Basic Usage

Advanced Configuration

Technical Workflow

Target Text Selection

The script searches for the text to convert in this order:

Smart Style Matching

The script attempts to automatically match existing InDesign styles with Markdown elements based on common French and English naming conventions, such as:

Markdown Transformation

Conversion happens in several steps:

1. Reset existing styles
2. Apply paragraph styles (headings, lists, quotes)
3. Apply character styles (bold, italic, etc.)
4. Convert footnotes
5. Typographic cleanup and improvement

Multilingual Support

The script is fully localized in English and French, with:

Workflow Integration

For automated use cases:

Compatibility

Troubleshooting

Download

Download version 1.0b7