bridgetown rougify

Rougify your syntax highlighting in Bridgetown markdown code blocks

2
0
Ruby

Bridgetown Rougify Plugin

Configure the Rouge syntax highlighting theme you want to use in your markdown
code blocks in Bridgetown

Installation

Run this command to add this plugin to your site’s Gemfile:

$ bundle add bridgetown-rougify -g bridgetown_plugins

Configuration

Add the following section to your bridgetown.config.yml:

rougify:
  theme: 'github'

Otherwise the default theme will be base16. One place to preview possible
Rouge themes is here.

Testing

  • Run bundle exec rake test to run the test suite
  • Or run script/cibuild to validate with Rubocop and Minitest together.