I spend 2 more hours tested it out again:
with this text:
host> show configuration interfaces ge-0/0/0
enable;
hold-time up 4000 down 0;
gigether-options {
no-auto-negotiation;
802.3ad ae1;
}
optics-options {
warning low-light-warning {
syslog;
}
}
by default it will be rendered as:
<p>
host> show configuration interfaces ge-0/0/0
enable;
hold-time up 4000 down 0;
gigether-options {
</p>
<blockquote>
no-auto-negotiation;
802.3ad <a href="ae1.html">ae1</a>;
</blockquote>
<p>
}
optics-options {
</p>
<blockquote>
warning low-light-warning {
syslog;
}
</blockquote>
<p>
}
</p>
it looks indent with four chars in the following line will generate a
new paragraph (so a new line break effectively)?
and , I just realized, a <br> will help to introduce a line break:
so If I change them to:
host> show configuration interfaces ge-0/0/0 <br>
enable;<br>
hold-time up 4000 down 0;<br>
gigether-options {<br>
no-auto-negotiation;<br>
802.3ad ae1;<br>
}<br>
optics-options {<br>
warning low-light-warning {<br>
syslog;<br>
}<br>
}<br>
I'll archive the target:
<p>
host> show configuration interfaces ge-0/0/0 <br>
enable;<br>
hold-time up 4000 down 0;<br>
gigether-options {<br>
</p>
<blockquote>
no-auto-negotiation;<br>
802.3ad <a href="ae1.html">ae1</a>;<br>
</blockquote>
<p>
}<br>
optics-options {<br>
</p>
<blockquote>
warning low-light-warning {<br>
syslog;<br>
}<br>
</blockquote>
<p>
}<br>
</p>
but that is a lot of work to "modify my original text blocks"...
so my questions are now:
is there a better way to:
1) retain original text format, without changing anything in the text
itselfs,
2) and still have the ability to put some "link" in the text?
if technically not possible, is there any option to customize the <br>
insertion, to sth
simpler (looks better in vim) , like 2 trailing spaces?
still learning vimwiki ....
thanks!