But what if I need to to do some logic and print out raw HTML into template?
Play Framework, like others MVC frameworks, recommends a strict separation of concerns. Your logic must be in your controller, not in the view. It's why it's relatively complicated to do that in the scala templates.
Furthermore, you can use @Html() to display unescaped variables.