Skip to content

Commit b522ad6

Browse files
committed
exposition-onlyの斜体・バッジ表示に対応
1 parent bb9a644 commit b522ad6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

crsearch.json/run.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,11 @@ def make_index(self, md, names, idgen, nojump):
415415

416416
index['attributes'] = attributes
417417

418+
if 'exposition-only' in metas:
419+
if 'attributes' not in index:
420+
index['attributes'] = []
421+
index['attributes'].append('exposition-only')
422+
418423
# alias メタ情報を処理(カンマ区切りで複数のエイリアスを指定可能)
419424
if 'alias' in metas:
420425
aliases = []

markdown_to_html

0 commit comments

Comments
 (0)