1114 Commits

Author SHA1 Message Date
d4fcf7e248 Merge commit '4bbcc0c50aca68d470542c1af8fd5f8060d97ab8' into HEAD 2024-08-21 17:07:03 +09:00
2d79de6b2a revert cli removal 2024-08-21 17:02:37 +09:00
Jacky Zhao
3938904cd0 fix: embed pdf aspect ratio (closes ) 2024-08-05 19:31:54 -07:00
Jacky Zhao
407fad384c fix: only one h1 on a page (closes ) 2024-08-05 19:18:48 -07:00
Jacky Zhao
ca3943b500 fix: responsive youtube embed (closes ) 2024-08-05 19:14:14 -07:00
dependabot[bot]
f3e07fd51c
chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 ()
* chore(deps-dev): bump prettier from 3.3.2 to 3.3.3

Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* make prettier happy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-08-05 18:38:07 -07:00
Aaron Pham
1224c7d32f
refactor(comments): move script to files ()
* refactor(comments): move script to files

for LSP, treesitter, and the whole galore.

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix(type): support removeEventListener with CustomEventMap

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix: parse bool to string first

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: address comments and test on branch

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* revert: remove comments section from main quartz pages

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-05 15:17:11 -04:00
6e48832ea4 [obsidian] vault backup: 2024-08-04 10:59:39[ 2024-08-04 10:59:39 +09:00
Jacky Zhao
6264f5685c
fix: comments on spa should work (closes ) ()
* fix comments on spa

* fix giscus
2024-07-30 01:13:13 -07:00
Jacky Zhao
03f23e5054 feat: comments (giscus) 2024-07-20 23:05:45 -07:00
Jacky Zhao
b9ee44aad7 i18n: disambiguate en-us and en-gb 2024-07-20 20:24:17 -07:00
Emile Bangma
f37dbe1a59
fix(translusion): block reference not being recognized. () 2024-07-14 03:06:52 -07:00
Jacky Zhao
247625c4f5 feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Jacky Zhao
965425d54d docs + chore: cleanup custom sort ordering for folder + tag listings, add docs 2024-07-09 17:55:19 -07:00
Cao Mingjun
ea92ed4f45
feat: Allow custom sorting of FolderPage and TagPage () 2024-07-09 17:42:33 -07:00
Alex Nordstrom
c95f1d2336
feat: add alias/metadata to transclude tag () 2024-07-09 17:26:32 -07:00
Peter
b7793bd856
feat(style): Add textHighlight theme setting ()
* Add textHighlight theme setting

* update docs to include textHighlight

* Remove errant `S`
2024-07-09 17:21:00 -07:00
Jacky Zhao
2154d36d99 chore: use regex flag instead of string in regexp ctor 2024-07-09 17:20:13 -07:00
Cao Mingjun
4eeacb7fbf
Fix Non-English Anchor Popover Positioning Issue and Update Type Hint ()
- [Major] Changed `hash` passed to `querySelector` to `decodeURIComponent(hash)` to fix the issue where non-English anchors were not correctly positioning the popover content to the corresponding title.
- [Minor] Updated the type hint from `HTMLLinkElement` to `HTMLAnchorElement` as the passed element is an `<a>` element, not a `<link>` element (reference: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement).
2024-07-08 13:34:43 -07:00
MassiveJuice
e20dee2850
Fix: Table overflow-wrap: anywhere breaks words on mobile ()
Closes 
2024-07-05 09:25:29 -07:00
Illia Pyshniak
e8277d017e
i18n: Update uk-UA.ts ()
Update the Ukrainian translation of Quartz according to the latest Ukrainian translation of Obsidian.
2024-06-30 21:11:21 -07:00
L01D
dbe12c0d34
i18n: Improving Spanish & adding Catalan and British English ()
* Create en-GB

* Rename en-GB to en-GB.ts

* Update es-ES.ts

* Update es-ES.ts

* Create ca-ES.ts

* Update es-ES.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update es-ES.ts
2024-06-30 21:03:45 -07:00
Seohyun Kim
21e75acc8d
fix: "draft" true or false in frontmatter still removes from publishing ()
* fix: draft bug 

* update: contents in folder before creating PR

* Update draft.ts
2024-06-30 20:59:08 -07:00
John Bowdre
3faf2ff6f5
feat(analytics): Cabin analytics support ()
* add cabin analytics

* fix formatting
2024-06-18 13:38:45 -07:00
Jacky Zhao
1d94e9c303 css: use fit-content (closes ) 2024-06-17 22:13:31 -07:00
Jacky Zhao
265faef4e8 fix: properly compute relative path for explorer (closes , ) 2024-06-17 21:43:32 -07:00
Jacky Zhao
541b470cfc fix: overflow fade for good (closes ) 2024-06-17 21:33:53 -07:00
Paul Trotter
42640bceb5
Check link isExternal before adding target="_blank" ()
Fixes  openLinksInNewTab opens ALL links in new tabs. Fixed to reflect documented behavior here: https://quartz.jzhao.xyz/plugins/CrawlLinks
2024-06-16 22:33:28 -07:00
Emile Bangma
3e14b2b89b
fix(wikilinks): pdf page linking () 2024-06-14 09:17:46 -07:00
Emile Bangma
81d00fc9c0
.callout-content support ()
* .callout-content support

* Use BlockContent | FootnoteContent for callout body

* Update quartz/plugins/transformers/ofm.ts

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>

* Refactor

* Combine child selectors

* Fix multiple callout members

* Empty check

* Replace splice

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-06-13 16:02:00 -07:00
Callum Barker
a12d76afdb
fix: fix explorer view gradient positioning on mobile (fixes ) () 2024-06-13 12:47:22 -07:00
Leo Lazou
0472daa003
homepage coloured as visited in the Graph ()
simplifies slug from FullSlug to SimpleSlug before storing it in the visited pages list in memory
this leads to "index" page and "folder/index", "tags/tag/index" being stored a "/", "folder/" and "tags/tag/" respectively in the list of visited pages.
this ensures that the homepage is rightfully coloured as a visited page in the "color" function of the graph
2024-06-12 09:39:49 -07:00
Leo Lazou
244801af65
idea: Tags appear as hollow circles on the graph ()
* Tags appear as hollow circles on the graph

Added a few lines to make tags appear as hollow circles on the graph, as opposed to pages which are plain circles, for better visual separation.

* Applied Prettier code style
2024-05-30 10:42:22 -07:00
Dinu Blanovschi
0b9f79e1b7
feat(graph): obsidianLikeFocusOnHover ()
* feat(graph): obsidianLikeFocusOnHover

* fix: prettier

* fix: remove option from config

* fix: for when opacityOld < 0.2

* fix: prettier
2024-05-29 12:53:23 -07:00
Alex Nordstrom
9ff4626d25
fix: change callout metadata regex to include non-letter characters ()
* fix: change callout metadata regex to include non-letter characters

* fix: make metadata regex non-greedy

This allows for users to have callouts such as
> [!NOTE|left foo-bar 123] a ]+ title with square brackets [s] a
> Contents
2024-05-29 12:48:39 -07:00
Alex Nordstrom
77d6d9623f
feat: add callout metadata parsing () 2024-05-28 15:23:28 -07:00
James Bennion-Pedley
9c726efa33
feat(i18n): homepage link for 404 pages ()
* Add homepage link with internationalization

* Construct pathname from baseUrl config value

* More robust URL manipulation

* Add Farsi ()

* Fix bad rebase
2024-05-22 16:44:54 -04:00
Yohann Bacha
81a4e20236
feat: ability to hide tags in the recent notes component ()
* feat: ability to hide tags in the recent notes component

* docs: recent notes custom parameters in a table

* docs: revert recent notes doc to bullet points

* fix: linter issues

* Update docs/features/recent notes.md

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-05-21 09:50:58 -07:00
Bartłomiej Garbiec
a97e72f219
i18n: add Polish translation ()
* Create pl-PL.ts

* add pl-PL to index.ts

* import pl-PL in index.ts
2024-05-20 12:36:32 -07:00
Eledah
3c4d54352d
feat(i18n): add Farsi ()
* Add fa-IR translation via upload

* Add files via upload

* Ran npm run format
2024-05-13 09:12:06 -07:00
John Bowdre
d03fdc235a
feat(analytics): Tinylytics support ()
* add tinylytics support

* fix formatting

* add trailing semicolon for consistency
2024-05-06 09:30:21 -07:00
Lucas-BRT
6a019dae13
fix: unnecessery 'm' letter removed in pt-BR () 2024-04-16 18:02:59 -07:00
kwyuan
1f032f538b
feat(analytics): PostHog support () 2024-04-08 18:43:09 -07:00
Emile Bangma
5ec61468d5
fix(wikilinks): proper escaping of pipe character in wikilinks inside tables () 2024-03-31 09:44:50 -07:00
Hydrophobefireman
aa4f5294a3
fix: do not render <p> inside FolderContent article ()
it can lead to nested <p>'s which is actually [invalid html](https://www.w3.org/TR/html401/struct/text.html#h-9.3.1:~:text=The%20P%20element%20represents%20a%20paragraph.%20It%20cannot%20contain%20block%2Dlevel%20elements%20(including%20P%20itself).)
2024-03-31 09:44:20 -07:00
Emile Bangma
d75928ad5c
fix(assets): pdf page linking support. ()
* github-slugger pdf workaround

* Skip sluggifying on pdf file extension

* Account for pdf files without anchor

* Address feedback
2024-03-24 16:23:25 -07:00
Jacky Zhao
0a2b52f618 simpler katex fix 2024-03-24 15:50:38 -07:00
Emile Bangma
8437d9da72
fix(style): LaTex/KaTeX overflow ()
* LaTex/KaTeX overflow fix

* prettier

* Add !important modifier

* Added overflow-x override

* Refactor without !important

* Refactor scss notation

* Formatting scss
2024-03-24 15:43:36 -07:00
Jorge Marcelo Risco
70d86ff096
i18n: pt-BR translation ()
* i18n: pt-br

* i18n: pt-br translation

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-03-24 09:40:01 -07:00
Kun-Szabó Kristóf
6efc4dd724
i18n: add Hungarian translations ()
* add Hungarian translations

* typo: _ instead of - in hu-HU

* run prettier

* revert prettier messing up tsconfig

* Update hu-HU.ts
2024-03-24 09:35:07 -07:00