HTML

dotty.tools.scaladoc.util.HTML
opaque object HTML

This is trivial html renderer using api inspired by ScalaTags It probably could be more efficient but for now on it should be good enough.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HTML.type

Members list

Type members

Classlikes

case class Attr(name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Tag(name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

opaque type AppliedAttr
opaque type AppliedTag

Value members

Concrete methods

def raw(content: String): AppliedTag
def raw(content: StringBuilder): AppliedTag
def text(content: String): String

Concrete fields

val `type`: Attr
val a: Tag
val alt: Attr
val body: Tag
val button: Tag
val charset: Attr
val cls: Attr
val code: Tag
val content: Attr
val dd: Tag
val defer: Attr
val div: Tag
val dl: Tag
val dt: Tag
val h1: Tag
val h2: Tag
val h3: Tag
val h4: Tag
val h5: Tag
val h6: Tag
val head: Tag
val hr: AppliedTag
val href: Attr
val html: Tag
val id: Attr
val img: Tag
val input: Tag
val label: Tag
val li: Tag
val main: Tag
val meta: Tag
val name: Attr
val ol: Tag
val onclick: Attr
val onkeyup: Attr
val p: Tag
val pre: Tag
val rel: Attr
val script: Tag
val section: Tag
val span: Tag
val src: Attr
val style: Attr
val svg: Tag
val table: Tag
val target: Attr
val tbody: Tag
val td: Tag
val testId: Attr
val th: Tag
val thead: Tag
val title: Tag
val tr: Tag
val ul: Tag
val value: Attr

Extensions

Extensions

extension (s: String)