Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
242 posts
|
I am writting a document with some long numbered sections.
Since they are long I'd like to have different paragrahs in each one, but when I insert a line break, the paragrah is not aligned with the previous one, that is left aligned with the number, but it's aligned with the left margin of the document. Smashing the keyboard (no kidging) I've found a weird solution. Inserting this "[]" between lines makes it work...but I'm curious if this is an intended or an unwanted feature. If it is unwanted, what's the best way to align the paragraphs? [start={counter2:index:1}] . *Title 1* // single paragraph Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt [start={counter:index}] . *Title 2* // multiple paragraphs Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ed. [] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt [] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt thanks as always :) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
126 posts
|
I would use plus symbol "+" because it is the Asciidoctor line break
http://asciidoctor.org/docs/user-manual/#line-breaks e.g. [start={counter:index}] . *Title 2* // multiple paragraphs Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ed. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt
- Ted
@TedAtCIS
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
Taking that a step further, you can combine the list continuation (+) with an open block. . *Title 2* + -- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ed. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt -- Whenever you have a long and/or multi-block list item, I always recommend wrapping the content of the list item in an open block. Then you can stop worrying about blank lines for the rest of that list item. Just write. -Dan On Thu, Jan 28, 2016 at 9:03 AM, Ted [via Asciidoctor :: Discussion] <[hidden email]> wrote: I would use plus symbol "+" because it is the Asciidoctor line break ... [show rest of quote] Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
242 posts
|
Thank you all for the tips, both work perfectly.
|
Free forum by Nabble | Edit this page |