p5.js-website
p5.js-website copied to clipboard
bug: incorrect language tag for JavaScript
In many of the .mdx
files containing the documentation, the JavaScript code snippets have been marked with the language tag JavaScript
as follows:
This tag is incorrect and should be replaced by
javascript
. These incorrect language tags lead the build by Shiki
to not be rendered as JS, but rather plaintext:
A simple global search and replacing [triple backticks]JavaScript
with [triple backticks]javascript
should fix the same.
I can take this issue up if the maintainers approve.
just a quick note here that the majority of these are in src/content/contributor-docs
, which have to be fixed in the p5 repo and then re-imported here with the build contributor docs script. i see a few in src/content/tutorials
, which can be fixed directly in this repo.
For those in contributor docs, we'll fix in the p5.js repo.