Skip to main content
Zark can generate HTML and Markdown code snippets that you can copy and use in your own projects, documentation, or applications.

Code Snippet Types

TypeDescriptionUse CasesNotes
HTMLCopy-ready HTML code for embedding visualizations and charts. Use HTML snippets to add Zark-generated charts to your websites or applications, allowing you to integrate visualizations directly into your own interfaces.• Embedding charts in websites
• Creating custom dashboards
• Building web applications
• Integrating visualizations
HTML snippets include syntax highlighting and are ready to paste into your project.
MarkdownFormatted Markdown code for documentation and reports. Use Markdown snippets to document findings, create reports, or share insights in formatted documents.• Creating documentation
• Writing reports
• Building documentation sites
• Sharing formatted content
Markdown snippets are formatted and ready to use in markdown-compatible tools.

Best Practices

Snippet TypeGuidelines
HTML Snippets• Review code before using
• Test in your environment
• Customize styling as needed
• Ensure compatibility with your stack
Markdown Snippets• Use in markdown-compatible tools
• Customize formatting
• Add your own content
• Share formatted documents
Example Prompts:Basic:
  • “Generate HTML code for this chart”
  • “Give me markdown for this table”
Intermediate:
  • “Create embeddable HTML for the price comparison chart”
  • “Export this analysis as markdown documentation”
Advanced:
  • “Generate a complete HTML dashboard with these three charts”
  • “Create markdown documentation with all the key findings”