From 3b4962e4ddfa1d3b232e793d7631883b12f65973 Mon Sep 17 00:00:00 2001 From: sbin Date: Thu, 4 Jun 2026 16:20:52 +0900 Subject: [PATCH] =?UTF-8?q?fix(install):=20toggle=20summary=20=EC=95=88=20?= =?UTF-8?q?bold=20=EB=A7=88=ED=81=AC=EB=8B=A4=EC=9A=B4=20=E2=86=92=20HTML?= =?UTF-8?q?=20=EB=B3=80=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 태그 내부는 MDX가 마크다운을 처리하지 않아 **text** 가 리터럴 ** 로 렌더링되며 화살표 아이콘과 겹치는 문제 수정. - notion_to_md.py: toggle 블록 생성 시 summary 내 **bold** → , *italic* → 변환 - docs/install/qwen-3x-설치.md: g7e 패밀리 비교 summary 즉시 반영 - docs_en/install/qwen-3x-설치.md: EN 번역본 동일 수정 Co-Authored-By: Claude Sonnet 4.6 --- "docs/install/qwen-3x-\354\204\244\354\271\230.md" | 2 +- "docs_en/install/qwen-3x-\354\204\244\354\271\230.md" | 2 +- scripts/notion_to_md.py | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git "a/docs/install/qwen-3x-\354\204\244\354\271\230.md" "b/docs/install/qwen-3x-\354\204\244\354\271\230.md" index 225dd47..9a33ac5 100644 --- "a/docs/install/qwen-3x-\354\204\244\354\271\230.md" +++ "b/docs/install/qwen-3x-\354\204\244\354\271\230.md" @@ -120,7 +120,7 @@ G4dn, G5, G6, Gr6, G6e, P4d, P4de, P5, P5e, P5en, P6-B200, P6-B300 | 인스턴스 스토어 | NVMe SSD 1.9 TB (`nvme1n1` ) — 인스턴스 유형에 기본 포함 |
-**g7e 패밀리 비교 (참고)** +g7e 패밀리 비교 (참고) | Type | vCPU | RAM | GPU 수 | VRAM 총량 | Network | | --- | --- | --- | --- | --- | --- | diff --git "a/docs_en/install/qwen-3x-\354\204\244\354\271\230.md" "b/docs_en/install/qwen-3x-\354\204\244\354\271\230.md" index 871ee1e..0e5b24e 100644 --- "a/docs_en/install/qwen-3x-\354\204\244\354\271\230.md" +++ "b/docs_en/install/qwen-3x-\354\204\244\354\271\230.md" @@ -115,7 +115,7 @@ G4dn, G5, G6, Gr6, G6e, P4d, P4de, P5, P5e, P5en, P6-B200, P6-B300 | Instance Store | NVMe SSD 1.9 TB (`nvme1n1` ) — Included by default with this instance type |
-**g7e Family Comparison (for reference)** +g7e Family Comparison (for reference) | Type | vCPU | RAM | Number of GPUs | Total VRAM | Network | | --- | --- | --- | --- | --- | --- | diff --git a/scripts/notion_to_md.py b/scripts/notion_to_md.py index 572f5d4..f888217 100644 --- a/scripts/notion_to_md.py +++ b/scripts/notion_to_md.py @@ -436,7 +436,10 @@ def render_children(): return f"> {prefix}{content}\n\n" elif b_type == "toggle": if child_md: - return f"
\n{content}\n\n{child_md}\n
\n\n" + # 안에서는 마크다운이 처리되지 않으므로 HTML 태그로 변환 + summary = re.sub(r'\*\*(.+?)\*\*', r'\1', content) + summary = re.sub(r'\*(.+?)\*', r'\1', summary) + return f"
\n{summary}\n\n{child_md}\n
\n\n" return f"- {content}\n" elif b_type == "table_row":