The code block fails to display .toml files correctly
Why
[workspace] becomes multiple lines because react-syntax-highlighter add .table to the workspace, causing it to be displayed as a table and occupy a whole line
I didn't find any discuss addressing this issue so I guess that's because react-syntax-highlighter can't handle .toml correctly
What to fix
The code block fails to display .toml files correctly
Why
[workspace]
becomes multiple lines becausereact-syntax-highlighter
add.table
to theworkspace
, causing it to be displayed as a table and occupy a whole line I didn't find any discuss addressing this issue so I guess that's becausereact-syntax-highlighter
can't handle .toml correctlyHow to fix
Use the bash syntax to render .toml files