Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bdwyertech/0089a4477c17710cffebd2d18bfcfd02 to your computer and use it in GitHub Desktop.
Save bdwyertech/0089a4477c17710cffebd2d18bfcfd02 to your computer and use it in GitHub Desktop.
Gitlab - Terraform Syntax Highlighting
# Until an updated Rouge is released...
cd /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rouge-3.1.1/lib/rouge/lexers/
wget https://raw.githubusercontent.com/jneen/rouge/master/lib/rouge/lexers/hcl.rb
wget https://raw.githubusercontent.com/jneen/rouge/master/lib/rouge/lexers/terraform.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment