Commit Graph

72 Commits

Author SHA1 Message Date
semanticdata
487cef7e64 fix colors, improve accessibility 2024-02-07 10:12:01 -06:00
semanticdata
2ba144ec89 formatting, adjust toc 2024-02-07 08:54:06 -06:00
semanticdata
a830c8a1ad Merge branch 'v4' of https://github.com/jackyzha0/quartz 2024-02-07 08:10:03 -06:00
Mara-Li
dbbc672c67
feat: Adding support for i18n (closes #462) (#738)
* fix: alt error mix with height/width

More granular detection of alt and resize in image

* fix: format

* feat: init i18n

* feat: add translation

* style: prettier for test

* fix: build-up the locale to fusion with dateLocale

* style: run prettier

* remove cursed file

* refactor: remove i18n library and use locale way instead

* format with prettier

* forgot to remove test

* prevent merging error

* format

* format

* fix: allow string for locale
- Check during translation if valid / existing locale
- Allow to use "en" and "en-US" for example
- Add fallback directly in the function
- Add default key in the function
- Add docstring to cfg.ts

* forgot item translation

* remove unused locale variable

* forgot to remove fr-FR testing

* format
2024-02-03 19:55:24 -08:00
Jacky Zhao
3fb3930df8 fix: calculate heading after latex (closes #719) 2024-02-03 19:44:24 -08:00
Jacky Zhao
1a8aedf5f5 docs: clarify git only sets modified 2024-01-07 15:39:38 -08:00
semanticdata
0223add0e6 Merge branch 'v4' of https://github.com/jackyzha0/quartz 2023-12-22 10:31:24 -06:00
Jacky Zhao
7bcf27241f fix: latex before syntax highlighting 2023-12-19 19:03:40 -08:00
Jacky Zhao
9b9d86474b fix: mermaid rendering fix from upstream 2023-12-19 11:01:55 -08:00
Jacky Zhao
443cd53a1a fix: mermaid rendering broken after rehype-pretty-code bump (closes #638) 2023-12-18 23:09:49 -08:00
semanticdata
1916312eeb fix frontmatter updated date 2023-12-15 10:29:12 -06:00
semanticdata
7fa23d3541 updated config 2023-12-15 10:21:15 -06:00
semanticdata
de5e4c463a theme shuffle 2023-12-14 20:40:24 -06:00
semanticdata
ceed442833 transition colors 2023-12-11 18:08:52 -06:00
semanticdata
b305fcbfaa adjust layout, moves desktop backlinks, add toc 2023-11-23 14:06:38 -06:00
semanticdata
d8badc00bb new fonts, adjust layout 2023-11-22 22:27:33 -06:00
semanticdata
869ab8a56a adjust layout, toc, backlinks 2023-11-06 15:00:41 -06:00
semanticdata
c93b586f8d update 2023-11-01 18:35:49 -05:00
semanticdata
1d2b09ba7b add , {passive: true} to document.addEventListener 2023-10-30 13:15:31 -05:00
semanticdata
f83bf69898 disable katex, change text color in light mode 2023-10-30 13:02:47 -05:00
semanticdata
2bc7f0b061 Quartz sync: Oct 19, 2023, 5:59 PM 2023-10-19 17:59:52 -05:00
semanticdata
581646883d rem recent notes section, impacted style 2023-09-30 08:18:24 -05:00
semanticdata
1d6e011738 trying new theme from Discord server 2023-09-29 21:11:22 -05:00
Miguel Pimentel
2569875624
Update quartz.config.ts 2023-09-22 21:33:38 -05:00
Miguel Pimentel
422b80f6f7
Update quartz.config.ts 2023-09-22 11:38:17 -05:00
semanticdata
195cb9da28 new baseUrl, general update 2023-09-21 19:16:15 -05:00
semanticdata
e32b5f5a11 rgb to hex colors 2023-09-21 17:49:02 -05:00
Jacky Zhao
6a9e6352e8 Revert "feat: Making Quartz available offline by making it a PWA (#465)"
This reverts commit d6301fae90.
2023-09-20 13:52:45 -07:00
Adam Brangenberg
d6301fae90
feat: Making Quartz available offline by making it a PWA (#465)
* Adding PWA and chaching for offline aviability

* renamed workbox config to fit Quartz' scheme

* Documenting new configuration

* Added missig umami documentation

* Fixed formatting so the build passes, thank you prettier :)

* specified caching strategies to improve performance

* formatting...

* fixing "404 manifest.json not found" on subdirectories by adding a / to manifestpath

* turning it into a plugin

* Removed Workbox-cli and updated @types/node

* Added Serviceworkercode to offline.ts

* formatting

* Removing workbox from docs

* applied suggestions

* Removed path.join for sw path

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

* Removed path.join for manifest path

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

* Removing path module import

* Added absolute path to manifests start_url and manifest "import" using baseUrl

* Adding protocol to baseurl

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

* Adding protocol to start_url too then

* formatting...

* Adding fallback page

* Documenting offline plugin

* formatting...

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* merge suggestion

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

* formatting...

* Fixing manifest path, all these nits hiding the actual issues .-.

* Offline fallback page through plugins, most things taken from 404 Plugin

* adding Offline Plugin to config

* formatting...

* Turned offline off as default and removed offline.md

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-20 11:38:13 -07:00
semanticdata
76c4c98fca initial commit after fork 2023-09-19 10:47:25 -05:00
Jacky Zhao
9ae6343dd0 Revert "fix: use git dates by default, @napi/git is fast enough"
This reverts commit 5dcb7e83fc.
2023-09-15 10:33:38 -07:00
Jacky Zhao
5dcb7e83fc fix: use git dates by default, @napi/git is fast enough 2023-09-15 09:46:06 -07:00
Jacky Zhao
8d6029b7b8 feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Ben Schlegel
340e3ef511
feat(consistency): Add .obsidian to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Jacky Zhao
c36a9f3fb7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao
0ef1b5b522 update plausible url 2023-08-20 00:54:13 -07:00
Jacky Zhao
736c3981c4 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao
d7842e0ce7 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao
c8c108c7f7 change default strategy to be rebase 2023-08-01 23:29:58 -07:00
Jacky Zhao
cc79502670 make layouts simpler to think about 2023-07-25 23:37:24 -07:00
Jacky Zhao
c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao
4811500b1b make component resources a proper emitter 2023-07-23 18:20:43 -07:00
Jacky Zhao
8fd75ffbfd support attachments folder 2023-07-23 17:42:00 -07:00
Jacky Zhao
9e83af04a7 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao
7db2eda76c run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao
906f91f8ee base path refactor, more docs 2023-07-13 00:19:35 -07:00
Jacky Zhao
08f8e3b4a4 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao
b90590b9f4 polish 2023-07-08 14:36:02 -07:00
Jacky Zhao
38cff2d670 more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao
ab9da02c60 fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00