jotview 0.5.0 → 0.5.1
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 +3 -0
- package/package.json +1 -1
- package/src/mcp-tool.js +2 -1
- package/src/mcp.js +2 -1
package/README.md
CHANGED
|
@@ -193,6 +193,9 @@ then tests, publishes to npm (trusted publishing, with provenance), attaches
|
|
|
193
193
|
the `Unreleased` notes in `CHANGELOG.md` under the new version first (commit that before `npm version`). The
|
|
194
194
|
Worker deploys separately: `cd worker && npx wrangler deploy`.
|
|
195
195
|
|
|
196
|
+
If a release run fails partway, fix the cause and finish it with
|
|
197
|
+
`gh workflow run release.yml -f tag=vX.Y.Z` — finished steps are skipped.
|
|
198
|
+
|
|
196
199
|
## License
|
|
197
200
|
|
|
198
201
|
MIT
|
package/package.json
CHANGED
package/src/mcp-tool.js
CHANGED
|
@@ -17,7 +17,8 @@ const DEFINITION = {
|
|
|
17
17
|
name: "render_markdown",
|
|
18
18
|
title: "Render markdown with jotbins",
|
|
19
19
|
description:
|
|
20
|
-
"Turn markdown (GitHub-flavored, with ```mermaid diagrams
|
|
20
|
+
"Turn markdown (GitHub-flavored, with ```mermaid diagrams, $math$ / $$math$$, " +
|
|
21
|
+
"> [!NOTE] callouts and :emoji: shortcodes) into a link that " +
|
|
21
22
|
"renders it as a page on jotbins.com. Returns a ready-made markdown link to " +
|
|
22
23
|
"show the user. Small documents live entirely in the link; larger ones are " +
|
|
23
24
|
"uploaded to surl.jotbins.com for a short link that expires after 30 days " +
|
package/src/mcp.js
CHANGED
|
@@ -12,7 +12,8 @@ export const LEGACY_VERSIONS = ["2025-11-25", "2025-06-18", "2025-03-26", "2024-
|
|
|
12
12
|
export const MODERN_VERSIONS = ["2026-07-28"];
|
|
13
13
|
|
|
14
14
|
export const INSTRUCTIONS =
|
|
15
|
-
"Use render_markdown to share markdown — including Mermaid diagrams
|
|
15
|
+
"Use render_markdown to share markdown — including Mermaid diagrams, $…$ " +
|
|
16
|
+
"math and > [!NOTE] / [!TIP] / [!WARNING] callouts — as a " +
|
|
16
17
|
"rendered jotbins page. Show the returned link to the user as a markdown " +
|
|
17
18
|
"link, [title](url); never paste a bare jotbins.com/d URL, it can be " +
|
|
18
19
|
"thousands of characters. Long documents are uploaded to shorten the link " +
|