UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

69 lines (68 loc) 1.87 kB
export const directives = { observera: 'attention', akta: 'caution', kod: 'code', fara: 'danger', fel: 'error', vink: 'hint', viktigt: 'important', notera: 'note', tips: 'tip', varning: 'warning', 'anmärkning': 'admonition', sidorad: 'sidebar', 'ämne': 'topic', tema: 'topic', 'rad-block': 'line-block', 'parsed-literal (translation required)': 'parsed-literal', rubrik: 'rubric', epigraf: 'epigraph', 'höjdpunkter': 'highlights', 'pull-quote (translation required)': 'pull-quote', sammansatt: 'compound', container: 'container', tabell: 'table', 'csv-tabell': 'csv-table', 'list-tabell': 'list-table', meta: 'meta', matematik: 'math', bild: 'image', figur: 'figure', inkludera: 'include', 'rå': 'raw', 'ersätta': 'replace', unicode: 'unicode', datum: 'date', klass: 'class', roll: 'role', standardroll: 'default-role', titel: 'title', 'innehåll': 'contents', sektionsnumrering: 'sectnum', 'target-notes (translation required)': 'target-notes', sidhuvud: 'header', sidfot: 'footer', }; export const roles = { 'förkortning': 'abbreviation', akronym: 'acronym', kod: 'code', index: 'index', 'nedsänkt': 'subscript', 'upphöjd': 'superscript', 'titel-referens': 'title-reference', 'pep-referens': 'pep-reference', 'rfc-referens': 'rfc-reference', betoning: 'emphasis', stark: 'strong', bokstavlig: 'literal', matematik: 'math', 'namngiven-referens': 'named-reference', 'anonym-referens': 'anonymous-reference', 'fotnot-referens': 'footnote-reference', 'citat-referens': 'citation-reference', 'ersättnings-referens': 'substitution-reference', 'mål': 'target', 'uri-referens': 'uri-reference', 'rå': 'raw', };