solana-foundation / developer-content

Collection of Developer content for exploring, learning, and building in the Solana ecosystem.
https://solana.com/developers
93 stars 136 forks source link

fix: prevent altering content in code blocks #265

Closed nickfrosty closed 1 month ago

nickfrosty commented 1 month ago

Problem

the content pre-parser alters the text within code blocks, which it should not

Summary of Changes

update the pre-processor to ignore code block internal content

Note: to ultimately fix this on the solana-com website, a PR need to be made there two. But this PR must be merged and go live first

Related: https://github.com/solana-foundation/developer-content/issues/262