Skip to content

Conversation

@barborico
Copy link
Contributor

@barborico barborico commented Oct 24, 2025

Overview

Supports rendering markdown descriptions in the detail pages for apps, tags, and groups. The description rendering won't change for other views. This rendering is pretty basic; e.g. no support for tables or HTML.

What this Looks Like

Samples of Rendered Markdown

image image image image

The Original Unchanged List View

image

@barborico
Copy link
Contributor Author

I did have a thought that some descriptions might look better with a border, but didn't feel strongly. Trivial to add.

image image

Copy link
Collaborator

@somethingnew2-0 somethingnew2-0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good addition, the react-markdown library looks safe to use (it uses the Shadow DOM) although we could start by allowlisting which HTML elements we want to support with the allowedElements=[] option.

Also, I think this centering of the markdown box and left justification of the text content works, although we may want to consider a simple heuristic of centering the text content if we detect that no Markdown is included (check for lines beginning with #, - or other common Markdown symbols).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants