Render html code directly to layout

Is it posible to send raw code as $content to the layout and render, without a view file?

Thanks

I found it:

return $this->renderContent($content);

Thanks