Skip to content

Marksy incorrect usage in Markdown Component #356

@f5io

Description

@f5io

I have been running into an issue where the Markdown component does not correctly inherit styles, but I have managed to narrow down the cause.

The marksy package is currently defined as ^0.4.2 in the package.json, however it's usage, does not match the marksy API for that version.

There are a couple of options:

  • Use marksy@0.4.2 and change the usage so that the tags are not nested in an elements prop in the options object passed to marksy
  • Use latest marksy@5 and add in the createElement option to the options object, which would need to point to React.createElement

I am happy to open up a PR for either option, let me know how you'd like me to proceed.

Metadata

Metadata

Assignees

Labels

🐛 BugIssues or PRs that report or fix a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions