I have the partial with name hello_world
Hello {lang} World!
I want to include the partial and change the attribute {lang}. I have manage to do it with
:lang: Java
include::partial$hello_world.adoc[]
:lang: PHP
include::partial$hello_world.adoc[]
I would like to get
Hello Java World!Hello PHP World!
But including the partial like that, i get the extra space from the empty line between the two includes.
Hello Java World!
Hello PHP World!
I have try to include the partial with
include::partial$hello_world.adoc[lang=Java]
include::partial$hello_world.adoc[lang=PHP]
But it didn't work.
Is there a way to include the partial with different attributes without the empty line?
In case someone is searching for this.
I manage to do what i want with Passthrough Blocks and Pass Macro substitutions.
So my partial became
So now i have this
and i get this