← Back to team overview

zim-wiki team mailing list archive

Re: Verbatim and Indentation


Ok thank you Johannes. I did not realize what it was I was doing wrong.
I guess the inconsistencies in the use of verbatim I was having had to
do with the surrounding empty lines around the block of verbatim text.
Reading that link you gave me more carefully has helped me understand
what it was I was doing wrong.

About the use of other formatting inside verbatim text, I was also not
aware this had been previously discussed and discarded. I am sure there
is a very good reason! I am not an experienced Wiki author myself. Just
looking for ways to make my Howtos easier to understand for the casual

I do definately advocate the implementation of a second form of verbatim
styling though. I would very much love a way to seperate Terminal
Commands, from File Contents as this comes up constantly. Currently it
can look pretty run together when both are included in my
documents(Which is most of them.

Thanks for your time and advice.

 - Lord_Devi

On Sun, 2010-07-04 at 10:57 +0200, Johannes Reinhardt wrote:
> Hi,
> there is a discussion about verbatim formatting on the wiki:
> http://www.zim-wiki.org/wiki/doku.php?id=verbatim_syntax&DokuWiki=9232f0db9df9849d5874dc4a23b3a8d9
> and Fabian is working on it. There have also been discussions about
> adding a code style that acts a bit different than verbatim, you can
> find this in the mailing list archives, but I cannot remember the
> results of the discussion and I am not sure if someone is actively
> working on implementing this.
> It is intentional that zim only allows text to have one style, but I
> cannot remember the reason.
> Regards,
> Johannes
> On Sat, 03 Jul 2010 14:57:07 -0600
> Lord_Devi <lorddevi@xxxxxxxxx> wrote:
> > I am noticing some difficulty in achieving some consistency when using
> > using verbatim formatting. At times it will indent the block of text
> > when I format it as verbatim, while other times it leaves the text
> > un-indented. There are times I would like this text to be indented and
> > other times I would prefer it not to be.
> > 
> > Is there something that can be done to force the indenting issue one way
> > or the other?
> > 
> > A partially related issue, is that I primarily use Zim for the creation
> > of Howto guides or Tutorials. Typically I use verbatim to display code
> > examples. However, equally common I require the inclusion of a block of
> > text representing the contents of a configuration file. I also use
> > verbatim for this. However this can make it difficult to differentiate
> > between "commands to be issued on the command line" and "text to expect
> > or edit inside a file".
> > 
> > I feel that a very simple way to get around this issue, and some
> > others.. would be to allow some basic formatting of verbatim text.
> > Specifically if sections of verbatim text could be made bold, that would
> > really assist me in my document creation. Is there any reason why this
> > can not be accomplished?
> > 
> > 
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~zim-wiki
> > Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~zim-wiki
> > More help   : https://help.launchpad.net/ListHelp