Skip to content

Markdown formatting in replyNotice() #104

Description

@vb2007

Is your feature request related to a problem? Please describe.

The MatrixClient.ts's replyNotice() function doesn't supports markdown formatting.

Describe the solution you'd like

When I design responses in markdown, it should parse and display it correctly.

Currently, a call like this:

return await client.replyNotice(
    roomId,
    event,
    "Width & height parameter **must be less than or equal to 1000**."
);

Returns: Width & height parameter **must be less than or equal to 1000**.

Instead of returning the text in bold.

Describe alternatives you've considered

Using an external markdown formatter package or ˙replyHtmlNotice() ̇, but it isn't as practical.

Additional context

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions