Massive-Wiki / massivewikibuilder

Massive Wiki Builder
MIT License
3 stars 3 forks source link

Enhancement request: jinja variable for URL of this page in Git forge #31

Open peterkaminski opened 2 years ago

peterkaminski commented 2 years ago

This feature would support a message like this on each page:

<a href="{{ git_forge_this_page_url }}" target="_blank">Edit this page on NAME_OF_GIT_FORGE</a> 
peterkaminski commented 2 years ago

Look at this file:

It shows how GitHub urlencodes a filename to a URL:

ABC-123-abc-123- !"#$%&')*+,-.:;<=>?@[\]^_`{|}~.md
ABC-123-abc-123-%20!%22%23$%25&')*+,-.:;%3C=%3E%3F@%5B%5C%5D%5E_%60%7B%7C%7D~.md