@oxide/skepsis 0.5.1 → 0.7.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 CHANGED
@@ -142,6 +142,18 @@ a revset ending in `@` for jj, or an open-ended range ending at the working
142
142
  tree for git), since that's where the inserted lines land. The default diff
143
143
  in both modes ends at the working copy, so comments are enabled by default.
144
144
 
145
+ A comment goes in right after the line it's on. A comment on several lines goes
146
+ after the last of them, and its open tag says how many it covers, counting up
147
+ from the tag:
148
+
149
+ ```ts
150
+ const start = Number(match[1])
151
+ const end = Number(match[2])
152
+ // <review covers="2 lines above">
153
+ // What about NaN?
154
+ // </review>
155
+ ```
156
+
145
157
  ### Marking files viewed
146
158
 
147
159
  Viewed state is stored per file in `~/.local/share/skepsis/` using the file's