aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-05-28 11:34:43 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-05-28 11:34:43 -0400
commitbe16025cfbbafcffe26d2b6e7a17952a39c2cd67 (patch)
tree0b97f399ba4bb20f919911b8e6b1d92e0d522fbf /lib
parentc8f96e2696d4d538e2b5e9afdec945c3091ce03c (diff)
downloadpatchfoo-be16025cfbbafcffe26d2b6e7a17952a39c2cd67.tar.gz
patchfoo-be16025cfbbafcffe26d2b6e7a17952a39c2cd67.zip
Compress id markdown, to save horizontal space
Diffstat (limited to 'lib')
-rw-r--r--lib/render.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js
index 57cc3b5..7f6cba5 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -381,7 +381,8 @@ Render.prototype.idLinkCopyable = function (link, cb) {
a.innerHTML = h('span', [
h('span.id-deemphasize', '['),
h('span.id-name', '@' + link.name),
- h('span.id-deemphasize', '](', link.link, ')'),
+ h('span.id-deemphasize', ']'
+ + '(', h('span.id-inner', link.link), ')'),
]).innerHTML
}
cb()