chjj/marked — pull request #71 by pismute (2012-08-30 07:13:00+00:00)
Title: Add support for custom inline

I need autolink for `@` or `#` tags like twitter:

```javascript
marked('@marked #marked', { inline: function(down){
return down(/(^|[ \t]+)@([a-zA-Z0-9]+)/,
function(cap, src){
return src.substring(cap[0].length);
},
function(cap, escape){
return ['@', cap[2], ''].join('');
}
) || down(/(^|[ \t]+)#([a-zA-Z0-9]+)/,
function(cap, src){
return src.substring(cap[0].length);
},
function(cap, escape){
return ['#', cap[2], ''].join('');
}
)
}})
```

How about this?