Loomio
Fri 2 Nov 2012 2:22AM

Markdown: text formatting made easy

RDB Richard D. Bartlett Public Seen by 150

Loomio uses "Markdown" to embed images and add text formatting to your discussions. You can switch Markdown on with the small grey icon beneath the comment box:

Here's a quick introduction to writing Markdown.

Headings

There are four different heading sizes, they get smaller as you go. Writing this...

# One hash heading
## Two hash heading
### Three hash heading
#### Four hash heading

Looks like this...
># One hash heading
>## Two hash heading
>### Three hash heading
>#### Four hash heading


Emphasis

You can use asterisks or underscores for emphasis. Writing this...

*italics with asterisks*  
_underline with underscores_
**bold with asterisks** or __bold with underscores__

Looks like this...

italics with asterisks
underline with underscores
bold with asterisks or bold with underscores


Lists:

i) Numbered Lists

Writing this...

My points are as follows:

1. First point.
2. Second point.
3. Third point.

Looks like this...

My points are as follows:

  1. First point.
  2. Second point.
  3. Third point.

ii) Bullet point list

Writing this...

My points are as follows:

* First point.
* Second point.
* Third point.

Looks like this...

My points are as follows:

  • First point.
  • Second point.
  • Third point.

>Note: You must add a new line before your first point (i.e. hit 'enter' twice before starting list).
>
>
>#### Correct
>
>
>Introduction Paragraph
>
>1. First Point
>2. Second Point
>3. Third point
>

>
>#### Incorrect
>
>
>Introduction Paragraph
>1. First Point
>2. Second Point
>3. Third point
>

>

Quotes

Just add a > before each paragraphso this...

> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ante justo, laoreet et elit eget, adipiscing posuere sapien. Aliquam ut elementum elit, vel vehicula elit. Sed nunc ligula, viverra at hendrerit quis, faucibus eget lacus. 

Looks like this...

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ante justo, laoreet et elit eget, adipiscing posuere sapien. Aliquam ut elementum elit, vel vehicula elit. Sed nunc ligula, viverra at hendrerit quis, faucibus eget lacus.



To download a PDF version of the recipe, [click here](https://example.com/scrambled-eggs.pdf).


Images

To embed an image in a comment, first it needs to be hosted somewhere (imgur.com is a good option), then you can include it like so:

![](http://path.to/image.jpg)

Horizontal Rules

These are the dividers that go across the screen. To add them use three dashes, asterisks or underscores in a row.

***
or
---
or
___

Code Inclusion

code can be included by using the 'tick' character ` (found on the same key as the tilde, ~).

`example Function() ` 

looks like:
example Function()


usesMarkdown = false
User.find(2).
update_attributes( uses_markdown: usesMarkdown )

looks like:

usesMarkdown = false
  User.find(2).
       update_attributes( uses_markdown: usesMarkdown )
AR

Arturo Ruano Tue 30 Sep 2014 1:28PM

Wuauuuuuuuu thank you very much

FL

Fred Look Wed 1 Oct 2014 12:37AM

thank you for responses
The specific problem has come about because the block quote markdown has decided to go large and bold and so gobbles up the collumn inches

MI

mix irving Wed 1 Oct 2014 3:01AM

ah that helps @fredlook
I've written some code to fix it hopefully. It might take a week to review and deploy (we're flat out developing)

FL

Fred Look Wed 1 Oct 2014 4:26AM

fantastic thanks

JW

Jochen Walter Wed 1 Oct 2014 6:39AM

bold

JW

Jochen Walter Wed 1 Oct 2014 6:39AM

italic

JW

Jochen Walter Wed 1 Oct 2014 6:40AM

Ok, I was kidding. The functions are right and I mentioned the wrong function! ;o)

R

Ryan Wed 1 Oct 2014 9:58PM

This should be default!

SM

Suso Mateos Sun 12 Oct 2014 9:16PM

hola

JJE

Juan José Escudero Wed 15 Oct 2014 4:34PM

Una pregunta... ¿Es posible que aparezca embebido Loomio en Wordpress?
Gracias

Load More