UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

83 lines (82 loc) 2.18 kB
export const directives = { attention: 'attention', caution: 'caution', danger: 'danger', error: 'error', hint: 'hint', important: 'important', note: 'note', tip: 'tip', warning: 'warning', admonition: 'admonition', sidebar: 'sidebar', topic: 'topic', 'line-block': 'line-block', 'parsed-literal': 'parsed-literal', code: 'code', 'code-block': 'code', sourcecode: 'code', math: 'math', rubric: 'rubric', epigraph: 'epigraph', highlights: 'highlights', 'pull-quote': 'pull-quote', compound: 'compound', container: 'container', table: 'table', 'csv-table': 'csv-table', 'list-table': 'list-table', meta: 'meta', image: 'image', figure: 'figure', include: 'include', raw: 'raw', replace: 'replace', unicode: 'unicode', date: 'date', class: 'class', role: 'role', 'default-role': 'default-role', title: 'title', contents: 'contents', sectnum: 'sectnum', 'section-numbering': 'sectnum', header: 'header', footer: 'footer', 'target-notes': 'target-notes', 'restructuredtext-test-directive': 'restructuredtext-test-directive', }; export const roles = { abbreviation: 'abbreviation', ab: 'abbreviation', acronym: 'acronym', ac: 'acronym', code: 'code', emphasis: 'emphasis', literal: 'literal', math: 'math', 'pep-reference': 'pep-reference', pep: 'pep-reference', 'rfc-reference': 'rfc-reference', rfc: 'rfc-reference', strong: 'strong', subscript: 'subscript', sub: 'subscript', superscript: 'superscript', sup: 'superscript', 'title-reference': 'title-reference', title: 'title-reference', t: 'title-reference', raw: 'raw', index: 'index', i: 'index', 'anonymous-reference': 'anonymous-reference', 'citation-reference': 'citation-reference', 'footnote-reference': 'footnote-reference', 'named-reference': 'named-reference', 'substitution-reference': 'substitution-reference', 'uri-reference': 'uri-reference', uri: 'uri-reference', url: 'uri-reference', target: 'target', };