@railway/inkwell
v2.1.3
Published
Inkwell is a Markdown editor and renderer for React with an extensible plugin system.
Keywords
Readme
✒️ Inkwell
Inkwell is a Markdown editor and renderer for React with an extensible plugin system.
Usage
Installation
pnpm add @railway/inkwellEditor
import "@railway/inkwell/styles.css";
import { InkwellEditor } from "@railway/inkwell";
import { useState } from "react";
function App() {
const [content, setContent] = useState("# Hello **world**");
return <InkwellEditor content={content} onChange={setContent} />;
}Renderer
import { InkwellRenderer } from "@railway/inkwell";
function App() {
return <InkwellRenderer content="# Hello **world**" />;
}See inkwell.build/docs/quickstart for more details.
Development
pnpm devReleases
Releases are automated. Every PR carries exactly one label that determines the next version bump:
| Label | Effect |
|---|---|
| release/patch | Bumps the patch version (e.g. 1.1.0 → 1.1.1) |
| release/minor | Bumps the minor version (e.g. 1.1.0 → 1.2.0) |
| release/major | Bumps the major version (e.g. 1.1.0 → 2.0.0) |
| release/skip | No version bump (use for docs-only or chore PRs) |
When a labeled PR merges to main, the auto-release workflow batches with any other recently-merged PRs, picks the highest bump across them, tags vX.Y.Z, and pushes. The tag push triggers the publish workflow, which generates release notes from PR titles since the previous tag, drafts a GitHub Release, publishes to npm, and un-drafts.
Release notes live on the GitHub Releases page. There is no in-repo CHANGELOG.md.
