Mastering the art of list continuation formatting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Mastering the art of list continuation formatting

rolfedh
Line 3, shown below, ends with a description list separator, `::`.  As a result, when rendered, all of the text below is indented.

Is there some way to make line 17, "Some additional information.", left-align with line 8, "These filters are mandatory:"?

Currently, with list continuation separator, `+`,  on line 16, line 17 left-aligns too far right, with line 15.



If I remove the list continuation separator, `+`, from line 16, line 17 left-aligns too far left, with line 3.

Reply | Threaded
Open this post in threaded view
|

Re: Mastering the art of list continuation formatting

David Jencks
Does this do what you want?

```
term::
line one
+
line two
+
olist

. one
. two

+
line three
```

It would be easier to compare if you posted the adoc source rather than a screenshot.
Reply | Threaded
Open this post in threaded view
|

Re: Mastering the art of list continuation formatting

rolfedh
Yes. That's the solution. Thank you. I'll post the source code next time.
(It would be nice if this forum had a way to present code blocks with line numbers.)
Reply | Threaded
Open this post in threaded view
|

Re: Mastering the art of list continuation formatting

mojavelinux
Administrator
Also take note of the open block trick, which is useful for handling complex situations.


Best Regards,

-Dan

On Fri, Jul 31, 2020 at 6:08 AM rolfedh [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Yes. That's the solution. Thank you. I'll post the source code next time.


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/Mastering-the-art-of-list-continuation-formatting-tp8125p8130.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: Mastering the art of list continuation formatting

rolfedh
Very useful. Thanks.