Skip to content

FEAT : Disabling markdown/latex rendering for user_messages #2101

@dominpm

Description

@dominpm

Description:

Currently, Chainlit automatically renders Markdown and LaTeX syntax in user messages.
While this is beneficial in many scenarios, there are cases where such rendering is undesirable.
For instance, when user input includes characters like # or $ that are intended as literals rather than Markdown or LaTeX syntax, automatic rendering can lead to misinterpretation of the message content.

Proposed Solution:

Introduce a configuration option in Chainlit's config.toml file that allows developers to enable or disable Markdown and LaTeX rendering specifically for user messages.
This would provide greater control over how user inputs are processed and displayed.

References:

Additional Context:

Implementing this feature would enhance the flexibility of Chainlit in handling diverse user inputs, ensuring that messages are displayed as intended without unintended formatting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions