Hyphenation in 69 languages, Markdown to PDF

Set the language and long words break at the right syllables, so justified paragraphs keep even spacing. Without hyphenation, justified text shows wide gaps.

Set language: in the front matter or in the editor and long words break at the right syllables for 69 languages, with justified paragraphs and no rivers. Toggle: hyphenation.

Markdown source

Markdown · 35 lines
---
title: Hyphenation in several languages
language: de-DE
---

# Hyphenation

The document language sets the hyphenation rules. This document declares `language: de-DE` in its front matter; the editor's language picker overrides it for the preview, so switch the picker to German to see the German paragraph break at German syllables.

## Deutsch

Die Donaudampfschifffahrtsgesellschaft beförderte im vergangenen Jahr mehr Fahrgäste als je zuvor. Die Geschwindigkeitsbegrenzung auf der Bundesautobahn bleibt ein Dauerthema der Verkehrspolitik, und die Krankenversicherungsbeiträge steigen weiter. Lange zusammengesetzte Substantive sind der Grund, warum deutsche Texte ohne Silbentrennung unruhig aussehen.

## English

Set the picker to English and the same engine applies English patterns: internationalization, incomprehensibility, electroencephalography and counterrevolutionaries break where an English dictionary would break them, and never inside a URL, a code span or a number.

## Français

L'anticonstitutionnellement célèbre est le mot le plus long de la langue française. Les règles de coupure diffèrent de l'anglais : on ne coupe jamais avant une syllabe muette, et l'apostrophe n'est pas une frontière de mot.

## Español

La otorrinolaringología estudia las enfermedades del oído, la nariz y la garganta. La electroencefalografía registra la actividad eléctrica del cerebro. Las palabras largas del español se dividen entre sílabas completas.

## Português

Os profissionais de otorrinolaringologia e de anestesiologia participaram da conferência internacional. A palavra inconstitucionalissimamente é frequentemente citada como a mais longa da língua.

## Which languages

77 dictionaries are bundled for 69 languages, among them Afrikaans, Catalan, Croatian, Czech, Danish, Dutch, Estonian, Finnish, Georgian, Greek, Hungarian, Indonesian, Italian, Latin, Latvian, Lithuanian, Norwegian, Polish, Romanian, Russian, Serbian, Slovak, Slovenian, Swedish, Tamil, Telugu, Thai, Turkish and Ukrainian. A language without a dictionary renders without automatic hyphenation.

> [!NOTE]
> Author-written hyphens and soft hyphens (`­`) are always kept. Hyphenation only adds breaks; it never removes one you wrote.

Rendered pages

PDF · 2 pages · 14 KB
  1. Languages & hyphenation, page 1 of 2
  2. Languages & hyphenation, page 2 of 2

The sample documents describe invented organizations in several countries. All names and figures are illustrative.

Images, emoji and world scripts in PDF: every sampleIn the Markdown reference