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
It's awkward to have to put the entire template for the output of a __TEMPLATE or __JSON block inside a comment, particularly if the bulk of the comment contains non-template material.
<!-- __JSON: go list -json encoding/json
Package `{{.Out.ImportPath}}` has name `{{.Out.Name}}` and the following doc string:
```
{{.Out.Doc}}
```
-->
<!-- END -->
Instead if would be nice to be able to reference the previous block's output in a shorthand way:
<!-- __JSON: go list -json encoding/json -->
There is no template provided in the previous block. Instead
we can reference the previous block's output using shorthand
<!--!! `{{.Out.Name}}` --><!-- END -->.
The text was updated successfully, but these errors were encountered:
It's awkward to have to put the entire template for the output of a
__TEMPLATE
or__JSON
block inside a comment, particularly if the bulk of the comment contains non-template material.Instead if would be nice to be able to reference the previous block's output in a shorthand way:
The text was updated successfully, but these errors were encountered: