Used to use Quiver ( http://happenapps.com/ ) but now switched to Bear Notes ( http://www.bear-writer.com/ ). Both support Markdown and Syntax Highlighting. Quiver is lot more full featured programmer's notebook but I like Bear because its light and I prefer tag system.
Love Quiver... I wish some encryption was included. I suppose a wrapper/script might be able to handle it.