Skip to content

Instantly share code, notes, and snippets.

@andyfleming
Created January 29, 2012 06:32
Show Gist options
  • Save andyfleming/1697559 to your computer and use it in GitHub Desktop.
Save andyfleming/1697559 to your computer and use it in GitHub Desktop.
-# Line below below has 2 problems
-# 1. The forward slash in the file path causes the rest of the line to show as commented out.
-# 2. The "href" attribute gets grouped with the "%link" tags coloring
%link(href="ui/css/screen.css" rel="stylesheet" type="text/css" media="screen, projection")
-# Line directly below has the same problem with the forward slash
%link( href="ui/css/print.css" rel="stylesheet" type="text/css" media="print")
-# The below highlights correctly without the forward slash causing a comment problem,
-# but it would be nice if attributes could be colored differently
%link( href= "ui/css/print.css" rel="stylesheet" type="text/css" media="print")
-# Notice in all lines above, GitHub correctly highlights the syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment