Skip to content

Rougify your syntax highlighting in Bridgetown markdown code blocks

License

Notifications You must be signed in to change notification settings

beflagrant/bridgetown-rougify

Repository files navigation

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.

About

Rougify your syntax highlighting in Bridgetown markdown code blocks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published