Skip to content

Render markdown in tooltip with post-utils, instead of ReactMarkdown #327

Open

Description

@mickmister

The webapp has a robust markdown system that I think we should utilize instead of using the ReactMarkdown library:

<ReactMarkdown
source={data.body}
disallowedTypes={['heading']}
linkTarget='_blank'
/>

The todo plugin uses the webapp's exposed post-utils to render its markdown. I think it makes sense to do the same here. This would allow for feature-rich things like at-mentions to be rendered as well, assuming the backend does the same sort of translations of GitHub -> Mattermost usernames before the PR description is delivered to the frontend, as it does when it creates posts from a GitHub event.

Activity

  1. added
    Help Wanted
    Up For Grabs
    Good First Issue
    Type/Enhancement
    on Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty/1:EasyGood First IssueHacktoberfestHelp WantedTech/GoTech/ReactJSType/EnhancementUp For Grabs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions