Skip to content

[API Feature Request] Render HTML in markdown in Detail component #107

@mrmartineau

Description

@mrmartineau

Describe the feature and the current behaviour/state.
The Detail component renders markdown, but in my extension I am fetching the markdown for Github repositories and some of which include HTML. In the Detail component, any HTML seems to be rendered as a string instead of being interpreted.

In your docs, I see you use the CommonMark implementation which does render HTML in markdown, so I'm not sure quite what the issue is.

Will this change the current api? How?
I don't think this will change the current API at all.

Who will benefit with this feature?
Anyone who wants to render HTML in their markdown.

Any Other info.
An example repo that uses HTML in their markdown is: https://github.com/testing-library/react-testing-library and here is the PR for this new extension

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleapiIssues related to APIfeature requestNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions