Skip to content

Styling MarkupContent #172

@lilactown

Description

@lilactown

Right now, I'm trying to use the reason-language-server and it sends it's hover and other event payloads as MarkupContent

Currently, MarkupContent is being shown as just plaintext:

screen shot 2018-08-24 at 9 00 26 am

lsp-mode doesn't provide a ton of options for individual clients to format MarkupContent, unlike MarkedString, but even by setting a global lsp-render-markdown-markup-content function, the things showed in the sideline are still rendered as plaintext.

Is there any way we could properly render MarkupContent as markdown when "kind": "markdown"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions