Closed jwalkerbg closed 11 years ago
Well, this feature was on my list, but I never actually get to implement it. I think something like {paste:###} wiki-macro should work.
Actually, it was easier than I thought. Please see: e6d46c8
Is it easy to add paste's title (if any available) as title of the link?
On Mon, Aug 19, 2013 at 10:33 PM, Ivan Cenov notifications@github.comwrote:
Is it easy to add paste's title (if any available) as title of the link?
You mean the title attr in HTML? Yes, didn't appear to me, but it might be useful.
Yes, I mean this:
<!a href="http://redmine.ourcompany.com/pastes/10">I mean this<!/a>
"I mean this" is content of :paste_title. (I put '!' so as to github not render http link.)
OK, that makes sense. Please see this commit: 9eebf3b
How to refer pastes in Wiki and issues? Is there some macro defined?