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

Several small documentation fixes #382

Merged
merged 2 commits into from
Aug 1, 2017
Merged

Several small documentation fixes #382

merged 2 commits into from
Aug 1, 2017

Conversation

rtfb
Copy link
Collaborator

@rtfb rtfb commented Jul 29, 2017

I went through README and the docs and picked out some remaining inaccuracies.

@rtfb rtfb mentioned this pull request Jul 29, 2017
html.go Outdated
// block nodes it will be called twice: first time with entering=true, second
// time with entering=false, so that it could know when it's working on an open
// block nodes it will be called twice: first time with entering=True, second
// time with entering=False, so that it could know when it's working on an open
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change? Isn't lower case correct? https://godoc.org/builtin#true

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, that's a brain fart. Obviously too much Python lately :-). I'll fix it, thanks!

README.md Outdated
output := blackfriday.Run(input)
```
Copy link
Collaborator

@dmitshur dmitshur Jul 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you go from indented code block to fenced code block, you should get rid of the indentation, since it'll now be a part of the code block. This should become:

```go
output := blackfriday.Run(input)
```

Also, it's more common not to include a space after the three backticks (as far as I know).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix, thanks.

@rtfb rtfb merged commit e0df702 into v2 Aug 1, 2017
@rtfb rtfb deleted the v2-final-docs-fixes branch October 15, 2017 08:19
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

Successfully merging this pull request may close these issues.

2 participants