---
name: report-html-windows
description: Create report-style HTML on Windows using Python. Use when the user asks to draft a report, generate HTML from an outline/markdown, or produce a shareable report with sections, headings, and citations. Default output is HTML.
---

# Report Html Windows

## Overview

Generate report HTML from an outline or Markdown. Default output is HTML using `markdown` + Jinja2 template.

## Workflow

1. **Collect inputs**
Ask for:
- Topic, audience, and tone
- Sections and bullet points
- Branding assets (logo, colors) and page size
- Sources to cite (URLs or bibliographic entries)

2. **Draft the content**
Write the report in Markdown using headings and lists.
Always include citations in the body and a references section.
Use a simple, consistent format so the model won’t “forget” how to cite:

- **Inline numeric citations** after claims: `……事实陈述[1]`
- **References section** at the end:
  - `## 参考资料`
  - `[1] 标题 - URL`
  - `[2] 标题 - URL`

Example:

```markdown
年画在清代达到鼎盛。[1]

## 参考资料
[1] 滩头年画的故事 - https://www.ihchina.cn/news_1_details/10963.html
```

3. **Render to HTML**
Use `scripts/report_from_md.py` to convert Markdown to styled HTML.

4. **Review and iterate**
Adjust sections, styling, and assets as needed.

## Citation Rules

Use numeric inline citations and a references section (see example above). Do not omit citations for factual claims.

## Quick Start

```bash
python scripts/report_from_md.py --md reports/draft.md --out build/report.html --title "Quarterly Report"
```

## Scripts

- `scripts/report_from_md.py`:
  - Markdown -> HTML
  - Uses a Jinja2 HTML template in `assets/report_template.html`

## References

- `references/report_format.md`: Suggested structure and content outline.
- `references/dependencies.md`: Required and optional dependencies.


---
Source attribution: MegaSuperKitty
Original project: https://github.com/MegaSuperKitty/WeClaw
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2026 Gabriel Moreira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: MegaSuperKitty
Original project: https://github.com/MegaSuperKitty/WeClaw
Attribution basis: Upstream repository explicitly recorded in package mirror path

Fields of work: Content & Media, Marketing, Product Management, Project & Program Management
Roles: Content Marketer, Copywriter, Marketing Analyst, Product Manager, Project Manager
Specialties: API
Tools: Python
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: cdbd714ea3e47a5bd07ebad4e684f457026410878fa250cca6f3ec7855b23cb4
