Reputation: 10250
Using Jekyll and Github, it seems that whichever markup language I choose, MD or Textile, I cannot have the program compute the name of the link text to be the same as the link path itself. In other words, I'd like to be able to just spell out a URL and have the markup figure out it should be made into an href
.
Is there a way to do this in either Markdown or Textile? Alternatively, is there another markup language that I can plug-in to my blog to get this feature?
Upvotes: 0
Views: 172
Reputation:
As far as I know it is impossible to do that with a standard MD/textile parser. You will always have to specify the link text and it's target. However, you could create this functionality by modifying an existing MD/textile parser and dropping that in place of a stock parser. Obviously this can't be done on Github. In that case you could just write your MD/textile in any programmer's text editor and use regex substitution to find and fix the url notation.
Upvotes: 1