January 23, 2025
How to do colored code formating in jekyll
Thanks for taking a stop at my corner of the web!
You’ll find this post in your _posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.
- install rouge
- modify your _config.yml file
- create a syntax.css file and add the following code block
- modify your header by including this
- display your code as shown below
Similar Posts
The power of a new beginning
June 3, 2024, 3:45 PMIn addition to documenting my side projects here, I enjoy penning down my thoughts on software, organizational processes, music, or just random topics. Feel free to check out my notes to see more.
The power of a new beginning
June 3, 2024, 3:45 PMIn addition to documenting my side projects here, I enjoy penning down my thoughts on software, organizational processes, music, or just random topics. Feel free to check out my notes to see more.
The power of a new beginning
June 3, 2024, 3:45 PMIn addition to documenting my side projects here, I enjoy penning down my thoughts on software, organizational processes, music, or just random topics. Feel free to check out my notes to see more.