Note
This repository serves as an issue tracker. The readme is mirrored from, and the source code is at monorepo/packages/md-app. Make pull requests to the monorepo.
This markdown app illustrates the benefits of using Lix in the context of document writing.
- Clone the monorepo
- Install dependencies
pnpm install
- Build
pnpm --filter md-app... build
- Start dev mode
pnpm --filter md-app dev
- (Optional) Add a .env file with
OPENAI_API_KEY="***"
and runpnpm --filter lix-website-server dev
to enable AI features.
The editor is based on the AI template of the Plate editor from udecode. To update the editor, follow these steps:
- Navigate to the
md-app
directory withcd packages/md-app
- Update @udecode/ dependencies with
npm-check-updates
orncu
- Install the latest version of the dependencies with
npx npm-check-updates '/@udecode\/plate.*/' -u
npm install
Note: This will only update the dependencies that start with @udecode/plate
. You may need to update other dependencies manually or by running ncu -u
for all dependencies.
- Update the ui components and plugins by running
npx shadcx@latest add plate/editor-ai
to reinstall the latest version of the editor template. - Check the changes in source control to exclude any unwanted changes (e.g. files you modified before).
- Test the editor in the app to ensure that it works as expected.
Check the video guide on how to update the editor.
Taking a look at the Plates Breaking Changes and recent Releases might be helpful.