Questions about gatsby blocks of code #30071
Unanswered
liuweiyibai
asked this question in
Help
Replies: 1 comment 1 reply
-
Hi liuweiyibai, I too had wondered how this could be done. Github markdown doesn't support this.
and in Github it just renders to: However, if you look at code blocks in the Gatsby docs, the styling is quite different, already using the info string: So now you know the syntax:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, what can I do to have the code block display the code type, just like the code block of the gatsby official document, display the file type and file name.
like this:

Beta Was this translation helpful? Give feedback.
All reactions