Add/customizable file ending #20
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, thanks so much for this project, it's super awesome. I'm using it to generate markdown-based documentation for apollo-ios since we've already got a theme that can generate HTML pages based on Markdown. The only issue is when that theme sees
.md
at the end of a link, it links directly to the markdown file rather than to the generated HTML page.This PR adds the ability to customize the text at the end of a link in the
README
- in our case, switching to/
instead of.md
leads to the desired behavior, but in other cases someone might want.html
instead. This change retains existing behavior of using.md
as a link ending by default.I also committed changes which were automatically applied to
Package.lock
when usingswift run
- let me know if you want me to revert that one, but it does not appear to have had any adverse affects.Enhancements
--link-ending
parameter so that links inREADME.md
index can be customized.