Danny van Tol
46b63b68bf
fix: Link visibility in exampanded TOC while collapseByDefault is true ( #1371 )
2024-08-24 12:56:17 -07:00
Andrew
c4cd84dcc8
fix: Add a wrapper element to dates in PageList. ( #1345 )
...
* Add a wrapper span to dates in PageList.
This means there is a placeholder when date is not specified, so the values in grid-template-columns always line up correctly.
* Use a <div> instead -- better practice to stick to block elements.
2024-08-24 10:13:55 -07:00
Andrew
d27c292736
feat: Mark the external link icon as aria-hidden ( #1346 )
2024-08-12 20:06:19 -07:00
Andrew
3b5ed813f5
feat(search): keyboard-accessible search button ( #1331 )
...
* Use a `<button>` for search
* Fix search button styles to match preexisting styling
* Remove additional native button properties.
* Invoke search button on click or keyboard.
* Reorganize search button DOM hierarchy
* Restore focus to the search button when exiting the search overlay
* Run prettier on Search.tsx
2024-08-09 18:46:50 -07:00
Jacky Zhao
195fc5134c
fix: pass buildId to worker
2024-08-08 19:33:27 -07:00
Jacky Zhao
e89c395f7c
fix: unmemoize explorer on rebuild ( closes #1077 )
2024-08-08 19:17:20 -07:00
Jacky Zhao
39eebca3cf
chore: ts fixes
2024-08-08 18:28:13 -07:00
Jacky Zhao
9acaa1c8ac
feat: custom global latex macros ( closes #1325 )
2024-08-08 18:19:45 -07:00
Andrew
27a41abb62
feat(toc,explorer): add accessibility for toggle ( #1327 )
...
* Restore focus highlight on explorer toggle button.
Remove `unset: all` declaration causing `outline`
property to be unset. This allows the default
browser focus highlight to be shown.
* Fix semantics of expandable sections (explorer, toc).
This adds the appropriate aria attributes for the [disclosure pattern](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-image-description/#javascriptandcsssourcecode ) and uses `visibility: hidden` to remove the hidden elements from the focus order without disrupting the animations. Further work is needed on the tree view nodes.
* Run prettier for SCSS files.
2024-08-08 18:07:47 -07:00
Jacky Zhao
3938904cd0
fix: embed pdf aspect ratio ( closes #1310 )
2024-08-05 19:31:54 -07:00
Jacky Zhao
407fad384c
fix: only one h1 on a page ( closes #1269 )
2024-08-05 19:18:48 -07:00
Jacky Zhao
ca3943b500
fix: responsive youtube embed ( closes #1167 )
2024-08-05 19:14:14 -07:00
dependabot[bot]
f3e07fd51c
chore(deps-dev): bump prettier from 3.3.2 to 3.3.3 ( #1293 )
...
* 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 ( #1308 )
...
* 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
Jacky Zhao
6264f5685c
fix: comments on spa should work ( closes #1296 ) ( #1298 )
...
* 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. ( #1274 )
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 ( #1250 )
2024-07-09 17:42:33 -07:00
Alex Nordstrom
c95f1d2336
feat: add alias/metadata to transclude tag ( #1229 )
2024-07-09 17:26:32 -07:00
Peter
b7793bd856
feat(style): Add textHighlight theme setting ( #1242 )
...
* 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 ( #1252 )
...
- [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 ( #1259 )
...
Closes #1258
2024-07-05 09:25:29 -07:00
Illia Pyshniak
e8277d017e
i18n: Update uk-UA.ts ( #1245 )
...
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 ( #1240 )
...
* 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 #1244 ( #1249 )
...
* fix: draft bug #1244
* 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 ( #1221 )
...
* add cabin analytics
* fix formatting
2024-06-18 13:38:45 -07:00
Jacky Zhao
1d94e9c303
css: use fit-content ( closes #1194 )
2024-06-17 22:13:31 -07:00
Jacky Zhao
265faef4e8
fix: properly compute relative path for explorer ( closes #1055 , #1066 )
2024-06-17 21:43:32 -07:00
Jacky Zhao
541b470cfc
fix: overflow fade for good ( closes #1218 )
2024-06-17 21:33:53 -07:00
Paul Trotter
42640bceb5
Check link isExternal before adding target="_blank" ( #1211 )
...
Fixes #1186 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 ( #1207 )
2024-06-14 09:17:46 -07:00
Emile Bangma
81d00fc9c0
.callout-content support ( #1188 )
...
* .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 #906 ) ( #1206 )
2024-06-13 12:47:22 -07:00
Leo Lazou
0472daa003
homepage coloured as visited in the Graph ( #1128 )
...
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 ( #1129 )
...
* 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 ( #1017 )
...
* 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 ( #1174 )
...
* 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 ( #1172 )
2024-05-28 15:23:28 -07:00
James Bennion-Pedley
9c726efa33
feat(i18n): homepage link for 404 pages ( #1117 )
...
* Add homepage link with internationalization
* Construct pathname from baseUrl config value
* More robust URL manipulation
* Add Farsi (#1133 )
* Fix bad rebase
2024-05-22 16:44:54 -04:00
Yohann Bacha
81a4e20236
feat: ability to hide tags in the recent notes component ( #1147 )
...
* 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 ( #1148 )
...
* 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 ( #1133 )
...
* 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 ( #1118 )
...
* 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 ( #1100 )
2024-04-16 18:02:59 -07:00
kwyuan
1f032f538b
feat(analytics): PostHog support ( #1072 )
2024-04-08 18:43:09 -07:00
Emile Bangma
5ec61468d5
fix(wikilinks): proper escaping of pipe character in wikilinks inside tables ( #1040 )
2024-03-31 09:44:50 -07:00