Merge branch 'jackyzha0:v4' into main

This commit is contained in:
Miguel Pimentel 2023-09-25 14:59:12 -05:00 committed by GitHub
commit e1e92b0247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -17,5 +17,7 @@ Want to see what Quartz can do? Here are some cool community gardens:
- [Mike's AI Garden 🤖🪴](https://mwalton.me/)
- [Matt Dunn's Second Brain](https://mattdunn.info/)
- [Pelayo Arbues' Notes](https://pelayoarbues.github.io/)
- [Vince Imbat's Talahardin](https://vinceimbat.com/)
- [🧠🌳 Chad's Mind Garden](https://www.chadly.net/)
If you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/v4/docs/showcase.md)!

View File

@ -14,7 +14,7 @@ const defaultOptions: Options = {
function coerceDate(fp: string, d: any): Date {
const dt = new Date(d)
const invalidDate = isNaN(dt.getTime())
const invalidDate = isNaN(dt.getTime()) || dt.getTime() === 0
if (invalidDate && d !== undefined) {
console.log(
chalk.yellow(

View File

@ -328,6 +328,7 @@ pre {
&:has(> code.mermaid) {
border: none;
position: relative;
}
& > code {