Welcome to LLM Markdown!

This app is a demo for supporting rich-text responses from a Large Language Model (LLM). Once you provide your OpenAI API Key, you can start prompting and receiving rich-text responses.

Try something like: "Top 10 grossing movies of all time as a pie chart"

How it works

A system prompt is used to encourage the LLM to generate a response with Markdown and Mermaid formatting.

The response is rendered using unified, Mermaid, and LaTeX.js with Nextjs.

For an example of the supported formatting, see supported markdown.

All the source code is available on GitHub.