The header tag does not work as expected with the ScalaTags library.
import scalatags.Text.all._ title("My Awesome Website")
How can I make this work?
In reference documents / tutorials, itβs convenient to skip the ubiquitous title tag. I hope the developer fix this.
https://github.com/lihaoyi/scalatags
Doesn't work as expected:
If you look at how tags such as link , script , head , html , the title tag should work the same.
For some reason, the developer decided to make this ConcreteHtmlTag[Nothing] tag, rather than the old ConcreteHtmlTag[String] tag type. Itβs also strange that this tag is in the Tags2 package, not Tags , it is a commonly used tag.
source share