Skip to content

CmdPal: New content block for plain text (PlainTextContent) #41038

@jiripolasek

Description

@jiripolasek

Description of the new feature / enhancement

Introduce a new content block type, PlainTextContent, as an alternative to the existing MarkdownContent. This block should automatically escape any Markdown syntax, ensuring that all input is rendered as literal plain text.

This enhancement would simplify displaying content that is not intended to be parsed as Markdown, eliminating the need for manual escaping or implementing custom cards for basic plain text scenarios.

Scenario when this would be used?

Displaying external content that may contain special characters or Markdown-like syntax.

Safely rendering user-entered text, logs, or data from untrusted sources, without accidental formatting.

Any case where a developer wants to show literal text without risk of Markdown interpretation.

Supporting information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea-EnhancementNew feature or request on an existing productProduct-Command PaletteRefers to the Command Palette utility

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions