Sorry to be bold, but I think you are asking the wrong question.

Your question should be how to store verbatim text, like code, without any
wiki formatting done ?

The answer is
1/ Use the "verbatim" formatting style
2/ Use the plugin for embedding blocks of code

Regards,

Jaap



On Mon, Oct 12, 2015 at 11:23 PM, cmpone <cmp...@gmx.de> wrote:

> Any updates on this?
>
> I looked at the pageview.py in GUI and spotted this part:
>
> autoformat_bullets = {
>     '*': BULLET,
>     '[]': UNCHECKED_BOX,
>     '[*]': CHECKED_BOX,
>     '[x]': XCHECKED_BOX,
>     '()': UNCHECKED_BOX,
>     '(*)': CHECKED_BOX,
>     '(x)': XCHECKED_BOX,
> }
>
>
> I tried to change it but I couldn't disable the described behaviour (see
> below).
> Any ideas where to look? I try to disable the "wiki-syntax" - at least for
> checkboxes.
>
> Thanks
>
> On 10/10/15 20:53, cmpone wrote:
>
> Hi,
>
> I recently discovered this great tool.
> Thank you for the effort.
>
> *TLDR:* *How can I disable all styles i.e. Check-boxes from GUI*. And
> leave only Links and H1, H2,.. , highlighting.
>
> In my use case there is strong need to store plain text data in somewhat
> hierarchical order.
> I find this difficult as the wiki-syntax replaces my "code".
> After pasting
> [*] code
> [ ] code
>     [*] code
>     [x] more-code
>
> I noticed that I can copy the source from the text files as a workaround.
> But this is not so handy.
> May be there is a way to change the styles in the "style.conf"? I check
> the FAQ and the manual and didn't find something like this.
>
> I know that syntax is one of the main features but for my special use case
> it is just too much.
> In case that there is no such option could you hint me which part of the
> source code need's to be patched? I am willing to patch it.
>
> Thank you very much.
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to