Repository navigation
Added collapse relative links functionality - #585
Conversation
|
David Pine (@IEvangelist) Thanks for the feature! I appreciate it a lot. I hope this could add an option to configure the path style. The .NET docs team used to prefer to prefix subdirectories with Some potential problems with common cases:
|
|
Ah, these are good observations - and things that I'll need to account for. I do not currently handle query strings or bookmarks, those should be easy to add. As for the style, I'm on the .NET docs team myself and I can tell you that the preference is not a necessity. In fact, if tooling is available to ensure that links are valid that's all that really matters. It is my preference to simplify links, and adding a And for links that start with |
Added collapse relative links functionality. Inspired by pull requests such as this:
Automate this functionality with the click of a button, I hope that Next Turn (@NextTurn) will appreciate this addition 🎉
Validated the following link examples:
Using this JavaScript RegExp: