Generate polished PDFs, Word documents, Markdown reports with templates.
cortex plugin install github:CortexPrism/cortex-plugin-document-generatorGenerate a document from markdown content.
content(string, required) — Markdown text contentformat(enum, required) — Output format: pdf, docx, md, htmltitle(string, required) — Document titletemplate(string, optional) — Template name to useauthor(string, optional) — Document authorinclude_toc(boolean, default: true) — Include table of contents
List available document templates.
category(string, optional) — Filter: report, proposal, letter, meeting_notes, resume
Create a custom document template.
name(string, required) — Template namecategory(string, required) — Template categoryheader_html(string, optional) — Custom header HTMLfooter_html(string, optional) — Custom footer HTMLcss(string, optional) — Custom CSS styles
Merge multiple documents into one.
files(string, required) — JSON array of file pathsoutput_format(enum, required) — Output format: pdf, docxoutput_path(string, required) — Output file path
Convert between document formats.
input_path(string, required) — Input file pathoutput_format(enum, required) — Target format: pdf, docx, md, html, txtoutput_path(string, optional) — Output file path
| Key | Type | Description |
|---|---|---|
defaultFormat |
select | Default format: pdf, docx, md, html |
defaultAuthor |
text | Default document author name |
companyName |
text | Company name for headers |
companyLogo |
text | Company logo URL |
deno task test
deno fmt
deno lintMIT