Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml metadata will render a coleblock #7

Closed
ku-zhen opened this issue Feb 25, 2023 · 11 comments
Closed

yaml metadata will render a coleblock #7

ku-zhen opened this issue Feb 25, 2023 · 11 comments
Assignees
Labels
bug Something isn't working released

Comments

@ku-zhen
Copy link

ku-zhen commented Feb 25, 2023

Describe the bug

image

image

To Reproduce

  1. when i open this plugin, the yaml metadata will render a code block
  2. but i found some notes don't have this problem
@ku-zhen ku-zhen added the bug Something isn't working label Feb 25, 2023
@ku-zhen
Copy link
Author

ku-zhen commented Feb 25, 2023

image

@ku-zhen
Copy link
Author

ku-zhen commented Feb 25, 2023

I can use css to hide this code block, but there are still some errors in the console:

image

@LilaRest
Copy link
Owner

@ku-zhen Hi, thanks for this report.
I'll investigate this one and #5 now, and will let you know.

@LilaRest
Copy link
Owner

@ku-zhen I'm not able to reproduce this bug on the development vault. Can you send a the text content of a buggy Markdown note here ?

@ku-zhen
Copy link
Author

ku-zhen commented Feb 25, 2023


cssclass: cards,noyaml,fullwidth
banner: "zob_config/GIF/赛博朋克3.gif"
banner_y: 0.94309

进行中
table without id ("![](" + cover + ")") as Cover, file.link as Name, author as Author,publisher,rating as Rating
from #book and !#社科
where contains(file.folder, "1 文献笔记收纳盒") and status="进行中"
sort rating desc
搁置
table without id ("![](" + cover + ")") as Cover,  file.link as Name, author as Author,publisher,rating as Rating
from #book and !#社科
where contains(file.folder, "1 文献笔记收纳盒") and status="搁置"
sort rating desc
待完成
table without id ("![](" + cover + ")") as Cover,  file.link as Name, author as Author,publisher,rating as Rating
from #book and !#社科
where contains(file.folder, "1 文献笔记收纳盒") and status="待完成"
sort rating desc
已完成
table without id ("![](" + cover + ")") as Cover, file.link as Name, author as Author,publisher,rating as Rating
from #book and !#社科
where contains(file.folder, "1 文献笔记收纳盒") and status="已完成"
sort rating desc

@ku-zhen
Copy link
Author

ku-zhen commented Feb 25, 2023

@LilaRest you can try this .md note above

@LilaRest
Copy link
Owner

@LilaRest you can try this .md note above

There is no Custom Classes block in the given example

@ku-zhen
Copy link
Author

ku-zhen commented Feb 25, 2023

@LilaRest you can try this .md note above

There is no Custom Classes block in the given example

yes, but every time I open this note, something happens, like this:

I can use css to hide this code block, but there are still some errors in the console:

image

@LilaRest
Copy link
Owner

@ku-zhen Oh yes, those unwanted errors in the console will be fixed in the next release and are related to issue #5.

This issue is about the frontmatter that is displayed as a codeblock so I was requesting for an example of note that produces this bug.

@LilaRest
Copy link
Owner

@ku-zhen That's ok I've been able to reproduce the bug.
A fixed version will be released today.

@github-actions
Copy link

🎉 This issue has been resolved in version 2.6.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants