Skip to content

Commit

Permalink
fix: remove dataview lines settings broken
Browse files Browse the repository at this point in the history
closes #45
  • Loading branch information
mvdkwast committed Sep 13, 2023
1 parent 89dce43 commit 3214f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class DocumentRenderer {
private preprocessMarkdown(markdown: string): string {
let processed = markdown;

if (this.options.removeFrontMatter) {
if (this.options.removeDataviewMetadataLines) {
processed = processed.replace(/^[^ \t:#`<>][^:#`<>]+::.*$/gm, '');
}

Expand Down

0 comments on commit 3214f42

Please sign in to comment.