diff --git a/assets/js/util.js b/assets/js/util.js index 530bd7dc0..bd434c733 100644 --- a/assets/js/util.js +++ b/assets/js/util.js @@ -117,7 +117,7 @@ const resultToHTML = ({ url, title, content }) => { const redir = (id, term) => { const shouldTrim = PRODUCTION && SEARCH_ENABLED const baseURLPrefix = shouldTrim ? "" : BASE_URL.replace(/\/$/g, "") - const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}/` + const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}` window.Million.navigate( new URL(urlString), ".singlePage", diff --git a/assets/styles/_callouts.scss b/assets/styles/_callouts.scss index 04fd2f662..e1650fc87 100644 --- a/assets/styles/_callouts.scss +++ b/assets/styles/_callouts.scss @@ -114,6 +114,10 @@ blockquote[class*="-callout"] > p:first-child { } } +blockquote[class*="-callout"] > p:empty { + padding: 1.2em 35px; +} + $summary: summary, abstract, tldr; $bug: bug; $danger: danger, error; diff --git a/content/notes/callouts.md b/content/notes/callouts.md index 74b837d61..a9b2104e5 100644 --- a/content/notes/callouts.md +++ b/content/notes/callouts.md @@ -10,7 +10,7 @@ This includes - 12 Distinct callout types (each with several aliases) - Collapsable callouts -See [documentation on supported types and syntax here](https://help.obsidian.md/How+to/Use+callouts#Types). +See [documentation on supported types and syntax here](https://help.obsidian.md/Editing+and+formatting/Callouts). ## Showcase diff --git a/content/notes/showcase.md b/content/notes/showcase.md index bc8c4d2fd..bd405af63 100644 --- a/content/notes/showcase.md +++ b/content/notes/showcase.md @@ -18,5 +18,6 @@ Want to see what Quartz can do? Here are some cool community gardens :) - [oldwinterの数字花园](https://garden.oldwinter.top/) - [SethMB Work](https://sethmb.xyz/) - [Abhijeet's Math Wiki](https://abhmul.github.io/quartz/Math-Wiki/) +- [Mike's AI Garden 🤖🪴](https://mwalton.me/) If you want to see your own on here, submit a [Pull Request adding yourself to this file](https://github.com/jackyzha0/quartz/blob/hugo/content/notes/showcase.md)! diff --git a/layouts/partials/graph.html b/layouts/partials/graph.html index 39ed3cfa5..3e25c6579 100644 --- a/layouts/partials/graph.html +++ b/layouts/partials/graph.html @@ -1,5 +1,4 @@ {{ $popover := resources.Get "js/popover.js" | resources.Fingerprint "md5" | resources.Minify }} - + {{ if $data.enableCodeBlockTitle | default $.Site.Data.config.enableCallouts }}