Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat: Allow named markdown anchor links#966

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

kikito
Copy link
Contributor

Markdown links don't always have their urls attached. Named links allow
putting them afterwards. This change allows the reader to understand
this pattern on the tag headers:

## [1.0.0]This is version 1.0.0## [0.9.1]This is version 0.9.1## [0.9.0]...[1.0.0]: https://github.com/myorg/myrepo/compare/0.9.1...1.0.0[0.9.1]: https://github.com/myorg/myrepo/compare/0.9.1...0.9.0...

Without this change, the generator will get confused by the brackets
around the versions, and complain that "it cannot find the [1.0.0]
tag" onall_tags (which don't have the brackets)

Markdown links don't always have their urls attached. Named links allowputting them afterwards. This change allows the reader to understandthis pattern on the tag headers:    ## [1.0.0]    This is version 1.0.0    ## [0.9.1]    This is version 0.9.1    ## [0.9.0]    ...    [1.0.0]:https://github.com/myorg/myrepo/compare/0.9.1...1.0.0    [0.9.1]:https://github.com/myorg/myrepo/compare/0.9.1...0.9.0    ...Without this change, the generator will get confused by the bracketsaround the versions, and complain that "it cannot find the [1.0.0]tag" on `all_tags` (which don't have the brackets)
@kikitokikitoforce-pushed thefeat/parse-named-links branch from9daa99f to548152bCompareJune 1, 2021 17:55
Copy link
Collaborator

@olleolleolleolleolleolle left a comment

Choose a reason for hiding this comment

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

The tests empower the reviewer, as tbray said.

This change would help the user who wanted to link to a version, as well.

@olleolleolleolleolleolle merged commitb112b8e intogithub-changelog-generator:masterJun 1, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@olleolleolleolleolleolleolleolleolle approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kikito@olleolleolle

[8]ページ先頭

©2009-2025 Movatter.jp