You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Specify the `name`, `age`, and `weight` when creating a new `Person`, * then access the fields like this: * * {{{ * val p = Person("Al", 42, 200.0) * p.name * p.age * p.weight * }}} *class Person (var name: String, var age: Int, var weight: Double)
Output
The {{{...}}} text shows up in the Scaladoc, like this:
... the fields like this: {{{ val p = Person("Al", 42, 200.0) p.name p.age p.weight }}}
Expectation
I expected the code in the {{{...}}} block to be displayed as multiple lines of PRE/CODE text in the resulting Scaladoc, like this: