A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
- Headers
- Links
- Bold
- Emphasis
- Deletions
@function rem($pxs) { | |
@if type_of($pxs) == list { | |
$rem: (); | |
@each $px in $pxs { | |
$rem: append($rem, $px / 16 * 1rem); | |
} | |
} @else { | |
$rem: $pxs / 16 * 1rem; | |
} |
<!-- HEAD SECTION --> | |
<!-- IE Edge Meta Tag --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<!-- Viewport --> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> |
#!/bin/sh | |
# Firefox Developer Edition install | |
# No need to download this script, just run it on your terminal: | |
# $ curl -L git.io/firefoxdev | sh | |
# When you need to update Firefox Developer Edition, run this script again. | |
START_CMD="ffd" | |
INSTALLATION_DIR="/opt/firefox" |
#!/usr/bin/python | |
from poster.encode import multipart_encode | |
from poster.streaminghttp import register_openers | |
import urllib2 | |
import simplejson | |
import sys | |
try: | |
input_file = open(sys.argv[1], 'rb') |