fix: replace bootstrap icon html with utf-8 icon

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-03-19 20:45:54 +01:00
parent 083da302af
commit f78fd69bf4

View file

@ -14,7 +14,7 @@ export class HeadlineAnchorsMarkdownExtension extends MarkdownRendererExtension
public configureMarkdownIt(markdownIt: MarkdownIt): void {
anchor(markdownIt, {
permalink: anchor.permalink.ariaHidden({
symbol: '<i class="fa fa-link"></i>',
symbol: '🔗',
class: 'heading-anchor text-dark',
renderHref: (slug: string): string => `#${slug}`,
placement: 'before'