solana-foundation / developer-content

Collection of Developer content for exploring, learning, and building in the Solana ecosystem.

Home Page:https://solana.com/developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unknown error while processing the markdown tokens.md

JamieShip opened this issue · comments

Problem

https://solana.com/zh/docs/core/tokens

unknown error while processing the markdown content.

Proposed Solution

image

I will look into this. The odd thing to me is that the content of this document does not appear to have translations to this language and yet it is breaking.....

@JamieShip thanks for flagging this! I just push an update to solana.com that fixes this (and should prevent it in the future)

In a nutshell, our content translation platform Crowdin was altering the content of the markdown files to a point where our MDX parser would fail to parse them correctly due to some badly formatted content that Crowdin would return to us.

I improved that parser error handling, pre-parsing logic, and even added a more helpful error (with a direct link to create an issue) should something like this happen again :)