Skip to content

Commit

Permalink
chore: drop 'Permalink for' for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd authored Jan 15, 2024
1 parent 8d56245 commit df95359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuemark/src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const renderer = {
const rich = parseHeading(html)

delete plain.text
const a = elem('a', { href: `#${plain.id}`, title: `Permalink for '${title}'` })
const a = elem('a', { href: `#${plain.id}`, title: title })
return elem(`h${level}`, plain, a + rich.text)
},

Expand Down

0 comments on commit df95359

Please sign in to comment.