No way to indent text?

Tim Visher tim.visher at gmail.com
Wed Aug 5 07:42:04 EDT 2009


Hi Dan,

On Wed, Aug 5, 2009 at 2:26 AM, Dan Dascalescu<ddascalescu at gmail.com> wrote:

> How could one indent (not quote) a block of text?

>

> This is commonly done in Wikipedia with one or more colons at the

> beginning of the line, and is very handy for threaded discussions.

>

> An example is at

> http://en.wikipedia.org/w/index.php?title=Wikipedia:Articles_for_deletion/MojoMojo&diff=next&oldid=275101911


As others said, this is non-standard for (X)HTML except for certain
elements like `blockquote`. You could use inline styles but then
you'd have to drop back to straight (X)HTML rather than the simpler
Markdown syntax.

For instance, were you to desire to indent a paragraph, markdown will
correctly allow you to do the following:

<p style="margin-left: 2em;">Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.</p>

I think that's your only option directly within Markdown.
--

In Christ,

Timmy V.

http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail


More information about the Markdown-Discuss mailing list