t; ---
>> ^^^ line of dashes, no problem
>> yeah!
>>
>>
>> Another option with Asciidoctor is to masquerade a literal block as a
>> source block.
>>
>> [source,shell,linenums]
>>
>> some source
>>
problem
> yeah!
>
>
> Another option with Asciidoctor is to masquerade a literal block as a
> source block.
>
> [source,shell,linenums]
>
> some source
>
> ^^^ the above line won't close the block
> code
> yeah!
>
>
>
literal block as a
source block.
[source,shell,linenums]
some source
^^^ the above line won't close the block
code
yeah!
Having to worry about collisions like this is one of the minor drawbacks of
using a lightweight markup language. That's why we try to provide altern
>
> The Asciidoctor implementation therefore requires that the closing and
> opening delimiters be the same length.
Yeah I saw that. That would be nice. I need to convert miscellanous files
(mostly program source but also plain text documentation, hence my problem)
but using a very long delim
> some source
> code
> yeah!
>
>
> If my source code contains a line with only dashes (at least four) it will
> prematurelly close my source block, this is not what I want…
>
> I found the two following solutions :
>
> 1) Use an open block :
>
> [s
Hi,
Let's say I have the following code :
[source,shell,numbered]
some source
code
yeah!
If my source code contains a line with only dashes (at least four) it will
prematurelly close my source block, this is not what I want…
I found the two following solutions :
1) Use an
On 07/08/10 09:45, sylr wrote:
Hi,
I would like to know if its possible to make attribute substitution in
source blocks, e.g.
[source,shell]
-
sylv...@kheops:~/$ git clone {mike_git_url} mike.git
-
sylv...@kheops:~/$ asciidoc -a mike_gi
On 7 August 2010 07:45, sylr wrote:
> Hi,
>
> I would like to know if its possible to make attribute substitution in
> source blocks, e.g.
>
> [source,shell]
> -
> sylv...@kheops:~/$ git clone {mike_git_url} mike.git
> -
Attribute substituti
Hi,
I would like to know if its possible to make attribute substitution in
source blocks, e.g.
[source,shell]
-
sylv...@kheops:~/$ git clone {mike_git_url} mike.git
-
sylv...@kheops:~/$ asciidoc -a mike_git_url="git:///mike.git"
mike.tx