question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crowdin Markdown table+pipe issue

See original GitHub issue

🐛 Bug Report

We use pipe in markdown tables to describe TS union types

| `editUrl` | <code>string \| EditUrlFunction</code> | `undefined` | Base URL to edit your site. The final URL is computed by `editUrl + relativeDocPath`. Using a function allows more nuanced control for each file. Omitting this variable entirely will disable edit links. |

But this leads to weird results on Crowdin:

https://crowdin.com/translate/docusaurus-v2/94/en-fr?filter=basic&value=0

image

And display badly on localized sites:

https://docusaurus.io/fr/docs/next/api/plugins/@docusaurus/plugin-content-docs#configuration

image

We should find a way to find a syntax that Crowdin can understand, or ask their support for a solution.

This is a follow-up of:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
forresstcommented, Feb 23, 2022

@Josh-Cena Sorry I wasn’t very clear.

“copy the original English version” => checking out the original Markdown source

1reaction
forresstcommented, Feb 23, 2022

For your information, I found a workaround in Crowdin while waiting for Crowdin’s correction

You just have to copy the original English version with the <code> and </code> tags

image

The rendering in french on docusaurus.io is now correct :

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crowdin Markdown table+pipe issue · Discussion #7051
Crowdin Markdown table +pipe issue. ... We use pipe in markdown tables to describe TS union types. | `editUrl` | <code>string \| EditUrlFunction</code> ......
Read more >
Inlining HTML tag inside a Markdown table would cause ...
I has occurred a several times now, inlining an HTML tag inside a markdown table will trigger Crowdin force transformation on the table...
Read more >
How to escape a pipe char in a code statement ...
The problem is that the vertical bar in the code statement of the second line is interpreted as a column delimiter. Then the...
Read more >
Tips for Formatting Slack Messages
Type an open angle bracket (<), your URL link, a pipe character (|), your link text, and a closing angle bracket. ... Table...
Read more >
@docusaurus/mdx-loader | Yarn - Package Manager
... #5823 chore: replace doc sample .pdf file by .xlsx to solve Crowdin issue (@slorber) ... #5539 docs: improve escape pipe in Markdown...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found