UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

90 lines (89 loc) 2.58 kB
export const directives = { atentu: 'attention', zorgu: 'caution', 'code (translation required)': 'code', dangxero: 'danger', 'danĝero': 'danger', eraro: 'error', spuro: 'hint', grava: 'important', noto: 'note', helpeto: 'tip', averto: 'warning', sciigo: 'admonition', flankteksto: 'sidebar', temo: 'topic', 'linea-bloko': 'line-block', 'analizota-literalo': 'parsed-literal', rubriko: 'rubric', epigrafo: 'epigraph', elstarajxoj: 'highlights', 'elstaraĵoj': 'highlights', 'ekstera-citajxo': 'pull-quote', 'ekstera-citaĵo': 'pull-quote', kombinajxo: 'compound', 'kombinaĵo': 'compound', tekstingo: 'container', enhavilo: 'container', tabelo: 'table', 'tabelo-vdk': 'csv-table', 'tabelo-csv': 'csv-table', 'tabelo-lista': 'list-table', meta: 'meta', 'math (translation required)': 'math', bildo: 'image', figuro: 'figure', inkludi: 'include', senanaliza: 'raw', anstatauxi: 'replace', 'anstataŭi': 'replace', unicode: 'unicode', dato: 'date', klaso: 'class', rolo: 'role', 'preterlasita-rolo': 'default-role', titolo: 'title', enhavo: 'contents', seknum: 'sectnum', 'sekcia-numerado': 'sectnum', kapsekcio: 'header', piedsekcio: 'footer', 'celaj-notoj': 'target-notes', 'restructuredtext-test-directive': 'restructuredtext-test-directive', }; export const roles = { mallongigo: 'abbreviation', mall: 'abbreviation', komenclitero: 'acronym', kl: 'acronym', 'code (translation required)': 'code', indekso: 'index', i: 'index', subskribo: 'subscript', sub: 'subscript', supraskribo: 'superscript', sup: 'superscript', 'titola-referenco': 'title-reference', titolo: 'title-reference', t: 'title-reference', 'pep-referenco': 'pep-reference', pep: 'pep-reference', 'rfc-referenco': 'rfc-reference', rfc: 'rfc-reference', emfazo: 'emphasis', forta: 'strong', litera: 'literal', 'math (translation required)': 'math', 'nomita-referenco': 'named-reference', 'nenomita-referenco': 'anonymous-reference', 'piednota-referenco': 'footnote-reference', 'citajxo-referenco': 'citation-reference', 'citaĵo-referenco': 'citation-reference', 'anstatauxa-referenco': 'substitution-reference', 'anstataŭa-referenco': 'substitution-reference', celo: 'target', 'uri-referenco': 'uri-reference', uri: 'uri-reference', url: 'uri-reference', senanaliza: 'raw', };