Skip to content

Commit 0f82974

Browse files
authored
fix(pdf-summary): normalize report formatting to match style guidelines (#25007)
1 parent e3db1d6 commit 0f82974

2 files changed

Lines changed: 27 additions & 16 deletions

File tree

.github/workflows/pdf-summary.lock.yml

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/pdf-summary.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ engine: copilot
2929

3030
imports:
3131
- shared/mcp/markitdown.md
32+
- shared/reporting.md
3233

3334
tools:
3435
cache-memory: true
@@ -130,8 +131,10 @@ For each identified URL:
130131

131132
Your response should be formatted as:
132133

134+
Use h3 (###) or lower for all headers in your discussion report to maintain proper document hierarchy. Wrap long sections in `<details><summary>Section Name</summary>` tags to improve readability and reduce scrolling.
135+
133136
```markdown
134-
# 📊 Resource Analysis
137+
### 📊 Resource Analysis
135138

136139
**Query**: [The query or question being answered]
137140

@@ -140,23 +143,29 @@ Your response should be formatted as:
140143
- [URL 2] - [Brief description]
141144
- ...
142145

143-
## Summary
146+
#### Summary
144147

145148
[Comprehensive summary addressing the query]
146149

147-
## Key Findings
150+
<details>
151+
<summary><b>Key Findings</b></summary>
148152

149153
- **Finding 1**: [Detail]
150154
- **Finding 2**: [Detail]
151155
- ...
152156

153-
## Context for This Repository
157+
</details>
158+
159+
#### Context for This Repository
154160

155161
[How these findings relate to ${{ github.repository }}]
156162

157-
## Additional Notes
163+
<details>
164+
<summary><b>Additional Notes</b></summary>
158165

159166
[Any conversion issues, limitations, or additional observations]
167+
168+
</details>
160169
```
161170

162171
## Important Notes

0 commit comments

Comments
 (0)