Lean 4 (.lean) files on the Hub now open in a Statements view with rendered KaTeX docstrings, foldable proofs, an Outline sidebar, and Lean 4 syntax highlighting, for example nielsr/formal-conjectures/ErdosProblems/1.lean. Unfinished proof placeholders (sorry, admit, #exit) are highlighted in red, and you can switch to the Full view (?code=true) at any time.
It works across all repositories and Storage Buckets, and Lean 4 syntax highlighting is also enabled for lean and lean4 code blocks in cards and discussions. See the Lean 4 Files documentation for details.









