File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 817817 } ) . join ( "\n" ) ;
818818
819819 var text = newComment . value . length > 0 ? "\n" : "" ;
820- text += String . format ( '@{0} commented on [{1 }]({2 } "{3 } - Replied by Github Comment Enhancer"):\n{4 }\n\n' ,
820+ text += String . format ( '[** @{0}**]({1}/{0}) commented on [{2 }]({3 } "{4 } - Replied by Github Comment Enhancer"):\n{5 }\n\n' ,
821821 comment . querySelector ( ".author" ) . textContent ,
822+ location . origin ,
822823 timestamp . firstElementChild . getAttribute ( "title" ) ,
823824 timestamp . href ,
824825 timestamp . firstElementChild . getAttribute ( "datetime" ) ,
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Add features to enhance comments & wiki on [Github](https://github.com) and comm
3434 * Added option to choose the character that precedes the list;
3535 * Added option to choose the characters that makes up a horizontal line;
3636 * Fixed running on GitHub Gists and inline comments on commits (fixes https://github.com/jerone/UserScripts/issues/43 );
37+ * Fixed linking @users on GitHub Gists (fixes https://github.com/jerone/UserScripts/issues/13 );
3738 * Searching snippets improved;
3839 * Improve table code;
3940 * Added missing tooltips;
You can’t perform that action at this time.
0 commit comments