mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
fix: replace bootstrap icon html with utf-8 icon
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
083da302af
commit
f78fd69bf4
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export class HeadlineAnchorsMarkdownExtension extends MarkdownRendererExtension
|
||||||
public configureMarkdownIt(markdownIt: MarkdownIt): void {
|
public configureMarkdownIt(markdownIt: MarkdownIt): void {
|
||||||
anchor(markdownIt, {
|
anchor(markdownIt, {
|
||||||
permalink: anchor.permalink.ariaHidden({
|
permalink: anchor.permalink.ariaHidden({
|
||||||
symbol: '<i class="fa fa-link"></i>',
|
symbol: '🔗',
|
||||||
class: 'heading-anchor text-dark',
|
class: 'heading-anchor text-dark',
|
||||||
renderHref: (slug: string): string => `#${slug}`,
|
renderHref: (slug: string): string => `#${slug}`,
|
||||||
placement: 'before'
|
placement: 'before'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue