Skip to content

[v2] content parsing issue inside the markdown table #3758

Description

@Simek

🐛 Bug Report

It looks like on the React Native website we currently experiencing MDX parsing issue inside the markdown table:

One of color hashes is not rendered in code block besides that the both entries are using the same code:

Issue preview

Screenshot 2020-11-16 153358

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

(Write your steps here:)

  1. Visit https://reactnative.dev/docs/next/button#color
  2. Check out the #2196F3 formatting in the table

Or

  1. Follow https://github.com/facebook/react-native-website#%EF%B8%8F-getting-started
  2. Go to http://localhost:3000/docs/next/button#color
  3. Check out the #2196F3 formatting in the table

Expected behavior

#2196F3 string should be formatted as code block.

Actual Behavior

#2196F3 is not correctly formatted.

Your Environment

  • Docusaurus version used: 2.0.0-alpha.66
  • Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Not browser dependent, Node LTS and Latest

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalThis issue is caused by an external dependency and not Docusaurus.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions