Includes in part of a line/includes in numbered lists
Posted by Sisyphos on Aug 05, 2019; 4:55pm
URL: https://discuss.asciidoctor.org/Includes-in-part-of-a-line-includes-in-numbered-lists-tp7039.html
Hi,
Is it possible to include Text from a file as part of line? I was only able to include Text as single line. I have two use cases:
a) I want to include a sentence within a paragraph. Without breaking the line or the paragraph.
b) There is a text in a numbered instruction list, which can appear at several levels.
I tried this:
. include::snippet.adoc[]
. Second step.
. Third step.
The result looks like this:
1. include::snippet.adoc[]
2. Second step.
3. Third step.
Without the dot it works, but I need the number (on different levels).
Is this in general not possible, are there work-a-rounds, or did I oversee something? Also negative answers are welcome.