nlux icon indicating copy to clipboard operation
nlux copied to clipboard

Is it possible to support more markdown features, especially links?

Open jungleau opened this issue 1 year ago β€’ 6 comments

Thanks for creating this cool chatbot UI.

However, I found it only supports very limited Markdown features, such as bold and italic fonts. For example, I created below test adapter:

export const myTestAdapter: Adapter = {
    fetchText(message: string): Promise<string> {
        return new Promise((resolve) => {
            setTimeout(() => {
                const messageToStream = 'For more **detailed instructions**, you can refer to [more details](https://example.com)';
                resolve(messageToStream);
            }, 100);
        });
    },
};

The link was not rendered as I expected. Is it possible to support more markdown features, especially links? If you can support Tables, that would be even better :)

jungleau avatar Jan 25 '24 13:01 jungleau