11 lines
220 B
JavaScript
11 lines
220 B
JavaScript
(function() {
|
|
|
|
remark.macros.include = function() {
|
|
var req = new XMLHttpRequest();
|
|
req.open('GET', this, false);
|
|
req.send();
|
|
return remark.convert(req.responseText.replace(/\r\n/g, '\n'));
|
|
};
|
|
|
|
}());
|