tag:support.multimarkdown.com,2013-02-12:/discussions/suggestions/3090-styles-for-ordered-listsMultiMarkdown Software, LLC: Discussion 2020-12-09T14:33:16Ztag:support.multimarkdown.com,2013-02-12:Comment/472665082019-05-15T17:41:18Z2019-05-15T17:42:17ZStyles (?) for Ordered Lists<div><p>Because I'm not a developer, all suggestions implemented in code are easy!</p>
<p>Actually, I know they're not, but hopefully this won't be horrifically difficult.</p>
<p>I was always a little surprised that Gruber only allowed for 1, 2, 3… for ordered lists (and the same for unordered lists). How hard would it be to base the ordered list style on the first character typed, such as 1, A, I, a, i?</p>
<p>For my own technical writing, I prefer to use no more than two levels, but that means that after I export MultiMarkdown to HTML, I have to go through and add type="a" to all ordered second-level lists.</p>
<p>It would be awesome to type:</p>
<ol>
<li>do this<br></li>
<li>do that (the 2 auto added by MMDC because I started by typing "1." Obviously, this part works already.)<br>
a. if x, then y b. if not y, not x (the b auto added by MMDC because I started the line by typing a "b." A. yay outlines! B. yay multimarkdown! (the B auto added by MMDC because I started the line by typing an "A.")</li>
</ol>
<p>To go one step farther (this might not be possible with</p>
<div>?: use a "." or ")" or "( )" based on what I type for the first line, allowing:
<p><strong>type:</strong> "1." <strong>get:</strong> "2.", "3." etc</p>
<p><strong>type:</strong> "a." <strong>get:</strong> "b.", "c." etc</p>
<p><strong>type:</strong> "a)" <strong>get:</strong> "b)", "c)" etc</p>
<p><strong>type:</strong> "(A)" <strong>get:</strong> "(B)", "(C)" etc</p>
<p>In other words, turn MMDC into the markdown version of OmniOutliner! :-)</p>
<p>Just a thought.</p>
</div></div>sylvaticustag:support.multimarkdown.com,2013-02-12:Comment/472665082019-05-15T17:48:42Z2019-05-15T17:48:42ZStyles (?) for Ordered Lists<div><p>This is "presentation" not "content."</p>
<p>Which in "HTML world" means CSS. (It's different for other formats, but HTML is great for this.)</p>
<p>Simply use CSS to change the bullet styles for all of your lists, at whatever nesting levels you desire.</p>
<p>But fundamentally, there are only two types of lists -- those with an implied order (enumerated) and those without (bulleted). Everything else is just presentation (which style of bullet, which style of enumerated, which color, which font, etc.) All of that belongs in CSS, not in MultiMarkdown.</p>
<p>And the beauty of doing it this way is that it works across all Markdown parsers and environments. :)</p>
<p>F-</p>
<p>--<br>
Fletcher T. Penney<br>
Manager, Founder<br>
MultiMarkdown Software, LLC<br>
<a href="mailto:admin@multimarkdown.com">admin@multimarkdown.com</a></p></div>Fletchertag:support.multimarkdown.com,2013-02-12:Comment/472665082019-05-15T17:54:17Z2019-05-15T17:54:17ZStyles (?) for Ordered Lists<div><p>I think of a., b., c…, etc are more <em>semantic</em> or <em>content</em> than <em>presentation</em> (subordinating <em>a</em> to <em>1</em> is not a consideration of style, but rather one of subordination and hierarcy, yes?), but I take your point, especially regarding other parsers, which I didn't think about before adding this suggestion.</p>
<p>Sigh…. :-)</p></div>sylvaticustag:support.multimarkdown.com,2013-02-12:Comment/472665082019-05-15T18:01:28Z2019-05-15T18:01:28ZStyles (?) for Ordered Lists<div><p>a, b, c is semantic when compared to *, *, *</p>
<p>but a, b, c vs 1, 2, 3 vs A, B, C is style</p>
<p>Having different levels of an outline is semantic, but exactly which numbering system used at a given level is style.</p>
<p>The following are semantically identical, though obviously different stylistically:</p>
<ol>
<li>Foo<br>
A. foo B. bar</li>
<li>Bar<br>
A. bar</li>
</ol>
<p>A. Foo<br>
1. foo 2. bar B. Bar<br>
1. bar</p>
<p>Using CSS to convert between those two is trivial, and does not require changing the meaning of the outline.</p>
<p>--<br>
Fletcher T. Penney<br>
Manager, Founder<br>
MultiMarkdown Software, LLC<br>
<a href="mailto:admin@multimarkdown.com">admin@multimarkdown.com</a></p></div>Fletchertag:support.multimarkdown.com,2013-02-12:Comment/472665082019-05-15T20:50:12Z2019-05-15T20:53:38ZStyles (?) for Ordered Lists<div><p>Hmmm…thanks! Obviously I hadn't thought of it that way. <em>Super</em> interesting. Thanks! (Even if now I'm going to have learn even more CSS! Just starting out, so it's a miracle I understand what little I do!)</p>
<p>I know about inline styling, such as type="1" and type="a". I assume the next…dare I say it?…level…is to create classes.</p>
<p>Still, I would love it if we could MMDC configure a setting for levels? A pane with fields for each level so we could create</p>
<ol>
<li>this is level one<br></li>
<li>this is also level one<br>
a. this is level two b. and so is this</li>
<li>back to level one</li>
</ol>
<p>instead of what it does now:</p>
<ol>
<li>this is level one<br></li>
<li>this is also level one<br>
<ol>
<li>this is level two</li>
<li>and so is this</li>
</ol>
</li>
<li>and back to level one</li>
</ol>
<p>Does the suggestion make sense for styles internal to MMDC, but exporting to HTML stays</p>
<div>and honoring other Markdown parsers keeps it at 1, 2, 3, 4 as above? I suspect you'll place the next pearl of wisdom before me and I'll have to give up entirely, but that second example above really does seem…awkward? At least convert the 3 to a 1 when we press Tab, and the 5 to a 3 when we press Shift-Tab so it's
<ol>
<li>level one<br></li>
<li>level one<br>
<ol>
<li>level two</li>
<li>level two</li>
</ol>
</li>
<li>level</li>
</ol>
<p>??? :-)</p>
</div></div>sylvaticustag:support.multimarkdown.com,2013-02-12:Comment/472665082019-06-03T00:57:10Z2019-06-03T00:57:10ZStyles (?) for Ordered Lists<div><p>Sorry for the delay -- got tied up with several other things and was a bit behind in some emails.</p>
<p>Markdown enumerated lists are numerical only (1, 2, 3). I don't have any intention at this time of changing that for MultiMarkdown.</p>
<p>There are several issues with cleaning up lists when not expected by the user when typing lists, but I might work on that in the future. But if you alter the levels of enumerated list items by indenting/outdenting, all you have to do is toggle the list type back and forth and the entire list is renumbered automatically. You can also use the cleanup list menu command, but there's not a keyboard shortcut for that so it takes a second or two longer.</p>
<p>Fletcher</p>
<p>--<br>
Fletcher T. Penney<br>
Manager, Founder<br>
MultiMarkdown Software, LLC<br>
<a href="mailto:admin@multimarkdown.com">admin@multimarkdown.com</a></p></div>Fletcher