Skip to content

[Bug] Markdown rendering issues with formatting #5

Open
@gnunn1

Description

@gnunn1

Bug Description
I'm using the component as a chatbot interface for an LLM chatbot that returns the bot responses in markdown. The formatting for ordered lists is off as I get the list number on one line and then the text on a new line instead of it being all on the same line.

Additionally HTML links are not being automatically rendered as links without explicit Markdown link formatting which unfortunately my LLM is not doing.

Steps To Reproduce
Steps to reproduce the bug behavior:

  1. Provide Bot content that returns an ordered list in Markdown, content I'm using is pasted in the next comment.

Expected behavior
List number and line should be on the same line

Screenshots

Image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser: Chrome (latest stable)

Additional context
I've been using the HTML renderer with the marked library and it renders things more optimally in terms of these issues but results in more spacing then I would I like. Here is what it looks like using that combo:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions