author | wenzelm |
Fri, 12 Nov 2021 14:37:00 +0100 | |
changeset 74769 | 5d84f0312a3a |
parent 74768 | 5783c15ba69c |
child 74770 | 32c2587cda4f |
--- a/src/Pure/Thy/presentation.scala Fri Nov 12 13:57:50 2021 +0100 +++ b/src/Pure/Thy/presentation.scala Fri Nov 12 14:37:00 2021 +0100 @@ -22,6 +22,8 @@ class HTML_Context { + /* cached theory exports */ + val cache: Term.Cache = Term.Cache.make() private val already_presented = Synchronized(Set.empty[String]) @@ -44,6 +46,9 @@ }) } + + /* HTML content */ + def head(title: String, rest: XML.Body = Nil): XML.Tree = HTML.div("head", HTML.chapter(title) :: rest)