Skip to content

Instantly share code, notes, and snippets.

@murtaugh
Last active December 11, 2015 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murtaugh/616d9d423c90efdcf7ad to your computer and use it in GitHub Desktop.
Save murtaugh/616d9d423c90efdcf7ad to your computer and use it in GitHub Desktop.
Code block pattern for ALA
<pre><code class="language-">.x:hover { }
.x:active { }
.x:hover:before { }
.x:active:before { }</code></pre>
@murtaugh
Copy link
Author

Notes:

  1. The sample code starts immediately after the open code tag. No line break between.

  2. Complete the class language- with whatever the snippet is. This is for the prism.js syntax highlighter. Examples:

    language-css
    language-markup
    language-javascript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment