Skip to content

Instantly share code, notes, and snippets.

@murtaugh murtaugh/code-snippet.html Secret
Last active Dec 11, 2015

Embed
What would you like to do?
Code block pattern for ALA
<pre><code class="language-">.x:hover { }
.x:active { }
.x:hover:before { }
.x:active:before { }</code></pre>
@murtaugh

This comment has been minimized.

Copy link
Owner Author

murtaugh commented Jan 17, 2013

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
You can’t perform that action at this time.