Skip to content

Commit 3067ddd

Browse files
Jonathan Dahanagnivade
authored andcommitted
underline links
1 parent d120cca commit 3067ddd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/parser.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ exports.parse = (markdown) => {
4747
return text;
4848
};
4949

50+
// underline links
51+
r.link = (uri) => {
52+
return chalk.underline(uri);
53+
};
5054

5155
// paragraphs just pass through (automatically created by new lines)
5256
r.paragraph = (text) => {

0 commit comments

Comments
 (0)