diff --git a/nullboard.html b/nullboard.html
index b8c2af2..c12e707 100644
--- a/nullboard.html
+++ b/nullboard.html
@@ -516,6 +516,11 @@
transition: none;
}
+ .board .head .text a .mdlink,
+ .board .note .text a .mdlink {
+ text-decoration: underline;
+ }
+
@keyframes whoomp {
0% { color: inherit; }
30% { color: #888; }
@@ -4031,11 +4036,17 @@
Auto-backup
text = htmlEncode(text);
- var hmmm = /\b(https?:\/\/[^\s]+)/mg;
- text = text.replace(hmmm, function(url){
+ var hmmm = /\b(?' + url + '';
});
+ // process commonmark/markdown-style links
+ var mdlink = /\[([^\]]+)\]\((https?:\/\/[^\s)]+)\)/mg
+ text = text.replace(mdlink, function(match, link_text, url){
+ return '' + link_text + '';
+ });
+
if ( NB.peek('fileLinks') )
{
var xmmm = /`(.*?)`/mg;