top of page
Writer's pictureNocode AI

How to Display Markdown Text in Bubble.io Using the "Markdown Element for AI Chat" Plugin

How can you display markdown text in Bubble application?

As a Bubble developer, presenting your content in a clear and formatted way is essential, especially when working with markdown text within your Bubble applications.

Let me show you how to do this!


Header image: How to Display Markdown Text in Bubble.io


Save your time with the simple bubble template:

One of the example of showing markdown text in Bubble app is Markdown AI Chat template. This is a great template if you want to save time building your chat AI application from scratch! Feel free to come back here for reference after you read the guide below.


Markdown AI Chat Template page
source: https://bubble.io/template/markdown-ai-chat-1718349194431x925105979761098800

Step-by-Step Guide on Implementing Markdown Text in Bubble.io

Install the "Markdown Element for AI Chat" plugin

  • Navigate to the Plugin tab in your Bubble.io editor.

  • Search for "Markdown Element for AI Chat" and click Install.

Screenshot of plugin tab

Place the Markdown Element

  • Drag the markdown-element to the desired location within your app's interface.

screenshot of bubble editor 1

Configure the Markdown Element for Dynamic Content

If you're displaying dynamic content such as chatGPT messages:

  • Set up dynamic text to pull from your chat's message data source.

  • In the property editor, add the markdown formatted text to the "Markdown Text" field.

  • Assign the corresponding Index Number of the repeating group item to ensure the correct data is displayed.

screenshot of bubble editor 2

Viewing the Results

Once set up, you'll notice your markdown text, including headings, tables and code blocks, is displayed in a clean and responsive format within your Bubble app.


Screenshot of Markdown Element for AI Chat Result on Bubble.io

Happy building!

176 views0 comments

Recent Posts

See All

Comments


bottom of page