We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dea59e commit 3509e5cCopy full SHA for 3509e5c
.vitepress/theme/markdown/timeline.ts
@@ -5,10 +5,7 @@ import container from 'markdown-it-container'
5
6
type ContainerArgs = [typeof container, string, { render: RenderRule }]
7
8
-function MarkdownItTimeline(
9
- klass: string,
10
- md: MarkdownIt,
11
-): ContainerArgs {
+function MarkdownItTimeline(klass: string, md: MarkdownIt): ContainerArgs {
12
return [
13
container,
14
klass,
@@ -19,7 +16,7 @@ function MarkdownItTimeline(
19
16
if (token.nesting === 1) {
20
17
// opening tag
21
18
const title = md.renderInline(info)
22
- return `<div class='timeline-dot'><span class='timeline-dot-title'>${
+ return `<div class='timeline-dot'><span class='timeline-dot-title title'>${
23
title
24
}</span>\n`
25
}
0 commit comments