Zim

Can I start a verbatim section with a single quote?

Asked by Sparhawk

I would like to have an inline verbatim block that starts with a single quote ('). For example (where verbatim is marked by <<code>>).

    Make this change <<'datadirectory' => '/var/www/owncloud/data',>>

Is this possible? '''[code]'' parses the second two quotes as the markup, making it '<<[code]>> instead of <<'[code]>>.

Question information

Language:
English Edit question
Status:
Solved
For:
Zim Edit question
Assignee:
No assignee Edit question
Solved by:
Jaap Karssenberg
Solved:
Last query:
Last reply:
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) said :
#1

Afraid that is not possible, current wiki syntax uses double quotes for
inline verbatim.

Regards,

Jaap

On Fri, Jun 27, 2014 at 2:52 AM, Sparhawk <
<email address hidden>> wrote:

> New question #250834 on Zim:
> https://answers.launchpad.net/zim/+question/250834
>
> I would like to have an inline verbatim block that starts with a single
> quote ('). For example (where verbatim is marked by <<code>>).
>
> Make this change <<'datadirectory' => '/var/www/owncloud/data',>>
>
> Is this possible? '''[code]'' parses the second two quotes as the markup,
> making it '<<[code]>> instead of <<'[code]>>.
>
> --
> You received this question notification because you are an answer
> contact for Zim.
>

Revision history for this message
Sparhawk (sparhawkthesecond) said :
#2

Okay, thanks for the reply. Should I create a feature request? Perhaps it could be possible to escape the quote?

e.g. ''\'[code]''

Revision history for this message
Best Jaap Karssenberg (jaap.karssenberg) said :
#3

There is a feature request for an escape character, but afraid something
like that is currently not implemented. Easiest would be to simply put a
space between the '' and the ' that way they are seperated.

-- Jaap

On Fri, Jun 27, 2014 at 8:16 AM, Sparhawk <
<email address hidden>> wrote:

> Question #250834 on Zim changed:
> https://answers.launchpad.net/zim/+question/250834
>
> Status: Answered => Open
>
> Sparhawk is still having a problem:
> Okay, thanks for the reply. Should I create a feature request? Perhaps
> it could be possible to escape the quote?
>
> e.g. ''\'[code]''
>
> --
> You received this question notification because you are an answer
> contact for Zim.
>

Revision history for this message
Sparhawk (sparhawkthesecond) said :
#4

Okay. That will suit for now. Thank you for the quick reply.

Cheers.

Revision history for this message
Sparhawk (sparhawkthesecond) said :
#5

Thanks Jaap Karssenberg, that solved my question.