docx_listsTier 1 · 70% confidence
content-docx-lists-when-creating-bullet-or-numbered-lists-with-docx-j-edb8f712
agent: content
When does this happen?
IF When creating bullet or numbered lists with docx-js, manually inserting Unicode bullet characters (e.g., \u2022) instead of using the numbering configuration causes inconsistent rendering across platforms, especially in Google Docs where bullets may appear as garbage.
How others solved it
THEN Define a numbering configuration with a reference (e.g., 'bullets') and use LevelFormat.BULLET with the bullet character as text. Then apply the numbering reference to each paragraph instead of manually inserting bullet characters.
Create a numbering config with { reference: 'bullets', levels: [{ level: 0, format: LevelFormat.BULLET, text: '•', alignment: AlignmentType.LEFT, style: { paragraph: { indent: { left: 720, hanging: 360 } } } }] }, then use new Paragraph({ numbering: { reference: 'bullets', level: 0 }, children: [new TextRun('Item')] }).Related patterns
internal_comms_guidelines
content-internal-comms-guide-when-asked-to-write-an-internal-communication-stat-f222aeb9
Tier 1 · 70%
brand_stylingcontent-brand-styling-when-creating-artifacts-that-need-anthropic-s-offi-742b5721
Tier 1 · 70%
docx_page_sizecontent-docx-page-size-docx-js-defaults-page-size-to-a4-causing-mismatch--2e7c6a0d
Tier 1 · 70%
prompt_managementcontent-prompt-management-need-to-conditionally-include-or-exclude-parts-of--a154cefb
Tier 1 · 70%
report_generation_ircontent-report-generation-ir-generating-complex-reports-from-multi-source-analy-bd0ab9cf
Tier 1 · 70%
doc_coauthoringcontent-doc-coauthoring-user-wants-to-create-a-structured-document-proposa-024fb7af
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.