Skip to content

Commit

Permalink
Cleanup: pass plugin component to renderMarkdown
Browse files Browse the repository at this point in the history
  • Loading branch information
roovo committed Nov 18, 2023
1 parent 45be11f commit a637cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export class CardBoardView extends ItemView {

if (element instanceof HTMLElement) {
element.innerHTML = "";
MarkdownRenderer.renderMarkdown(item.markdown, element, card.filePath, this);
MarkdownRenderer.renderMarkdown(item.markdown, element, card.filePath, that.plugin);

const internalLinks = Array.from(element.getElementsByClassName("internal-link"));

Expand Down

0 comments on commit a637cb8

Please sign in to comment.