md-annotator 0.9.0 → 0.10.0
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 +2 -0
- package/client/dist/index.html +389 -388
- package/client/src/utils/export.js +3 -1
- package/client/src/utils/parser.js +39 -3
- package/client/src/utils/quickLabels.js +56 -0
- package/client/src/utils/searchHighlight.js +121 -0
- package/package.json +2 -1
- package/server/feedback.js +2 -1
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
- **Export & Import** -- Export annotations as Markdown or JSON; re-import JSON to continue a review later
|
|
28
28
|
- **Annotation Persistence** -- Annotations auto-save to the server and survive page reloads (validated by content hash)
|
|
29
29
|
- **Undo / Redo** -- Full undo/redo history for annotations (`Cmd+Z` / `Cmd+Shift+Z`)
|
|
30
|
+
- **Quick Labels** -- Categorize annotations instantly with 10 predefined labels (`Alt+1`--`0`) shown as colored pills with SVG icons
|
|
30
31
|
- **Inline Editing** -- Click highlighted text to edit annotation type or comment in-place
|
|
31
32
|
- **Table of Contents** -- Collapsible sidebar with scroll tracking and per-section annotation count badges
|
|
32
33
|
- **Syntax Highlighting** -- Code blocks rendered with highlight.js
|
|
@@ -148,6 +149,7 @@ Once a file is opened in the browser, you can:
|
|
|
148
149
|
- **Select text** to see the annotation toolbar
|
|
149
150
|
- **Delete** -- marks text as struck-through (red)
|
|
150
151
|
- **Comment** -- highlights text (yellow) and adds a comment
|
|
152
|
+
- **Quick Label** -- click the tag icon or press `Alt+1`--`0` to instantly categorize a selection (Unclear, Rephrase, Factual Error, etc.)
|
|
151
153
|
- **Insert** -- place the cursor to add new text at that position
|
|
152
154
|
- **Global Comment** -- add general feedback via the "+" button in the annotation panel
|
|
153
155
|
- **Annotate images & diagrams** -- click on images, Mermaid, PlantUML, or Kroki diagrams to comment or delete them
|