rapier-embed 1.2.48 → 1.2.49
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 +4 -4
- package/embed.mjs +1 -1
- package/package.json +1 -1
- package/rapier-plugins.json +185 -185
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ downloaded copy yourself and pass it as `src`.
|
|
|
50
50
|
document access remain enforced.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
npm install rapier-embed@1.2.
|
|
53
|
+
npm install rapier-embed@1.2.49
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
Or copy the package's `embed.mjs` and `contract.mjs` into one directory of your app; no runtime CDN is needed.
|
|
@@ -138,7 +138,7 @@ The reader on its own page opens a document at an address on its own origin: `ht
|
|
|
138
138
|
|
|
139
139
|
Keep the helper, page and plug-in manifest on one version. For version 1.2.46:
|
|
140
140
|
|
|
141
|
-
1. Install the helper: `npm install rapier-embed@1.2.
|
|
141
|
+
1. Install the helper: `npm install rapier-embed@1.2.49`.
|
|
142
142
|
2. Create `public/vendor/rapier/` and save the reader into it from
|
|
143
143
|
`https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@cdn-v1.2.46/embed/rapier-reader.html`.
|
|
144
144
|
3. Fetch its plug-ins from the same version's manifest:
|
|
@@ -164,7 +164,7 @@ length and SHA-384 before it runs it, and keeps on the device. A file that fails
|
|
|
164
164
|
| `docx` | Opens a Word document (.docx) as a Markdown document: headings, lists, tables, pictures and comments. | 0.91 MB | The reader |
|
|
165
165
|
| `math` | Typesets TeX math ($...$ and $$...$$) as SVG. | 0.74 MB | Both |
|
|
166
166
|
| `diagrams` | Draws every other Mermaid diagram: sequence, class, state, ER, Gantt, pie and more. | 1.14 MB (2 files) | Both |
|
|
167
|
-
| `pdf` | Opens a PDF as a Markdown document: its text layer, or each page as a picture. Fetches the pdf.js files itself. | 6.
|
|
167
|
+
| `pdf` | Opens a PDF as a Markdown document: its text layer, or each page as a picture. Fetches the pdf.js files itself. | 6.16 MB (198 files) | Both |
|
|
168
168
|
| `ocr` | Reads the words in pictures on the device (PP-OCRv6 tiny on ONNX Runtime Web), so search finds them. About 21 MB. | 21.7 MB (10 files) | Both (the reader: only with `--with ocr`) |
|
|
169
169
|
| `font-subset` | Keeps the used characters in fonts embedded in exported pages. | 1.21 MB | `rapier.html` |
|
|
170
170
|
| `letters` | Draw's ornamental letter sets: Field, Relief, Leaf, Arabesque, Silhouette, Gothic, Sugar, Illuminated 1490, Tuscan 1845, Renaissance alphabet. | 1.31 MB (10 files) | `rapier.html` |
|
|
@@ -172,7 +172,7 @@ length and SHA-384 before it runs it, and keeps on the device. A file that fails
|
|
|
172
172
|
| `elements` | The Elements sheet's traced ornaments: 3,155 pieces from the ornament book. | 16.2 MB (51 files) | `rapier.html` |
|
|
173
173
|
| `lettersets` | The Gallery's letter sets: 31 sets of ornamental capitals. | 2.82 MB (31 files) | `rapier.html` |
|
|
174
174
|
|
|
175
|
-
Totals: the reader, 9.29 MB (
|
|
175
|
+
Totals: the reader, 9.29 MB (31.0 MB with `ocr`); `rapier.html`, 57.2 MB. Release 1.2.49.
|
|
176
176
|
<!-- PLUGIN_TABLE_END -->
|
|
177
177
|
|
|
178
178
|
The manifest lists every plug-in file and, in `builds`, the pages that use it. `rapier.html` has flowcharts and Word import
|
package/embed.mjs
CHANGED
|
@@ -271,7 +271,7 @@ function pictureBase(value) {
|
|
|
271
271
|
return {FEATURES, LIMITS, ASSET_TYPES, refusal, coded, normalizeSettings, snapshotSettings, pickDeviceFile, createFilePicker, assetURL, assetBytes, bytesHash, externalImage, createAssetBroker, pictureBase};
|
|
272
272
|
})();
|
|
273
273
|
const BUILDS = Object.freeze({full: 'https://rapier.website/embed/rapier.html', reader: 'https://rapier.website/embed/rapier-reader.html'});
|
|
274
|
-
const PACKAGE_VERSION = '1.2.
|
|
274
|
+
const PACKAGE_VERSION = '1.2.49';
|
|
275
275
|
const OPTIONS = ['build', 'src', 'plugins', 'approvePlugins', 'sessionId', 'documentId', 'agent', 'agentName', 'theme', 'save', 'assets', 'openFile', 'load',
|
|
276
276
|
'onState', 'compare', 'onClose', 'settings', 'style', 'title', 'onError', 'timeout'];
|
|
277
277
|
const READER_FEATURES = ['find', 'readAloud', 'share'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rapier-embed",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.49",
|
|
4
4
|
"description": "Embed the Rapier Markdown editor or its lightweight reader (about 360 kB) in your web app. Runs offline from your own copy, saves to your storage, and takes your CSS and fonts. Your app's AI agent edits directly over WebMCP under the Will. MIT, no dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|