diff --git a/md2html b/md2html index d12d8b9..f24a737 100755 --- a/md2html +++ b/md2html @@ -59,6 +59,7 @@ function inline(text) { text = gensub(/\*\*([^\*]*)\*\*/, "\\1", "g", text) text = gensub(/\*([^\*]*)\*/, "\\1", "g", text) text = gensub(/`([^`]*)`/, "\\1", "g", text) + text = gensub(/\[(.*)\]\((.*)\)/, "\\1", "g", text) return text }