Skip to content

Commit cf528ba

Browse files
ChenfromChina123AtomCode (deepseek-v4-flash)
andcommitted
docs: update front-page example to use table style
The front-page example now passes the 'Light Shading Accent 1' table style to add_table so the produced table matches the rendered example image. Closes #164 Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
1 parent 4815f01 commit cf528ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Here's an example of what |docx| can do:
5252
(4, '631', 'Spam, spam, eggs, and spam')
5353
)
5454

55-
table = document.add_table(rows=1, cols=3)
55+
table = document.add_table(rows=1, cols=3, style='Light Shading Accent 1')
5656
hdr_cells = table.rows[0].cells
5757
hdr_cells[0].text = 'Qty'
5858
hdr_cells[1].text = 'Id'

0 commit comments

Comments
 (0)