QUOTE_MARKS_BY_LANG

const
Blockquote

Map of locale codes to decorative opening and closing quote glyphs used by OrigamBlockquote. The 'auto' key is resolved at runtime from document.documentElement.lang; missing languages fall back to the 'en' pair.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

fr: { open: '« ', close: ' »' }
French guillemets with non-breaking thin spaces.
en: { open: '“', close: '”' }
English curly double quotes.
es: { open: '« ', close: ' »' }
Spanish guillemets (same shape as French).
de: { open: '„', close: '“' }
German low-9 opening quote and curly closing quote.

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamBlockquote

Usage

Examples

Ready-to-paste code snippets using this constant.

Wrapping a citation in locale-aware quotes

typescript