Skip to content

Instantly share code, notes, and snippets.

@aharshac
Last active July 1, 2017 20:51
Show Gist options
  • Save aharshac/3c34af5b90388c377cc57bf148f0b5c0 to your computer and use it in GitHub Desktop.
Save aharshac/3c34af5b90388c377cc57bf148f0b5c0 to your computer and use it in GitHub Desktop.
Collaborizm Flavoured Markdown

Collaborizm Flavoured Markdown (CFM) is an extension of GitHub Flavoured Markdown (GFM) Markdown-it is used on Collaborizm to parse Markdown to HTML.

CFM is the work of @Robert Lancer and @Anton Voltchok

This reference is posted in the best interest of new users. #hello

@Steven Reubenstone

 


GitHub Flavoured Markdown

 

Headings

# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading

h1 Heading

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

 

Horizontal Rules

___

---

***



 

Typographic replacements

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,,  -- ---

"Smartypants, double quotes" and 'single quotes'

(c) (C) (r) (R) (tm) (TM) (p) (P) +-

test.. test... test..... test?..... test!....

!!!!!! ???? ,, -- ---

"Smartypants, double quotes" and 'single quotes'

 

Emphasis

**This is bold text**

__This is bold text__

*This is italic text*

_This is italic text_

~~Strikethrough~~

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

 

Blockquotes

> This is a blockquote

> This is a new
> multiline blockquote.

> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.

This is a blockquote

This is a new multiline blockquote.

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

 

Lists

Unordered

+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
  - Marker character change forces new list start:
    * Ac tristique libero volutpat at
    + Facilisis in pretium nisl aliquet
    - Nulla volutpat aliquam velit
+ Very easy!
  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered

1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa


1. You can use sequential numbers...
1. ...or keep all the numbers as `1.`
  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

57. foo
1. bar
  1. foo
  2. bar

 

Code

Inline code

This is inline `code`

This is inline code

Indented code

    // Some comments
    line 1 of code
    line 2 of code
    line 3 of code
// Some comments
line 1 of code
line 2 of code
line 3 of code

Block code "fences"

```
Sample text here...
```
Sample text here...

Syntax highlighting

Supported languages

``` js
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));
```
var foo = function (bar) {
  return bar++;
};

console.log(foo(5));

 

Tables

Check out our Markdown Table Generator

| Option | Description |
| ------ | ----------- |
| data   | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext    | extension to be used for dest files. |
Option Description
data path to data files to supply the data that will be passed into templates.
engine engine to be used for processing templates. Handlebars is the default.
ext extension to be used for dest files.

 

Links

[link text](http://dev.nodeca.com)

[link with title](http://nodeca.github.io/pica/demo/ "title text!")

Autoconverted link https://github.com/nodeca/pica

link text

link with title

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)

 

Images

![Minion](https://octodex.github.com/images/minion.png)
![Stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")

Minion Stormtroopocat

 

Emojies

Not supported.

 


Collaborizm Flavoured Markdown

 

At Tags (Profile)

@[Robert Lancer](21339)

@Robert Lancer

 

At Tags (Project)

@[Collaborizm Tech](project/VJybMmgAx)

@Collaborizm Tech

 

Hashtag (Predefined)

#[Software](1431)

#Software

 

Hashtag (User defined)

#hi

#hi

 

Collaborizm-hosted image

![image.jpg](czm://gs32gh6jv6ffqf8kfeiu)

image.jpg

 

YouTube

@[youtube](​https://www.youtube.com/watch?v=wvpv_NI_N04)

@youtube

 

SoundCloud

@[soundcloud](https://soundcloud.com/yoguime-1/summer-of-69-brian-adams-cover)

@soundcloud

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