@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 +12 -0
- package/dist/cli.js +4349 -19
- package/dist/web/assets/{highlights-D74FO-Ut.js → highlights-Bu3jR2kn.js} +1 -1
- package/dist/web/assets/{index-BnEMl9cJ.css → index-D1KnlUfq.css} +1 -1
- package/dist/web/assets/{index-C2nwmZfO.js → index-DsJL1wFW.js} +18 -7
- package/dist/web/assets/{shiki-DtXHgn2d.js → shiki-vIC6REHJ.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +2 -1
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
|