docutils-ts
Version:
Port of the Python Docutils library to TypeScript
81 lines (80 loc) • 2.53 kB
JavaScript
export const directives = {
aandag: 'attention',
versigtig: 'caution',
'code (translation required)': 'code',
gevaar: 'danger',
fout: 'error',
wenk: 'hint',
belangrik: 'important',
nota: 'note',
tip: 'tip',
waarskuwing: 'warning',
advies: 'admonition',
kantstreep: 'sidebar',
onderwerp: 'topic',
lynblok: 'line-block',
'math (translation required)': 'math',
'parsed-literal (translation required)': 'parsed-literal',
rubriek: 'rubric',
epigraaf: 'epigraph',
hoogtepunte: 'highlights',
'pull-quote (translation required)': 'pull-quote',
'compound (translation required)': 'compound',
'container (translation required)': 'container',
'table (translation required)': 'table',
'csv-table (translation required)': 'csv-table',
'list-table (translation required)': 'list-table',
meta: 'meta',
beeld: 'image',
figuur: 'figure',
insluiting: 'include',
rou: 'raw',
vervang: 'replace',
unicode: 'unicode',
datum: 'date',
klas: 'class',
'role (translation required)': 'role',
'default-role (translation required)': 'default-role',
'title (translation required)': 'title',
inhoud: 'contents',
sectnum: 'sectnum',
'section-numbering': 'sectnum',
'header (translation required)': 'header',
'footer (translation required)': 'footer',
teikennotas: 'target-notes',
'restructuredtext-test-directive': 'restructuredtext-test-directive',
};
export const roles = {
afkorting: 'abbreviation',
ab: 'abbreviation',
akroniem: 'acronym',
ac: 'acronym',
'code (translation required)': 'code',
indeks: 'index',
i: 'index',
voetskrif: 'subscript',
sub: 'subscript',
boskrif: 'superscript',
sup: 'superscript',
titelverwysing: 'title-reference',
titel: 'title-reference',
t: 'title-reference',
'pep-verwysing': 'pep-reference',
pep: 'pep-reference',
'rfc-verwysing': 'rfc-reference',
rfc: 'rfc-reference',
nadruk: 'emphasis',
sterk: 'strong',
'literal (translation required)': 'literal',
'math (translation required)': 'math',
'benoemde verwysing': 'named-reference',
'anonieme verwysing': 'anonymous-reference',
voetnootverwysing: 'footnote-reference',
aanhalingverwysing: 'citation-reference',
vervangingsverwysing: 'substitution-reference',
teiken: 'target',
'uri-verwysing': 'uri-reference',
uri: 'uri-reference',
url: 'uri-reference',
rou: 'raw',
};