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 -- Dan Dascalescu http://wiki.dandascalescu.com
This isn't something done in standard HTML, so Markdown doesn't do it (I believe). best, Joe On Wednesday, August 5, 2009, 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 > > -- > Dan Dascalescu > http://wiki.dandascalescu.com > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- Joseph Lorenzo Hall ACCURATE Postdoctoral Research Associate UC Berkeley School of Information Princeton Center for Information Technology Policy http://josephhall.org/
Dan Dascalescu 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=275101911You have to think semtically: Why do you want to indent it? I bet because it's some kind of quote. Hence use blockquote syntax of Markdown. Just start each line with a ">" like in email-quotes. The default style for blockquote is indenting it afair. -- Milian Wolff http://milianw.de
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=275101911As 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
It appears that this page is using an unordered list to do the indenting. That is easily done within Markdown syntax. F- 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 > > -- > Dan Dascalescu > http://wiki.dandascalescu.com > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss >-- Fletcher T. Penney fletcher at fletcherpenney.net
In article <3561cc6d0908042326j34319e38wc333e41e3a0743d5 at mail.gmail.com>, Dan Dascalescu <markdown-discuss at six.pairlist.net> 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.It looks like what Wikipedia does is to use lists for indentation. I don't know if the indentation is done by the wiki or if people are expected to hand-format their followups, but it seems a bit out of the scope of what markdown is capable of doing. -david parsons
In article <3561cc6d0908042326j34319e38wc333e41e3a0743d5 at mail.gmail.com>, Dan Dascalescu <markdown-discuss at six.pairlist.net> 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.From looking at the wikipedia discussion page, it looks like the contributers are responsible for hand-formatting the page to make it look all pretty? And the use of ^:+ or ^*+ is so that they can use wiki-style lists to do the indentation? If that's the case, it's just a matter of wikipedia using a different syntax to do the same sort of manual formatting of the discussion, and you would train the users to do markdown- style syntax instead. (Or write a q&d preprocessor that expands ^:+ and ^*+ out into the appropriate levels of list for you.) -david "colo(u)r me confused" parsons