diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-05-28 11:34:43 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-05-28 11:34:43 -0400 |
commit | be16025cfbbafcffe26d2b6e7a17952a39c2cd67 (patch) | |
tree | 0b97f399ba4bb20f919911b8e6b1d92e0d522fbf /lib | |
parent | c8f96e2696d4d538e2b5e9afdec945c3091ce03c (diff) | |
download | patchfoo-be16025cfbbafcffe26d2b6e7a17952a39c2cd67.tar.gz patchfoo-be16025cfbbafcffe26d2b6e7a17952a39c2cd67.zip |
Compress id markdown, to save horizontal space
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render.js | 3 |
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() |