Skip to content

Commit ee4c502

Browse files
mbostockFil
authored andcommitted
fix #1768; no-icon for fork link
1 parent a1190aa commit ee4c502

File tree

2 files changed

+376
-420
lines changed

2 files changed

+376
-420
lines changed

docs/.vitepress/markdown-it-plot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function plot(md) {
2626
directives.includes("hidden")
2727
? `<div style="display: none;">\n`
2828
: href
29-
? `<a class="plot-fork" href="${md.utils.escapeHtml(href)}?intent=fork" target="_blank" title="Open on Observable">Fork</a>`
29+
? `<a class="plot-fork no-icon" href="${md.utils.escapeHtml(href)}?intent=fork" target="_blank" title="Open on Observable">Fork</a>`
3030
: ""
3131
}`;
3232
if (/^Plot\.plot\(/.test(content)) {

0 commit comments

Comments
 (0)