# htmldocs
## Docs
- [Authorization](https://docs.htmldocs.com/api-reference/authorization.md)
- [Generate Document](https://docs.htmldocs.com/api-reference/generate-document.md): Generates a PDF document from a published document template.
- [Generate from HTML](https://docs.htmldocs.com/api-reference/generate-html.md): Generates a PDF document from raw HTML content and/or a URL. If both are provided, the HTML content will be injected into the page at the specified URL.
- [CLI](https://docs.htmldocs.com/cli.md): After installing the htmldocs package, you can start using the command line interface (CLI).
- [Comparing htmldocs](https://docs.htmldocs.com/comparison.md): See how htmldocs compares to other document creation solutions
- [Document](https://docs.htmldocs.com/components/document.md): A component for creating document layouts
- [Footer](https://docs.htmldocs.com/components/footer.md): Add page numbers and custom footers to your documents
- [Head](https://docs.htmldocs.com/components/head.md): Add metadata and external resources to your document
- [MarginBox](https://docs.htmldocs.com/components/margin-box.md): Position content in page margins for print layouts
- [Page](https://docs.htmldocs.com/components/page.md): A component for creating page breaks within a document
- [Spacer](https://docs.htmldocs.com/components/spacer.md): Add flexible spacing between elements
- [Getting Started](https://docs.htmldocs.com/getting-started.md): Add htmldocs to any React/TypeScript project in minutes.
- [Resend](https://docs.htmldocs.com/integrations/resend.md): Learn how to generate and send invoice PDFs as email attachments using Resend
- [Introduction](https://docs.htmldocs.com/introduction.md)
- [Custom Fonts](https://docs.htmldocs.com/usage/custom-fonts.md)
- [Publishing to the Cloud](https://docs.htmldocs.com/usage/publishing-to-the-cloud.md): Publish and generate documents from your document templates using the API
- [Static Content](https://docs.htmldocs.com/usage/static-content.md): Learn how to use static content and custom fonts in your document templates
- [Using Tailwind CSS](https://docs.htmldocs.com/usage/tailwind.md): Learn how to use Tailwind CSS in your htmldocs documents
- [Template Variables](https://docs.htmldocs.com/usage/template-variables.md): Learn how to use template variables and preview props in your document templates
## OpenAPI Specs
- [openapi](https://docs.htmldocs.com/api/openapi.json)
## Optional
- [Slack](https://join.slack.com/t/htmldocs/shared_invite/zt-29hw1bnmu-ShX6Jo1KNc_XeF~gFQJH_Q)
- [GitHub](https://github.com/htmldocs-js/htmldocs)