03번 들여쓰기 계층 적용: D1=bold 1단 들여쓰기, D2=불릿 2단 들여쓰기
- block_assembler B': D1(<strong>) → padding 0.5x, bold, 불릿 없음 - block_assembler B': D2(일반) → padding 1x, 불릿, 폰트 -2px - 남은 문제: 상단/하단 콘텐츠 잘림 (공간 부족) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1073,11 +1073,20 @@ def _assemble_slide_html_type_b_prime(ctx: "PipelineContext", title_text: str =
|
|||||||
if len(sections) > 1 and sections[0][0]:
|
if len(sections) > 1 and sections[0][0]:
|
||||||
for ci, (sec_title, sec_items) in enumerate(sections):
|
for ci, (sec_title, sec_items) in enumerate(sections):
|
||||||
bg, text_color = _card_colors[ci % len(_card_colors)]
|
bg, text_color = _card_colors[ci % len(_card_colors)]
|
||||||
items_html = "".join(
|
items_html = ""
|
||||||
f'<div style="padding-left:{indent_body}px;margin-bottom:1px;">'
|
for item in sec_items:
|
||||||
f'<span style="color:{text_color};font-size:{font_size-1}px;line-height:1.5;">• {item}</span></div>'
|
if item.startswith('<strong>'):
|
||||||
for item in sec_items
|
# D1: 1번 들여쓰기, bold, 불릿 없음
|
||||||
)
|
items_html += (
|
||||||
|
f'<div style="padding-left:{int(indent_body*0.5)}px;margin-bottom:1px;">'
|
||||||
|
f'<span style="color:{text_color};font-size:{font_size-1}px;line-height:1.5;font-weight:600;">{item}</span></div>'
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
# D2: 2번 들여쓰기, 일반, 불릿
|
||||||
|
items_html += (
|
||||||
|
f'<div style="padding-left:{indent_body}px;margin-bottom:1px;">'
|
||||||
|
f'<span style="color:{text_color};font-size:{font_size-2}px;line-height:1.5;">• {item}</span></div>'
|
||||||
|
)
|
||||||
if sec_title:
|
if sec_title:
|
||||||
bullets += (
|
bullets += (
|
||||||
f'<div style="flex:1;background:{bg};border-radius:{int(font_size*0.4)}px;'
|
f'<div style="flex:1;background:{bg};border-radius:{int(font_size*0.4)}px;'
|
||||||
|
|||||||
Reference in New Issue
Block a user