chjj/marked — pull request #48 by jnordberg (2012-04-26 20:20:29+00:00)
Title: Add urlFormatter option

This allows to specify a url formatter function. Example:

```javascript
var url = require('url');
var source = "[mylink](path/to/somewhere)";

marked.setOptions({
urlFormatter: function(href) {
return url.resolve('http://mydomain.com', href);
}
});

console.log(marked(source)); //

mylink

```