From ce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 11 Oct 2023 14:29:21 -0400 Subject: Syntax highlighting --- app/assets/stylesheets/main/rouge.css.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/assets/stylesheets/main/rouge.css.erb (limited to 'app/assets') diff --git a/app/assets/stylesheets/main/rouge.css.erb b/app/assets/stylesheets/main/rouge.css.erb new file mode 100644 index 0000000..120dc02 --- /dev/null +++ b/app/assets/stylesheets/main/rouge.css.erb @@ -0,0 +1,11 @@ +<%= Rouge::Themes::Pastie.render(:scope => '.highlight') %> + +.highlight { + background-color: white; + padding: 1em; +} + +.highlight .err { + color: #a61717; + background-color: #f5f7f9; +} -- cgit 1.4.1