Given the following Markdown:
# Some Header
This is a paragraph with a [link](http://usewhiskey.com).
iA Writer says there are 12 words. Byword says there are 11. Whiskey, a Markdown text editor I’m working on, says there are 9. Count them.
| @font-family: Menlo; | |
| .tree-view { | |
| .status-ignored { | |
| display: none; | |
| } | |
| } | |
| .editor { | |
| font-family: @font-family; |
Given the following Markdown:
# Some Header
This is a paragraph with a [link](http://usewhiskey.com).
iA Writer says there are 12 words. Byword says there are 11. Whiskey, a Markdown text editor I’m working on, says there are 9. Count them.
| // Poof! http://www.hulu.com/watch/1201 | |
| NSShowAnimationEffect(NSAnimationEffectPoof, center, CGSizeZero, nil, nil, NULL); |
| class APIClient { | |
| } | |
| var sharedAPIClient: APIClient = { | |
| return APIClient() | |
| }() | |
| extension APIClient { | |
| class func sharedClient() -> APIClient { | |
| return sharedAPIClient |
| extension Array { | |
| func each(block: ((Element) -> Void)) { | |
| for i in 0..<count { | |
| block(self[i]) | |
| } | |
| } | |
| func eachWithIndex(block: ((Element, Int) -> Void)) { | |
| for i in 0..<count { | |
| block(self[i], i) |
| // #25 — Loops and Functions | |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| func Sqrt(x float64) float64 { |
| source 'https://rubygems.org' | |
| ruby '2.1.2' | |
| gem 'rails', '4.1.6' | |
| gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'master' | |
| gem 'puma' | |
| gem 'pg' |
| // | |
| // CommandClickGestureRecognizer.swift | |
| // Whiskey | |
| // | |
| // Created by Sam Soffes on 12/7/14. | |
| // Copyright (c) 2014 Nothing Magical Inc. All rights reserved. | |
| // | |
| import Cocoa |
| // | |
| // NSRange.swift | |
| // MarkdownKit | |
| // | |
| // Created by Sam Soffes on 12/23/14. | |
| // Copyright (c) 2014 Nothing Magical Inc. All rights reserved. | |
| // | |
| import Foundation |