code: public HttpResponse doPreviewDescription(@QueryParameter String text) throws IOException {
          StringWriter w = new StringWriter();
          translate(text, w);
          return HttpResponses.html(w.toString());
      }
docs: Generate HTML for preview, using markup formatter.
  Can be called from other views.