I am trying to setup a custom style within MS Word 2013 that would display code snippets. So far everything is alright, except there are white separator lines on every 2nd line. I have searched quite a bit, but I cannot find the option that would disable them.
Here is a screenshot of those white lines:
and here is a screenshot of enabled formatting options (shift+f1) for the selection:
Is there a better way of displaying code snippets within MS Word without using styles?
--edit--
The reason why I am using MS Word for snippets:
I am learning programming and for each topic I try to write a small summary that also includes code snippets. I would gladly switch to another tool, but this far I havent found one that has the same capabilites of formatting text as Word and also I really need the table of contents for quick navigation, so I can jump from one topic to another. Which tools would you recommend?

