How To: Use Markdown for formatting your posts

Hi all,

So the WYSIWYG editor I was using was bugging me because of the inconsistencies of the font sizes and types of font, so I've implemented Markdown.

It allows you to do basic formatting like bullets, italics, hyperlinks, etc.. You can also use some HTML if you know it, for example embedding images:

The below code:

<img src="http://i.imgur.com/RzUlJ.jpg">

will embed the image:

image

Please make sure your images are no wider than 620px.

Feel free to play around with Markdown in this thread, and ask any questions here too. Thanks!

Comments

  • edited October 2012 Posts: 1,013

    You can embed images using the following code as well instead of HTML:

    ![alternate text](http://i.imgur.com/RzUlJ.jpg)

    will produce:

    alternate text

  • Posts: 1,013

    Making sure YouTube links will embed with just the URL..

  • edited March 16 Posts: 1,013

    OK guys I looked into the issue of paragraphs and line breaks.

    If you simply want to write one line, then have another line below it (without it being a list), just put 2 spaces after the end of your sentence, then press enter.

    I'll let Mr. Gruber (the creator of Markdown, the syntax editor that this forum uses) explain further:

    A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. (A blank line is any line that looks like a blank line — a line containing nothing but spaces or tabs is considered blank.) Normal paragraphs should not be indented with spaces or tabs.

    The implication of the “one or more consecutive lines of text” rule is that Markdown supports “hard-wrapped” text paragraphs. This differs significantly from most other text-to-HTML formatters (including Movable Type’s “Convert Line Breaks” option) which translate every line break character in a paragraph into a <br /> tag.

    When you do want to insert a <br /> break tag using Markdown, you end a line with two or more spaces, then type return.

    Yes, this takes a tad more effort to create a <br />, but a simplistic “every line break is a <br />” rule wouldn’t work for Markdown. Markdown’s email-style blockquoting and multi-paragraph list items work best and look better when you format them with hard breaks.

    Feel free to play around in the comments below.

  • edited November 2015 Posts: 1,013

    Just want to bump this again because..

    I'm / seeing / people / posting / track / listings / like / this / in / the / gig / reviews.

    If you want to create a vertical list, like a setlist, just put 2 spaces after each line

    Song 1
    Song 2

    Or just number them.

    1. First song
    2. Second song
Sign In or Register to comment.