tag:help.tenderapp.com,2008-11-12:/discussions/problems/618-markdown-list-problemTender: Discussion 2011-04-07T06:08:27Ztag:help.tenderapp.com,2008-11-12:Comment/1923682009-06-06T20:42:47Z2009-06-06T20:42:47ZMarkdown List Problem<div><p>Can you give us an example of what you mean exactly? We're using
a modified version of Markdown (for example, you don't need two
spaces for a new line here), but lists should work just like
regular markdown.</p>
<p>Thanks!</p></div>Kyle Neath (GitHub Staff) tag:help.tenderapp.com,2008-11-12:Comment/1923682009-06-06T20:53:47Z2009-06-06T20:53:47ZMarkdown List Problem<div><p>Kyle,</p>
<p>This is the exact example I'm talking about from:
http://daringfireball.net/projects/markdown/syntax#list</p>
<hr>
<p>List items may consist of multiple paragraphs. Each subsequent
paragraph in a list item must be indented by either 4 spaces or one
tab:</p>
<ol>
<li>
<p>This is a list item with two paragraphs. Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere
lectus.</p>
<p>Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae,
risus. Donec sit amet nisl. Aliquam semper ipsum sit amet
velit.</p>
</li>
<li>
<p>Suspendisse id sem consectetuer libero luctus adipiscing.</p>
</li>
</ol>
<p>It looks nice if you indent every line of the subsequent
paragraphs, but here again, Markdown will allow you to be lazy:</p>
<ul>
<li>
<p>This is a list item with two paragraphs.</p>
<p>This is the second paragraph in the list item. You're only
required to indent the first line. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.</p>
</li>
</ul>
<h2>* Another item in the same list.</h2>
<p>Thanks.</p>
<p>-Nash</p></div>Nash Kabbaratag:help.tenderapp.com,2008-11-12:Comment/1923682009-06-08T17:47:55Z2009-06-08T17:47:55ZMarkdown List Problem<div><p>Thanks for the example. We may or may not implement this edge
case... we do a lot of special processing to make it a bit easier
on regular users, so we end up cutting off some of the more
advanced features now and then. I'll be sure to update our "Help
with Syntax" sentences to outline the limitations.</p></div>Kyle Neath (GitHub Staff) tag:help.tenderapp.com,2008-11-12:Comment/1923682009-06-08T18:32:17Z2009-06-08T18:32:17ZMarkdown List Problem<div><p>I see.</p>
<p>The reason that this was needed for us is because we're trying
to have a list of steps to demonstrate to our users how to activate
a feature. Each step has a photo associated with it.</p>
<p>Doing a regular</p>
<ol>
<li style="list-style: none">list is causing the photos to get
aligned in a weird location so we were trying to put the photos in
their own paragraph for each li. So</li>
<li>
<p>step text</p>
<p>step photo</p>
</li>
<li style="list-style: none">.
<p>Maybe this is something regular users would use a lot?</p>
<p>Why do you guys implement your own markdown parser? There the
latest gem out there that does a pretty good job. Markdown 2.</p>
<p>Thanks.</p>
<p>-Nash</p>
</li>
</ol></div>Nash Kabbaratag:help.tenderapp.com,2008-11-12:Comment/1923682009-06-10T19:42:23Z2009-06-10T19:42:23ZMarkdown List Problem<div><p>Regular users actually don't use much of markdown. We use the
<a href=
"http://www.pell.portland.or.us/%7Eorc/Code/markdown/">discount
library</a> for markdown, but do our own processing to make things
easier on people. Most people don't know you need two spaces at the
end of a line to generate just a single linebreak, for instance.
They'd also like to paste big blocks of preformatted text without
add pre/code html tags.</p></div>rick