Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new headings syntax in go 1.19 #86

Closed
missinglink opened this issue Feb 10, 2023 · 1 comment
Closed

new headings syntax in go 1.19 #86

missinglink opened this issue Feb 10, 2023 · 1 comment

Comments

@missinglink
Copy link

missinglink commented Feb 10, 2023

The # syntax was added in Go 1.19. Before Go 1.19, headings were identified implicitly by single-line paragraphs satisfying certain conditions, most notably the lack of any terminating punctuation.

The current master branch doesn't yet support this change, instead writing a literal '#':

Screenshot 2023-02-10 at 14 06 41

https://go.dev/doc/comment#headings

@princjef
Copy link
Owner

The new headings syntax is now supported via #87 and will be available in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants