@railway/inkwell 0.1.0 → 1.0.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 ADDED
@@ -0,0 +1,77 @@
1
+ # ✒️ Inkwell
2
+
3
+ [![inkwell.build](https://img.shields.io/badge/inkwell.build-7B3FA0)](https://inkwell.build)
4
+ [![llms.txt](https://img.shields.io/badge/llms.txt-7B3FA0)](https://inkwell.build/llms.txt)
5
+ [![ci](https://img.shields.io/github/actions/workflow/status/railwayapp/inkwell/ci.yml?branch=main&label=ci&color=7B3FA0)](https://github.com/railwayapp/inkwell/actions)
6
+ [![npm](https://img.shields.io/npm/v/@railway/inkwell?color=7B3FA0)](https://www.npmjs.com/package/@railway/inkwell)
7
+
8
+ Inkwell is a Markdown editor and renderer for React with an extensible plugin
9
+ system.
10
+
11
+ ## Usage
12
+
13
+ ### Installation
14
+
15
+ ```
16
+ pnpm add @railway/inkwell
17
+ ```
18
+
19
+ ### Editor
20
+
21
+ ```tsx
22
+ import "@railway/inkwell/styles.css";
23
+ import { InkwellEditor } from "@railway/inkwell";
24
+ import { useState } from "react";
25
+
26
+ function App() {
27
+ const [content, setContent] = useState("# Hello **world**");
28
+
29
+ return <InkwellEditor content={content} onChange={setContent} />;
30
+ }
31
+ ```
32
+
33
+ ### Renderer
34
+
35
+ ```tsx
36
+ import { InkwellRenderer } from "@railway/inkwell";
37
+
38
+ function App() {
39
+ return <InkwellRenderer content="# Hello **world**" />;
40
+ }
41
+ ```
42
+
43
+ See [inkwell.build/docs/quickstart](https://inkwell.build/docs/quickstart) for
44
+ more details.
45
+
46
+ ## Development
47
+
48
+ ```
49
+ pnpm dev
50
+ ```
51
+
52
+ ## Releases
53
+
54
+ Versioning and `CHANGELOG.md` are managed by [Changesets](https://github.com/changesets/changesets). Publishing to npm runs via GitHub Actions on a `v*` tag push.
55
+
56
+ When you open a PR that should show up in the changelog:
57
+
58
+ ```bash
59
+ pnpm changeset # pick bump type, write a user-facing summary
60
+ ```
61
+
62
+ Commit the generated `.changeset/*.md` file alongside your code.
63
+
64
+ To cut a release from `main`:
65
+
66
+ ```bash
67
+ pnpm changeset version # bumps packages/inkwell/package.json + writes CHANGELOG.md
68
+ git commit -am "🚀 release: v$(node -p "require('./packages/inkwell/package.json').version")"
69
+ git tag "v$(node -p "require('./packages/inkwell/package.json').version")"
70
+ git push --follow-tags
71
+ ```
72
+
73
+ Pushing the `v*` tag triggers the publish workflow.
74
+
75
+ ## License
76
+
77
+ [MIT © 2026 Railway Corporation](LICENSE)