markdown-review 0.0.1 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +106 -0
- package/bin/markdown-review.js +1 -1
- package/package.json +5 -3
package/README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="../vscode/images/logo.png" width="160" height="160" alt="Plan Review logo">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">markdown-review</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/markdown-review"><img src="https://img.shields.io/npm/v/markdown-review" alt="npm version"></a>
|
|
9
|
+
<a href="https://github.com/rwoll/markdown-review/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<strong>Interactive markdown plan review UI — annotate sections, answer AI-agent embedded questions, and export structured feedback.</strong>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Screenshot
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+
### Demo
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
`markdown-review` is a zero-install CLI that opens a local browser UI for
|
|
29
|
+
reviewing markdown plans. It is part of the
|
|
30
|
+
[markdown-review](https://github.com/rwoll/markdown-review) monorepo.
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npx markdown-review PLAN.md # review in browser, feedback to stdout
|
|
36
|
+
npx markdown-review PLAN.md -o fb.md # write feedback to file
|
|
37
|
+
npx markdown-review PLAN.md --json # JSON output instead of markdown
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Features
|
|
41
|
+
|
|
42
|
+
- **Document rendering** — headings, paragraphs, lists, blockquotes, syntax-highlighted code, and mermaid diagrams
|
|
43
|
+
- **Embedded AI questions** — open-text, single-choice, and multi-checkbox
|
|
44
|
+
- **Inline annotations** — click any block to leave a comment
|
|
45
|
+
- **General feedback** — start typing anywhere to open the comment sheet
|
|
46
|
+
- **Export** — structured feedback as markdown or JSON
|
|
47
|
+
- **Dark theme** — high-contrast, reading-optimised
|
|
48
|
+
|
|
49
|
+
## Embedding Questions
|
|
50
|
+
|
|
51
|
+
Use fenced code blocks with a `question:` language tag so reviewers can answer
|
|
52
|
+
directly in the UI:
|
|
53
|
+
|
|
54
|
+
````markdown
|
|
55
|
+
```question:open
|
|
56
|
+
id: q-approach
|
|
57
|
+
question: What do you think about this approach?
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
```question:choice
|
|
61
|
+
id: q-preference
|
|
62
|
+
question: Which option do you prefer?
|
|
63
|
+
options: Option A | Option B | Option C
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
```question:checkbox
|
|
67
|
+
id: q-features
|
|
68
|
+
question: Select all that apply
|
|
69
|
+
options: Feature 1 | Feature 2 | Feature 3
|
|
70
|
+
```
|
|
71
|
+
````
|
|
72
|
+
|
|
73
|
+
## 🚀 Using GitHub Copilot CLI? Install the Plugin!
|
|
74
|
+
|
|
75
|
+
If you use [GitHub Copilot in the terminal](https://docs.github.com/en/copilot/how-tos/copilot-cli),
|
|
76
|
+
install the **review** plugin and Copilot will automatically open plans for
|
|
77
|
+
review — no manual `npx` needed:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
copilot plugin install rwoll/markdown-review:packages/copilot-plugin
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Once installed, Copilot writes a plan → opens the review UI in your browser →
|
|
84
|
+
waits for your feedback → incorporates it and continues. The whole loop happens
|
|
85
|
+
without leaving the terminal.
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
copilot plugin list # view installed plugins
|
|
89
|
+
copilot plugin update markdown-review # update to latest
|
|
90
|
+
copilot plugin uninstall markdown-review # remove
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## 🧩 VS Code Extension
|
|
94
|
+
|
|
95
|
+
Prefer to stay in your editor? Install the
|
|
96
|
+
[Plan Review extension](https://marketplace.visualstudio.com/items?itemName=rwoll.markdown-review)
|
|
97
|
+
to review markdown plans directly inside VS Code — feedback is forwarded
|
|
98
|
+
straight to Copilot chat.
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
ext install rwoll.markdown-review
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
[MIT](https://github.com/rwoll/markdown-review/blob/main/LICENSE)
|