nlkitai / nlux

The ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ๐—ณ๐˜‚๐—น Conversational AI JavaScript Library ๐Ÿ’ฌ โ€”ย UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more ๐Ÿงก React, Next.js, and plain JavaScript โญ๏ธ
https://docs.nlkit.com/nlux
Other
937 stars 48 forks source link

Expose snapshot markdown parser in markdown package #84

Closed lragnarsson closed 2 weeks ago

lragnarsson commented 2 weeks ago

Hi! First of all, great work on this library, I especially found use for the streaming markdown renderer. I would also like to render non-streaming markdown text with the same look, and I see that there is a snapshotParser that might do this in the shared/src folder: https://github.com/nlkitai/nlux/blob/latest/packages/shared/src/markdown/snapshot/snapshotParser.ts

Would it be possible to also export this functionality in the nlux/markdown package? I can try and submit a PR as well if you think this would be a good addition.

Thanks!

salmenus commented 2 weeks ago

Hello @lragnarsson โ€”ย Glad that you like the project:

Summary of what we discussed on Discord:

Thank you Salmen

salmenus commented 2 weeks ago

Change published to NPM, in version โ€”ย 2.5.9 https://www.npmjs.com/package/@nlux/markdown

Closing the issue.