Method To Produce Nested Lists?

do
dorich
Posts: 48
Joined: Tue Jul 11, 2006 5:40 pm
Platform: Mac
Location: Fremont, CA
Contact:

Tue Apr 05, 2011 2:05 pm Post

Is there a method to produce nested lists using MMD?

I played around with some experiments but it appears you can only produce one list but no nested lists.

Thanks.

Mr
MrGruff
Posts: 208
Joined: Tue Jun 05, 2007 4:22 pm
Location: UK
Contact:

Tue Apr 05, 2011 4:27 pm Post

You just need to add a space to the start of each paragraph of the secondary list: and it helps to use a different list character (but I don't think that is as vital as the space). So the following (with the underscores replaced by spaces, because the forum is swallowing my leading spaces) gives three nested bullet points under the second item of a numbered list:

Code: Select all

1. Level one list.

1. More of level one:

_+ bullet in nested list;

 _+ next bullet in nested list;

 _+ third bullet in nested list.

1. Level one again.

1. And more of level one.

do
dorich
Posts: 48
Joined: Tue Jul 11, 2006 5:40 pm
Platform: Mac
Location: Fremont, CA
Contact:

Tue Apr 05, 2011 4:46 pm Post

Thanks.

Just what I needed.

User avatar
AmberV
Posts: 20600
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Thu Apr 14, 2011 3:32 am Post

Space can equal Tab, in this context, too. I find that makes this more readable. Ordinarily a prefix tab turns on code blocks, but if it is within a list block, it will either continue the current list item (for multi-paragraph lists) or start a nested list of either bullet or enumerated types.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

Ju
JustTryingToWrite
Posts: 2
Joined: Sun Nov 26, 2017 11:15 pm
Platform: Windows

Sun Nov 26, 2017 11:52 pm Post

Why does none of this stuff seem to work?

I tried pasting the code in Gruff's post above, and it doesn't do anything re formatting. It just looks exactly like the code.

I saw a post that says you can tel Scriv to "start at" for trying to continue a list - but there's no command for that ANYWHERE - and it's not in the manuals or any videos on-line.

WHY doesn't this supposed "writing tool" do such a simple and necessary writing function as lists, continued lists, and nested lists?

Anyone have any clue how to make a nested list that actually works?
Anyone have any clue about any writing tool that actually does what a writing tool should?

Thanks.

User avatar
nontroppo
Posts: 745
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Mon Nov 27, 2017 1:00 am Post

JustTryingToWrite wrote:Why does none of this stuff seem to work?


It works fine here; are you sure you're writing using MultiMarkDown (MMD), as the original poster is?

User avatar
AmberV
Posts: 20600
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Mon Nov 27, 2017 11:43 am Post

And also, did you fix the code sample as the poster described? The text in the code box above isn’t valid syntax, this however is:

Code: Select all

1. One
2. Two
    * First paragraph.

    Second paragraph of first bullet.

    * Second bullet.
3. Three
    * First bullet.
        1. Another numbered list.
            * Another bullet.
            * I could keep going.
        2. Yup, looks like Markdown supports nesting all right.
    * It's a good idea to reference the [Markdown website itself](https://daringfireball.net/projects/markdown/) for code examples and a tutorial on its usage.

4. And back to the top.


And to prove that works, here is the same list using a MultiMarkdown to BBCode converter:
  1. One
  2. Two
    • First paragraph.
    Second paragraph of first bullet.
    • Second bullet.
  3. Three
    • First bullet.
      1. Another numbered list.
        • Another bullet.
        • I could keep going.
      2. Yup, looks like Markdown supports nesting all right.
    • It’s a good idea to reference the Markdown website itself for code examples and a tutorial on its usage.
  4. And back to the top.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
nontroppo
Posts: 745
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Mon Nov 27, 2017 12:28 pm Post

AmberV wrote:...MultiMarkdown to BBCode converter


Which one do you use (mine doesn't handle nested lists and I'd like to upgrade 8) )?

User avatar
AmberV
Posts: 20600
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Mon Nov 27, 2017 12:39 pm Post

I use my own XSLT that I created a while back. It doesn’t work yet with MMD6 though—I haven’t had the time to look into why.

A few notes:

  • You can add an attribution to a quote by double-quoting the name at the bottom:

    Code: Select all

    > This is a the quote text.
    > > username

  • Footnotes are supported.
  • Header levels were tuned for the old forum stylesheet, they might need adjustment as I don’t use them often.
  • Definition lists are supported.
  • Inline code spans become Interface Labels.
  • Figure with captions are supported.
  • Basic colours are supported.
Attachments
bbcode.zip
(3.01 KiB) Downloaded 6 times
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

User avatar
nontroppo
Posts: 745
Joined: Mon Mar 05, 2007 5:22 pm
Platform: Mac
Location: Airstrip One

Mon Nov 27, 2017 3:01 pm Post

Woah, customised XSLT for forum posts, your geek jar just got a few more shiny coins!!! Thanks! 8)