Re: ~np~ not working as expected
Can't you use the {CODE} plugin to display program code in your articles, the same way you did for this forum post?
If that's not an option, what is the issue with using ~np~ tags? Certain symbols get interpreted as Tiki markup? You probably need to encode the greater than and/or less than symbols into Tiki markup such that:
"<" becomes ~60~
">" becomes ~62~
This also applies to the {CODE} plugin too I believe.
Also you should try using ~pp~ tags rather than ~np~ because the ~pp~ tags preserve formatting.