Replies: 4 comments 2 replies
-
        Is a better idea?
  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Awesome bro  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         As of v7.1.1, remember to copy the new content from   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I made above changes to  But when I try to copy the .scss file to my project as done in  It doesn't work. What am I doing wrong here? Any help would be greatly appreciated.  | 
  
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
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.scssfile according to the instruction{: .scroll }at the end of the code block like this```python # large chunk of code ``` {: .scroll}The 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