docutils-ts
Version:
Port of the Python Docutils library to TypeScript
81 lines (80 loc) • 2.29 kB
JavaScript
export const directives = {
'תשומת לב': 'attention',
'זהירות': 'caution',
'code (translation required)': 'code',
'סכנה': 'danger',
'שגיאה': 'error',
'רמז': 'hint',
'חשוב': 'important',
'הערה': 'note',
'טיפ': 'tip',
'אזהרה': 'warning',
admonition: 'admonition',
sidebar: 'sidebar',
topic: 'topic',
'line-block': 'line-block',
'parsed-literal': 'parsed-literal',
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',
'math (translation required)': 'math',
'תמונה': 'image',
figure: 'figure',
include: 'include',
raw: 'raw',
replace: 'replace',
unicode: 'unicode',
date: 'date',
'סגנון': 'class',
role: 'role',
'default-role': 'default-role',
title: 'title',
'תוכן': '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 (translation required)': 'code',
index: 'index',
i: 'index',
'תחתי': 'subscript',
sub: 'subscript',
'עילי': 'superscript',
sup: 'superscript',
'title-reference': 'title-reference',
title: 'title-reference',
t: 'title-reference',
'pep-reference': 'pep-reference',
pep: 'pep-reference',
'rfc-reference': 'rfc-reference',
rfc: 'rfc-reference',
emphasis: 'emphasis',
strong: 'strong',
literal: 'literal',
'math (translation required)': 'math',
'named-reference': 'named-reference',
'anonymous-reference': 'anonymous-reference',
'footnote-reference': 'footnote-reference',
'citation-reference': 'citation-reference',
'substitution-reference': 'substitution-reference',
target: 'target',
'uri-reference': 'uri-reference',
uri: 'uri-reference',
url: 'uri-reference',
raw: 'raw',
};