github steven-tey/novel novel@0.2.11

latest releases: novel@1.0.2, novel@1.0.1, novel@1.0.0...
18 months ago

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.10...novel@0.2.11

What's Changed

  • feat: add ai features example by @andrewdoro in #297
  • Novel now exports a couple of utilities for dealing with AI cases:
//this extension is used for highlighting text for the AI
import { AIHighlight } from "novel/extensions";

//call this function when entering in AI mode to highlight current selection
import { addAIHighlight } from "novel/extensions";

//call this function when AI mode is no longer used
import { removeAIHighlight } from "novel/extensions";

//this function returns the current selection in Markdown
import { getPrevText } from "novel/extensions";

Implementation

You can see an example implementation
https://github.com/steven-tey/novel/tree/main/apps/web/components/tailwind/generative

Full Changelog: https://github.com/steven-tey/novel/compare/novel@0.2.10...novel@0.2.11

Don't miss a new novel release

NewReleases is sending notifications on new releases.