Skip to content

Conversation

@kevinburke
Copy link
Contributor

Godoc treats all indented code as code blocks, and was incorrectly
interpreting list items in doc.go as code blocks. In addition, Godoc
does not recognize the Markdown URL format, so just put links in
parentheses and omit the braces.

Finally, the code samples had an extra unnecessary level of
indentation on account of using 4 spaces for indentation instead of
tabs. Use tabs instead so they appear correctly on the godoc website.

Godoc treats all indented code as code blocks, and was incorrectly
interpreting list items in doc.go as code blocks. In addition, Godoc
does not recognize the Markdown URL format, so just put links in
parentheses and omit the braces.

Finally, the code samples had an extra unnecessary level of
indentation on account of using 4 spaces for indentation instead of
tabs. Use tabs instead so they appear correctly on the godoc website.
@elithrar elithrar self-assigned this Jun 6, 2017
@elithrar
Copy link
Contributor

elithrar commented Jun 6, 2017

Thanks for this @kevinburke!

@elithrar elithrar merged commit c5a2560 into gorilla:master Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants