scalascalatescalatra

How do I specify an HTML5 Doctype format in Scalate for Scaml?


I'm using Scalatra's built-in Scalate support but I want my default.scaml layout to render an HTML5 Doctype. The Scalate documentation states When the format option is set to :html5, !!! is always <!DOCTYPE html> but I can't find anyone saying exactly how to set the format option.

TIA!


Solution

  • Try

    !!! 5
    

    See the user guide for more detail.