Skip to content

Instantly share code, notes, and snippets.

@tunnckoCore
Created March 15, 2014 16:02
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 tunnckoCore/9569572 to your computer and use it in GitHub Desktop.
Save tunnckoCore/9569572 to your computer and use it in GitHub Desktop.
welcome world

(GitHub-Flavored) Markdown Editor

http://github.io

YouTube Autolink

http://youtube.com/v/GtGJnXB972I


Vimeo Autolink

https://www.vimeo.com/11918221


Viddler Autolink

https://www.viddler.com/v/d6c37b62


DailyMotion Autolink

http://www.dailymotion.com/video/x1eqps5_shadows-heretic-kingdoms-trailer_videogames


Basic useful feature list:

  • Ctrl/Cmd + S to save the file
  • Drag and drop a file into here to load it
  • File contents are saved in the URL so you can share files

I'm no good at writing sample / filler text, so go write something yourself.

Look, a list!

  • foo
  • bar
  • baz

And here's some code!

$(function(){
  $('div').html('I am a div.');
});

This is on GitHub so let me know if I've b0rked it somewhere.

Props to Mr. Doob and his code editor, from which the inspiration to this, and some handy implementation hints, came.

Stuff used to make this:

  • marked for Markdown parsing
  • CodeMirror for the awesome syntax-highlighted editor
  • highlight.js for syntax highlighting in output code blocks
  • js-deflate for gzipping of data to make it fit in URLs

Hello World

  • a
  • list
def hello_world
  puts "hello world"
end
Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
grith api are big dad $434

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Link to Google

strike text italic bold

javascript

var press = function () {
   console.log('yeah');
};

The Fatdown bundle includes the following plugins:

  • Autoemail --- email addresses such as example@example.org are automatically turned into links
  • Autolink --- URLs such as http://github.com are automatically turned into links
  • Escaper --- special characters can be escaped with a backslash
  • FancyPants --- some typography is enhanced, e.g. (c) (tm) and "quotes"
  • HTMLComments --- you can use HTML comments
  • HTMLElements --- several HTML elements are allowed
  • HTMLEntities --- HTML entities such as ♥ are decoded
  • Litedown --- a Markdown*-like* syntax
  • MediaEmbed --- URLs from media sites are automatically embedded:
    http://youtu.be/QH2-TGUlwu4

The parser/renderer used on this page page has been generated by this script. It's been minified with Google Closure Compiler to 32.5 KB (11.6 KB compressed)


Build Status Coverage Status Scrutinizer Quality Score


Bootstrap Markdown

Markdown editing meet Bootstrap.

Version Compatibility with Bootstrap
Bootstrap Markdown v2.x only compatible with Bootstrap 3.x
Bootstrap Markdown v1.x only compatible with Bootstrap 2.x

Demo and documentation on http://toopay.github.com/bootstrap-markdown/

LICENSE

Copyright 2013 Taufan Aditya

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Bitdeli Badge

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