To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading) so your link should look like so:
[create an anchor](#anchors-in-markdown)
| {% paginate collection.products by 20 %} | |
| <!-- the top of your collections.liquid --> | |
| <!-- START PRODUCTS --> | |
| {% for product in collection.products %} | |
| <!-- START PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> | |
| <div class="product" id="product-{{ forloop.index | plus:paginate.current_offset }}"> | |
| {% include 'product' with product %} | |
| </div> | |
| <!-- END PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> |
| var above = function(limit){ | |
| return function(value){ | |
| return value > limit; | |
| }; | |
| }; | |
| var isAbove10 = above(10); | |
| console.log(isAbove10(5)); // false | |
| console.log(isAbove10(8)); // false |
| <div> | |
| <label for="sort-by">Sort by</label> | |
| <select id="sort-by"> | |
| <option value="manual">Featured</option> | |
| <option value="price-ascending">Price: Low to High</option> | |
| <option value="price-descending">Price: High to Low</option> | |
| <option value="title-ascending">A-Z</option> | |
| <option value="title-descending">Z-A</option> | |
| <option value="created-ascending">Oldest to Newest</option> | |
| <option value="created-descending">Newest to Oldest</option> |
| #!/bin/bash | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
| // var config = require('./config.js').get(process.env.NODE_ENV); | |
| var config = { | |
| production: { | |
| session: { | |
| key: 'the.express.session.id', | |
| secret: 'something.super.secret' | |
| }, | |
| database: 'mongodb://<user>:<pwd>@apollo.modulusmongo.net:27017/db', | |
| twitter: { |
| :global { | |
| .test { | |
| position: absolute; | |
| width:30px; | |
| height:30px; | |
| background: red; | |
| display: block; | |
| left:0px; | |
| &:hover{ | |
| transform: rotateY(0deg); |
A quick guide on how to setup Node.js development environment.
nvm allows installing several versions of Node.js to the same system. Sometimes applications require a certain versions of Node.js to work. Having the flexibility of using specific versions can help.