fix(view): display `@example` for variables

`@example` is not printed on variables.