style (or in the prompt sentence) with
format: "docx". Doconda adds them to the Word file and its PDF at every quality level, quality: "fast" included.
Generate the report
- 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. - Check
style_appliedand download the Word file.
True True True Confidential in Python (true true true Confidential in TypeScript).
What you get back
- An editable Word file with the cover page, a table of contents built from your headings, and page numbers, plus its PDF.
style_applied: the style the file has, includingcover_page,table_of_contents,page_numbers,headerandfooter.- Word styles: the look lives on
Normal,Heading 1…, so sections you add later follow the same design.
Your text or Doconda’s
The style in a
prompt sentence is applied too, so you don’t need style when you write from a prompt.
Behavior to be aware of:
- The header and footer are plain text, up to 200 characters each (“footer: Confidential”).
- Copying a template file’s cover and header needs a
promptandstandardorbest; see copy the design of a file.
FAQ
Can I add charts?
Can I add charts?
Yes, at every level, when you create from a
prompt: describe the chart and where its data comes from. 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” (1 to 5 cm). See Style.
Can I get only the PDF?
Can I get only the PDF?
Yes, with
format: "pdf". The cover, table of contents and page numbers are the same.style, see Style.