docutils-ts
Version:
Port of the Python Docutils library to TypeScript
88 lines (87 loc) • 2.57 kB
JavaScript
export const directives = {
'注目': 'attention',
'注意': 'caution',
'code (translation required)': 'code',
'危険': 'danger',
'エラー': 'error',
'ヒント': 'hint',
'重要': 'important',
'備考': 'note',
'通報': 'tip',
'警告': 'warning',
'戒告': 'admonition',
'サイドバー': 'sidebar',
'トピック': 'topic',
'ラインブロック': 'line-block',
'パーズドリテラル': 'parsed-literal',
'ルブリック': 'rubric',
'エピグラフ': 'epigraph',
'題言': 'epigraph',
'ハイライト': 'highlights',
'見所': 'highlights',
'プルクオート': 'pull-quote',
'合成': 'compound',
'コンテナー': 'container',
'容器': 'container',
'表': 'table',
'csv表': 'csv-table',
'リスト表': 'list-table',
'math (translation required)': 'math',
'メタ': 'meta',
'イメージ': 'image',
'画像': 'image',
'フィグア': 'figure',
'図版': 'figure',
'インクルード': 'include',
'含む': 'include',
'組み込み': 'include',
'生': 'raw',
'原': 'raw',
'換える': 'replace',
'取り換える': 'replace',
'掛け替える': 'replace',
'ユニコード': 'unicode',
'日付': 'date',
'クラス': 'class',
'ロール': 'role',
'役': 'role',
'ディフォルトロール': 'default-role',
'既定役': 'default-role',
'タイトル': 'title',
'題': 'title',
'目次': 'contents',
'節数': 'sectnum',
'ヘッダ': 'header',
'フッタ': 'footer',
'ターゲットノート': 'target-notes',
};
export const roles = {
'略': 'abbreviation',
'頭字語': 'acronym',
'code (translation required)': 'code',
'インデックス': 'index',
'索引': 'index',
'添字': 'subscript',
'下付': 'subscript',
'下': 'subscript',
'上付': 'superscript',
'上': 'superscript',
'題参照': 'title-reference',
'pep参照': 'pep-reference',
'rfc参照': 'rfc-reference',
'強調': 'emphasis',
'強い': 'strong',
'リテラル': 'literal',
'整形済み': 'literal',
'math (translation required)': 'math',
'名付参照': 'named-reference',
'無名参照': 'anonymous-reference',
'脚注参照': 'footnote-reference',
'出典参照': 'citation-reference',
'代入参照': 'substitution-reference',
'的': 'target',
'uri参照': 'uri-reference',
uri: 'uri-reference',
url: 'uri-reference',
'生': 'raw',
};