Skip to content

Commit

Permalink
fix readme document and code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Oct 7, 2024
1 parent 78f3dfd commit a951e6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ $ changelog-from-release > CHANGELOG.md
$ cat CHANGELOG.md
```

For more command line usage, see the `-help` output.

Automation with [GitHub Actions][gh-actions] is also offered. Please read
[action's README](./action/README.md) for more details.

Expand All @@ -46,8 +48,6 @@ Automation with [GitHub Actions][gh-actions] is also offered. Please read
github_token: ${{ secrets.GITHUB_TOKEN }}
```
For more usage, see `-help` output.

## Reference auto linking
Expand Down Expand Up @@ -110,7 +110,7 @@ cat <<-EOS > CHANGELOG.md
Changelog
=========
This is a footer.
This is a header.
EOS
Expand Down
2 changes: 1 addition & 1 deletion reflink.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (l *Reflinker) linkURL(n *ast.AutoLink) {
}

// Search the offset of the start of the URL. When the text is a child of some other node, URL
// may not appear just after the previous node. The example is **https://...** where URL appers
// may not appear just after the previous node. The example is **https://...** where URL appears
// after the first **.
offset := bytes.Index(l.src[start:], url)
if offset < 0 {
Expand Down

0 comments on commit a951e6d

Please sign in to comment.