Dirty implementation of hiding/showing imports in ratpack manual. Works for java and groovy snippets.