style (or in the same prompt sentence) with format: "docx". Doconda adds them to the Word file and
its PDF; the cover page and table of contents are part of the basic style, so they also work with quality: "fast".
Steps
- Store your API key in
DOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Pass your content in Markdown (or a sentence in
prompt) and the style. - Download the Word file and check in
style_appliedthat it was understood.
What you get back
- An editable Word file with a cover page, table of contents and page numbers, and its PDF.
style_applied: how the style was understood (includingcover_page,table_of_contents,page_numbers,headerandfooter).style_unsupported: whatever you asked for that couldn’t be applied. The rest is applied anyway.- The style lives in the Word styles (
Normal,Heading 1…), so whatever you add later follows the same design.
Limits
- With
quality: "fast"you get the basic style: font, size, colors, alignment, margins, cover page, table of contents, header and footer. Charts or a design copied from your template needstandardorbest. - The header and footer are text (“footer: Confidential”).
FAQ
Can it write the report for me?
Can it write the report for me?
Yes: use
prompt instead of content (“Report on the housing law with a cover page and table of contents”). The
style in the sentence is applied too.Can I add charts?
Can I add charts?
Yes, in
standard and best. See quality levels.Can I make it landscape or change the margins?
Can I make it landscape or change the margins?
Yes: “landscape”, “2 cm margins”. See Style.
Keep reading
- Style and Create.
- Quickstart.