HermanMartinus / bearblog

Free, no-nonsense, super fast blogging.
MIT License
2.36k stars 73 forks source link

Red box artifact in code block #260

Closed okomarov closed 8 months ago

okomarov commented 8 months ago

From the post: https://koma.bearblog.dev/how-to-tame-your-graphql-schema/

image

It happens on the last code snippet, and remains even if I remove the .... You can compare with the previous code snippet where the boxes don't appear.

HermanMartinus commented 8 months ago

@okomarov These are syntax errors in the syntax highlighter for the specified language. Considering this is GraphQL you should be able to specify the highlighter using the format

```graphql
<code here>

Please let me know if this resolves it.

okomarov commented 8 months ago

I was using:

 ```gql

which appears to be working (the type is in green). I since moved content around and the boxes don't appear anymore.