[docs] Tables which has a pipe in a code are broken
See original GitHub issueSSIA. The |
in the code (`) is recognized as a table separator.
code:
| Name | Type | Description |
| --------------------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [iosClientId][g-creds] | `string | undefined` | The iOS client id registered with Google for use in the Expo client app. |
capture:

page: https://docs.expo.io/versions/v39.0.0/sdk/google/
This was caused by #10177 . MDX v1 is GFM compliant, and GFM has same problem.
Name | Type | Description |
---|---|---|
[iosClientId][g-creds] | `string | undefined` |
this can be solved with escaping the pipe in GFM.
| Name | Type | Description |
| --------------------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [iosClientId][g-creds] | `string \| undefined` | The iOS client id registered with Google for use in the Expo client app. |
Name | Type | Description |
---|---|---|
[iosClientId][g-creds] | string | undefined |
The iOS client id registered with Google for use in the Expo client app. |
but, in the MDX v1.6.18, \
is remaining.

This is MDX’s issue. https://github.com/mdx-js/mdx/issues/1285
workaround
revert #10177 😢
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Escaped pipes in docs-readme markdown table are ... - GitHub
Escaped pipes in docs-readme markdown table are causing issues #1777 ... does markdown preview in webstorm), resulting in broken tables.
Read more >Markdown: Pipe in table cells cannot be escaped - GitLab.org
Markdown: Pipe in table cells cannot be escaped ... No tasks are currently assigned. Use tasks to break down this issue into smaller...
Read more >Working with Tables in GitHub Markdown - Pluralsight
Individual columns in a table are separated by a pipe character: | . Rows in the table are separated by line breaks. HTML...
Read more >Troubleshooting Snowpipe - Snowflake Documentation
General Troubleshooting Steps¶ · Step 1: Check the Pipe Status¶ · Step 2. View the COPY History for the Table¶ · Step 3:...
Read more >Syntax for Regular Expressions - Google Support
The following table describes some of the most common special characters for use ... captures any email message that has a subject line...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I agree the second option is better. The issue is non-obvious and needs to be communicated instead of hidden behind a different unicode character since this is text that people type. The divisor character would make sense to me if it were autogenerated on each build and never typed by people, but otherwise no one is going to know they need to type it. Also it presumably breaks copy/pasting from the docs.
It’s not remark internals. It’s MDX internals