forked from cory/tildefriends
Consolidate markdown linkification, and add support for authors, blobs, and messages.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import * as linkify from './commonmark-linkify.js';
|
||||
import * as hashtagify from './commonmark-hashtag.js';
|
||||
|
||||
function image(node, entering) {
|
||||
@ -67,7 +66,6 @@ export function markdown(md) {
|
||||
writer.image = image;
|
||||
let parsed = reader.parse(md || '');
|
||||
parsed = hashtagify.transform(parsed);
|
||||
parsed = linkify.transform(parsed);
|
||||
let walker = parsed.walker();
|
||||
let event, node;
|
||||
while ((event = walker.next())) {
|
||||
|
Reference in New Issue
Block a user