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

Support for raw links and URL encoding #66

Open
SvenAelterman opened this issue Aug 12, 2022 · 0 comments
Open

Support for raw links and URL encoding #66

SvenAelterman opened this issue Aug 12, 2022 · 0 comments

Comments

@SvenAelterman
Copy link

When adding a "Deploy to Azure" button in a README.md file, the reference that's used needs to be to an ARM template (JSON) file in the repository, but the raw file needs to be referenced. In addition, because the URL to the ARM template is specified as a query string parameter, the URL needs to be encoded.

This leads to hardcoding the raw URL, which includes the branch name, etc.

It would be nice if gitdown had two additional options:

  1. Generate a link to a raw file in the current repo, current branch.
  2. URL encode the link.

For the docs on creating a "Deploy to Azure" button see https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-to-azure-button.

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

No branches or pull requests

1 participant