diff --git a/src/extensions/github.js b/src/extensions/github.js index c4f8682..6d8a684 100644 --- a/src/extensions/github.js +++ b/src/extensions/github.js @@ -14,6 +14,14 @@ replace : function(match, prefix, content, suffix) { return '' + content + ''; } + }, + { + // @mentions + type : 'lang', + regex : '(@([A-Za-z0-9-_]+))', + replace : function(match, content, user) { + return '' + content + '' + } } ]; };