apply review feedback from @lukebarnard1

(cherry picked from commit 37d4bce)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Matthew Hodgson 2018-07-09 00:52:27 +01:00 committed by Michael Telatynski
parent 83f2614919
commit 021409aafe
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
6 changed files with 38 additions and 116 deletions

View file

@ -180,14 +180,6 @@ export default class Markdown {
if (is_multi_line(node) && node.next) this.lit('\n\n');
};
// convert MD links into console-friendly ' < http://foo >' style links
// ...except given this function never gets called with links, it's useless.
// renderer.link = function(node, entering) {
// if (!entering) {
// this.lit(` < ${node.destination} >`);
// }
// };
return renderer.render(this.parsed);
}
}