Replies: 3 comments 1 reply
-
Is a better idea?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Awesome bro |
Beta Was this translation helpful? Give feedback.
0 replies
-
As of v7.1.1, remember to copy the new content from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
What is the topic?
Sharing tips and tricks
Description
When writing a post that contains a huge chunk of code, sometimes it's kind of ugly to see the whole code.
And here is an approach that I use to make the code block scrollable.
jekyll-theme-chirpy.scss
file according to the instruction{: .scroll }
at the end of the code block like thisThe rendered content looks like this
I don't think this is needed by most of the users, so instead of a PR I post the approach here in case anyone also needs it.
Beta Was this translation helpful? Give feedback.
All reactions