Loomio
November 2nd, 2012 02:22

Markdown: text formatting made easy

Richard D. Bartlett
Richard D. Bartlett Public Seen by 3086

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.


Links


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 )
Richard D. Bartlett

Richard D. Bartlett November 2nd, 2012 02:34

Shout out to @Paul Smith for originating this thread over in another group :)

John Graham

John Graham December 14th, 2013 23:07

I've started using this - it's helpful!

Néstor Menta

Néstor Menta September 25th, 2014 11:07

Hi!

I'm starting with Loomio and I have problems to text formatting, embed images and so on.

I mark as Enabled the Markdown but when I save changes nothing changes, what could it be?

Thanks!

Arturo Ruano

Arturo Ruano September 25th, 2014 12:53

I also have the same problem, I hope there is someone who can help us.

Gracias Nestor por el apunte, muy bueno !!!!

Fred Look

Fred Look September 29th, 2014 02:09

is there a way to make small text?

MS

Michaela Spangenburg September 30th, 2014 03:19

@fredlook - do you mean like subtext or supertext (small and slightly above or below the midline of the text), small caps (basically what it sounds like) or just smaller text overall?

mix irving

mix irving September 30th, 2014 11:13

@fredlook I don't think there's a way to do small text

Looks like you've uncovered a bug we hadn't encountered yet with a recent update. Unfortunately the enable markdown setting is really hard to use at the moment.
I will file a bug report

In the meantime, if you click the A to the bottom right of the comment box, you will open a menu. The menu is hard to use at the moment, but see if you can click on the top option "Enable"

Once you post a message this setting Markdown Enabled will be saved as your preference and you won't have to do this again.

if you type:

**test**

you should now get :
test

Néstor Menta

Néstor Menta September 30th, 2014 11:31

test

Néstor Menta

Néstor Menta September 30th, 2014 11:31

Well, seems it works now, I'll be trying it from now. Thanks!

Arturo Ruano

Arturo Ruano September 30th, 2014 13:27

test

Arturo Ruano

Arturo Ruano September 30th, 2014 13:28

Wuauuuuuuuu thank you very much

Fred Look

Fred Look October 1st, 2014 00:37

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

mix irving

mix irving October 1st, 2014 03:01

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)

Fred Look

Fred Look October 1st, 2014 04:26

fantastic thanks

Jochen Walter

Jochen Walter October 1st, 2014 06:39

bold

Jochen Walter

Jochen Walter October 1st, 2014 06:39

italic

Jochen Walter

Jochen Walter October 1st, 2014 06:40

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

Ryan

Ryan October 1st, 2014 21:58

This should be default!

Suso Mateos

Suso Mateos October 12th, 2014 21:16

hola

Juan José Escudero

Juan José Escudero October 15th, 2014 16:34

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

Alanna Irving

Alanna Irving October 15th, 2014 20:10

@juanjoseescudero ahora no, pero espero si en el futuro!

Paco_Me

Paco_Me November 10th, 2014 13:39

** test**

AASMM-coordo

AASMM-coordo November 10th, 2014 22:57

Why is it our group keep having difficulty linking a pdf doc ? We get a pane saying Acces error . Tried from different devices and docs.
Help! This is a major bug for our work!!
Thanks
jo

Alanna Irving

Alanna Irving November 11th, 2014 00:07

@aasmmcoordonatrice - Do you mean when you try to create a link using markdown syntax? Are you able to link to other stuff, such as a webpage? Copy the syntax you're using to try to link to your PDF here.

AASMM-coordo

AASMM-coordo November 11th, 2014 03:56

Simply uploading an attachment. It appears as if loaded, but does not open = Access error
pdf or word, does the same.
:(

mix irving

mix irving November 13th, 2014 12:02

@aasmmcoordonatrice this conversation is about markdown. If you'd like to ask for help please start a conversation in the Help group
or email contact@loomio.org

Christian Bugge

Christian Bugge November 20th, 2014 12:46

It works for me in comments, but when I create a new discussion, it doesn't: https://www.loomio.org/d/cmW3nxiX/it-i-permatopia-nu-og-fremover

Richard D. Bartlett

Richard D. Bartlett November 20th, 2014 20:31

Thanks @christianbugge, looking into it now :)

DGM

Débora Gisele Minigildo February 4th, 2016 15:53

test

Ehab Elia - Ouishare

Ehab Elia - Ouishare March 9th, 2019 14:01

Hello guys, can I add a clickable photo? Like a screen shot of a video as embeded photo in the end of the post where people can click it. Even better, can I embed a video to the core message?
Thanks

Ehab Elia - Ouishare

Ehab Elia - Ouishare March 9th, 2019 14:07

and by the way, the unerlines is not functioning.

Rob Guthrie

Rob Guthrie March 9th, 2019 20:56

Hi, this page might help:
https://www.loomio.org/markdown

In the last 2 examples we show links and images, try combining them - replace the words "Loomio Homepage" with the next whole line, and you should have a link around an image. Here's an example:

[![](https://i.imgur.com/Fvtworb.png)](https://www.google.com)

I'm sooo sorry that this is currently hard, we're working on a rewrite of Loomio's UI and I'm right now, this very day, working on a new super duper editor that will make all of this easy and intuitive. Hope we can release all this work in a couple of months.

Rob Guthrie

Rob Guthrie March 9th, 2019 20:56

We'll bring them back in the new editor. Apologies again.