Aster Hu
916aedce40
docs: Add Aster's notebook to showcase.md ( #912 )
2024-02-21 19:04:36 -08:00
kon-foo
7dd596ebce
docs: Fix in explorer.md ( #911 )
2024-02-21 08:18:44 -08:00
kon-foo
3e09b05468
docs: add self-hosting section ( #883 )
...
* Add Self-Hosting section
Add Nginx section
* run prettier
2024-02-19 12:50:40 -05:00
s-crypt
739c2e2cc8
perf(cdn): CDNJS instead of JSDelivr ( #891 )
2024-02-18 20:26:04 -08:00
David Fischer
6c8023463d
Add support for image popovers ( #854 )
...
* feat(popover): Add support for images
* fix: run prettier
* feat(popover): use switch logic for content types & adjust styles
* feat(popover): Add content type data tag for popover-inner class
2024-02-14 15:41:13 -05:00
Aaron Bull Schaefer
2041341d9f
docs: workaround for shallow clones on Cloudflare Pages ( #868 )
...
Rather than recommend a different hosting provider, Cloudflare Pages
users that prioritize the `git` method for their `CreatedModifiedDate`
configuration can preface the build command with a means of fetching the
required repository history.
See:
- https://gohugo.io/methods/page/gitinfo/#hosting-considerations
2024-02-14 09:41:44 -08:00
bfahrenfort
3d19660b11
Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4
2024-02-13 20:14:54 -06:00
Silviu Lorenț
af5f5abad4
docs: add documentation for Umami analytics integration ( #846 )
2024-02-11 10:51:10 -08:00
Aaron Pham
330e322e48
feat(fonts): fetch before build ( #817 )
...
* feat: fetch google fonts before build
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Update quartz/plugins/emitters/componentResources.ts
* fix: fetching wolff2
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: remove request stylesheet
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix: race condition
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: remove preconnect for static fonts
since we are already downloading fonts into public folder
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: remove deadcode
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: add options to gate for cdn caching
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* chore: apply jacky's suggestion
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* chore: add docs and only use one promise
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix: fmt
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: remove deadcode
* chore: final touches
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* revert: changes in theme.ts
* fix: styles and remove deadcode
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-08 02:52:55 -05:00
Jacky Zhao
36e4cc41a9
chore(i18n): refactor and cleanup ( #805 )
...
* checkpoint
* finish
* docs
2024-02-04 20:57:10 -08:00
bfahrenfort
0e0b769f05
Merge branch 'v4' of github-bfahrenfort:jackyzha0/quartz into v4
2024-02-02 11:15:54 -06:00
Jacky Zhao
c00089bd57
chore: add window.addCleanup() for cleaning up handlers
2024-02-01 21:19:51 -08:00
Justin Fowler
8a6ebd1939
docs: clarity for RecentNotes ( #786 )
...
- Removed a word for clarity
- added reference to layout file
2024-02-01 23:17:21 -05:00
Jacky Zhao
7cb1c291c8
fix: allow formatting in callout titles
2024-01-31 11:41:27 -08:00
LUCASTUCIOUS
072ee64127
feat: Feature/custom callout icon ( #727 )
...
* Add icons as masks
To handle a simple way to add custom icons, i made it pure css. Icon are now a mask for the callout-icon div, so they always follow the --color form the current callout.
Now to add a custom icon, you simply add
```css
.callout {
&[data-callout="custom"] {
--color: #customcolor;
--border: #custombordercolor;
--bg: #custombg;
--callout-icon: url('data:image/svg+xml; utf8, <custom formatted svg>');
}
```
to custom.scss
* remove now unused code
* Make callouts an enum
* docs: update instructions for custom callouts
* Prettier & run format
* dynamic matching
For maintainability, make dynamic mathching. If we or Obsidian want to support more callouts, we simply add it to the enum
* callout mapping const
Getting ride of the enum entierly as it's not worth here?
* fix callout icon styling
* Add forgotten icons
* Rebase
* harmonize callout icon and fold icon
* fix docs + prettier
* Update docs/features/callouts.md
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Update quartz/plugins/transformers/ofm.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Suggestions fix
* remove unecessary rules
* comment is always nice
* Update docs/features/callouts.md
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-01-30 22:10:13 -08:00
Jacky Zhao
bf5a556cc1
docs: improve first-time git setup
2024-01-28 00:20:08 -08:00
Jacky Zhao
af3a4ff9cd
docs: i can't type
2024-01-26 20:23:43 -08:00
Jacky Zhao
448ba008e0
docs: fix phrasing
2024-01-26 20:16:54 -08:00
Jacky Zhao
b87c6cd5c7
docs: add nicole van der hoeven's setup guide
2024-01-26 10:55:59 -08:00
Jacky Zhao
a8e1c4abc2
docs: rearrange showcase
2024-01-25 22:22:07 -08:00
kabirgh
0a76707062
feat: Emit custom event when theme changes ( #723 )
...
* Emit custom event when theme changes
* Type themechange custom event
* Update darkmode docs
2024-01-23 14:52:41 -08:00
Jacky Zhao
015b4f6a15
fix: remove quartz 3 references, update font style in popovers
2024-01-21 12:39:20 -08:00
Aaron Pham
4d338cec13
feat(ofm): add options to parse arrows ( #713 )
...
* feat(ofm): add options to parse arrows
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* feat(ofm): add options to parse arrows
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-01-21 11:33:32 -08:00
kabirgh
ce3dd0923b
refactor: move emit from callback to helper file function ( #704 )
...
* Change emit from callback to helpers file function
* Update docs, remove commented code, improve type sig
2024-01-18 10:56:14 -08:00
Jacky Zhao
4e82b0d8ce
docs: add sidneys artist handbook to showcase
2024-01-13 09:37:24 -08:00
ikorihn
0a8c38dc21
fix: small typos ( #686 )
2024-01-13 09:09:41 -08:00
Aaron Pham
a4d6f701bf
fix(showcase): markdown link ( #673 )
2024-01-07 11:47:53 -08:00
Aaron Pham
60017164ad
chore: add my garden 😃 ( #672 )
2024-01-07 11:35:52 -08:00
jeff
88194ac348
feat: allow embedding youtube videos with the obsidian markdown syntax ( #665 )
...
* Add option to allow embedding YouTube videos with Obsidian Markdown syntax
* Update Obsidian compatability doc page
* Switch to converting YT links as an html plugin
2024-01-02 10:49:14 -08:00
Sidney
e1b6a0014c
docs: add explorer example for advanced sortFn ( #564 )
...
* Added doc example to explorer sortFn
* Prettier fixed formatting
* Let Prettier fix the formatting of the entire markdown file
* Updated example
* Added extra commentary and fixed example
* Update docs/features/explorer.md
* doc fixes
* docs: remove leftover TODO
* docs: move example to `advanced`
---------
Co-authored-by: Sidney <85735034+Epicrex@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
Co-authored-by: Ben Schlegel <ben5.schlegel@gmail.com>
2023-12-28 12:04:15 +01:00
migueltorrescosta
be76da9e95
docs: Add CollapsedWave to showcase.md ( #643 )
...
Thank you so much for a beautiful setup
2023-12-20 12:09:48 -08:00
Jacky Zhao
ad1f964a5f
docs: graph view tag options
2023-12-17 13:19:03 -08:00
Jacky Zhao
150050f379
docs: agentic computing in quartz philosophy
2023-12-17 13:01:44 -08:00
Jacky Zhao
14e6b13ff1
docs: dont pull on first sync
2023-12-17 09:57:46 -08:00
Jacky Zhao
3c01b92cc4
docs: note embeds and update git hint
2023-12-16 11:04:18 -08:00
Jacky Zhao
ed9bd43d9f
docs: update showcase
2023-12-15 12:18:29 -08:00
Jacky Zhao
c35818c336
fix: set upstream in sync handler, cleanup docs around setting up github
2023-12-14 16:48:09 -08:00
Jacky Zhao
5196f3b9db
docs: github setup and hosting fixes
2023-12-03 23:25:40 -08:00
mancuoj
649090de1b
docs: add deploy with netlify ( #613 )
2023-12-01 22:59:02 -08:00
Odaimoko
660aae62e0
docs: add Imk&Cc's homepage to showcase.md ( #595 )
...
* add Imk&Cc's homepage to showcase.md
* Update showcase.md
* Update showcase.md
2023-11-27 23:05:18 -08:00
Rune Antonsen
9a599aebea
feat(breadcrumbs): add option to hide current page ( #601 )
...
* feat(breadcrumbs): add option to hide current page
* Remove debug lines
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Co-authored-by: ruant <ruant@ruant.net>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-11-20 08:28:16 -08:00
Jacky Zhao
43d638a6de
perf: compute mapping of folder name to file data for faster breadcrumbs
2023-11-11 21:06:37 -08:00
Jacky Zhao
134b6ed582
fix: anchors links shouldnt cause reload ( closes #574 )
2023-11-11 10:11:31 -08:00
Niklas Schröder
2a6b9a9ea0
docs: fix property name for ToC toggle ( #573 )
2023-11-07 09:16:48 -08:00
Mau Camargo
e806c30fa1
docs: Add Mau Camargo's Notkesto to showcase ( #570 )
2023-11-05 11:30:10 -08:00
Anson Yu
aac7b7e97d
docs: Update making plugins.md ( #567 )
...
:)
2023-11-04 14:20:16 -07:00
Jacky Zhao
101e9946bd
feat: add collapseByDefault option to TableOfContents ( closes #566 )
2023-11-04 12:11:42 -07:00
Emil Rofors
a62a97c7ab
docs: add GitLab pages CI ( #549 )
...
* add .gitlab-ci.yml
* move GitLab CI to hosting.md
* remove extra folder name
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* remove test from gitlab instructions
* run prettier
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-11-03 16:40:43 -07:00
Emil Rofors
18f3be91c7
docs: add GitLab pages CI ( #549 )
...
* add .gitlab-ci.yml
* move GitLab CI to hosting.md
* remove extra folder name
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* remove test from gitlab instructions
* run prettier
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-11-03 16:40:43 -07:00
Florence
05a1c34c6f
docs: remove dead link ( #561 )
2023-11-01 09:57:32 -07:00
Florence
d5ee2d2e51
docs: remove dead link ( #561 )
2023-11-01 09:57:32 -07:00
Blue Rose
06ccb89cd7
docs: clarifications about globs ( #559 )
...
* Add note about fast-glob
* Add warning about non-markdown files
Also added a glob pattern to filter out all non-markdown files outside of a specified folder.
* run npm format
---------
Co-authored-by: wych <wychwitchcraft@gmail.com>
2023-10-31 13:53:49 -07:00
Blue Rose
638c43c961
docs: clarifications about globs ( #559 )
...
* Add note about fast-glob
* Add warning about non-markdown files
Also added a glob pattern to filter out all non-markdown files outside of a specified folder.
* run npm format
---------
Co-authored-by: wych <wychwitchcraft@gmail.com>
2023-10-31 13:53:49 -07:00
Jacky Zhao
60b3bc34cb
fix: catch html to jsx errors ( closes #547 )
2023-10-21 21:06:02 -07:00
Jacky Zhao
8044098c70
fix: catch html to jsx errors ( closes #547 )
2023-10-21 21:06:02 -07:00
freenandes
54e722a55d
docs: Update showcase.md ( #540 )
...
changed URL
2023-10-17 19:43:41 -07:00
freenandes
019051c4ab
docs: Update showcase.md ( #540 )
...
changed URL
2023-10-17 19:43:41 -07:00
Thomas
86d16b12a2
docs(explorer): Fixed small typo with extra } in explorer.md ( #541 )
2023-10-17 19:43:20 -07:00
Thomas
49c5629a5e
docs(explorer): Fixed small typo with extra } in explorer.md ( #541 )
2023-10-17 19:43:20 -07:00
freenandes
ed971800c0
Update showcase.md ( #539 )
2023-10-17 08:58:28 -07:00
freenandes
21fcf2cc4b
Update showcase.md ( #539 )
2023-10-17 08:58:28 -07:00
Jacky Zhao
da0a062c05
feat: docker support for v4 ( closes #530 )
2023-10-08 09:59:18 -07:00
Jacky Zhao
fe78fdc940
feat: docker support for v4 ( closes #530 )
2023-10-08 09:59:18 -07:00
Jacky Zhao
cf0c090e3c
specify minimum npm version
2023-10-04 09:23:56 -07:00
Jacky Zhao
dcbd1019c1
specify minimum npm version
2023-10-04 09:23:56 -07:00
Hrishikesh Barman
2f99339dcf
feat: add transformations for latex in oxhugofm ( #510 )
...
ox-hugo currently supports the following syntax for latex equations:
- https://orgmode.org/manual/LaTeX-fragments.html
- https://ox-hugo.scripter.co/doc/equations
This syntax is supported by mathjax as is mentioned in the ox-hugo documentation.
But quartz uses remark-math which has some issues with the \( \) syntax.
See https://github.com/remarkjs/remark-math/issues/39
This change adds few more transformations to the OxHugoFlavouredMarkdown
plugin, which makes a best effort conversion of this syntax into what
the Quartz Latex transformer plugin supports.
With these changes, the generated files show latex formatting with
default quartz configuration.
Sidenote on `\_` escape by ox-hugo:
ox-hugo escapes, _ using \_, we match against it after we transform
equations into what quartz supports($$ and $).
This could be achieved using lookaround like regex as follows
```js
(?<=(\$|\$\$)[\s\S]*) -> Positive lookbehind for $ or $$
\\_ -> Matches \_
(?=[\s\S]*(?:\1)) Positive lookahead for $ or $$ if matched
const escapedUnderscoreRegex = new RegExp(/(?<=(\$|\$\$)[\s\S]*)\\_(?=[\s\S]*(?:\1))/, "g")
````
But since lookahead/behind can slow things down on large files, we just
look up all equations with $ and $$ delimiters and then try replacing \_
2023-09-29 11:35:26 -07:00
Hrishikesh Barman
6a65047eee
feat: add transformations for latex in oxhugofm ( #510 )
...
ox-hugo currently supports the following syntax for latex equations:
- https://orgmode.org/manual/LaTeX-fragments.html
- https://ox-hugo.scripter.co/doc/equations
This syntax is supported by mathjax as is mentioned in the ox-hugo documentation.
But quartz uses remark-math which has some issues with the \( \) syntax.
See https://github.com/remarkjs/remark-math/issues/39
This change adds few more transformations to the OxHugoFlavouredMarkdown
plugin, which makes a best effort conversion of this syntax into what
the Quartz Latex transformer plugin supports.
With these changes, the generated files show latex formatting with
default quartz configuration.
Sidenote on `\_` escape by ox-hugo:
ox-hugo escapes, _ using \_, we match against it after we transform
equations into what quartz supports($$ and $).
This could be achieved using lookaround like regex as follows
```js
(?<=(\$|\$\$)[\s\S]*) -> Positive lookbehind for $ or $$
\\_ -> Matches \_
(?=[\s\S]*(?:\1)) Positive lookahead for $ or $$ if matched
const escapedUnderscoreRegex = new RegExp(/(?<=(\$|\$\$)[\s\S]*)\\_(?=[\s\S]*(?:\1))/, "g")
````
But since lookahead/behind can slow things down on large files, we just
look up all equations with $ and $$ delimiters and then try replacing \_
2023-09-29 11:35:26 -07:00
Catchears
0138085c16
docs: fix typo in breadcrumbs documentation ( #513 )
2023-09-29 08:19:10 -07:00
Catchears
1c08a8fc20
docs: fix typo in breadcrumbs documentation ( #513 )
2023-09-29 08:19:10 -07:00
Ben Schlegel
0b61f6fbfd
feat: implement breadcrumb component ( #508 )
...
* feat: implement breadcrumbs
* style: fix styling, move breadcrumbs to top
* refactor: move `capitalize to `lang.ts``
* refactor: clean breadcrumb generation
* feat: add options to breadcrumbs
* feat: implement `resolveFrontmatterTitle`
* feat: add `hideOnRoot` option
* feat(consistency): capitalize every crumb
* style: add `flex-wrap` to parent container
* refactor: clean `Breadcrumbs.tsx`
* feat(accessibility): use `nav`, add aria label
* style: improve look in popovers by adding margin
* docs: write docs for breadcrumb component
* refactor: collapse `if` condition for hideOnRoot
* chore: add todo for perf optimization
* docs: update introduction
2023-09-29 10:26:15 +02:00
Ben Schlegel
4b36fc57ea
feat: implement breadcrumb component ( #508 )
...
* feat: implement breadcrumbs
* style: fix styling, move breadcrumbs to top
* refactor: move `capitalize to `lang.ts``
* refactor: clean breadcrumb generation
* feat: add options to breadcrumbs
* feat: implement `resolveFrontmatterTitle`
* feat: add `hideOnRoot` option
* feat(consistency): capitalize every crumb
* style: add `flex-wrap` to parent container
* refactor: clean `Breadcrumbs.tsx`
* feat(accessibility): use `nav`, add aria label
* style: improve look in popovers by adding margin
* docs: write docs for breadcrumb component
* refactor: collapse `if` condition for hideOnRoot
* chore: add todo for perf optimization
* docs: update introduction
2023-09-29 10:26:15 +02:00
Ben Schlegel
d4c122646c
fix(explorer): default sortFn implementation ( #511 )
...
* fix: use `numeric` + `base` for localeCompare
* docs(explorer): update default sortFn
2023-09-28 08:39:44 -07:00
Ben Schlegel
516a84d256
fix(explorer): default sortFn implementation ( #511 )
...
* fix: use `numeric` + `base` for localeCompare
* docs(explorer): update default sortFn
2023-09-28 08:39:44 -07:00
Chad Lee
95eec5b49d
add site to showcase ( #504 )
2023-09-24 10:27:42 -07:00
Chad Lee
e0ddd41bd5
add site to showcase ( #504 )
2023-09-24 10:27:42 -07:00
Vince Imbat
c5b9137f12
docs: Adds Vince Imbat to showcase ( #501 )
2023-09-22 19:39:02 -07:00
Vince Imbat
e2dff3404d
docs: Adds Vince Imbat to showcase ( #501 )
2023-09-22 19:39:02 -07:00
Ben Schlegel
d93599364a
docs(showcase): fix pull request redirect link ( #500 )
2023-09-22 08:20:19 -07:00
Ben Schlegel
07ca6005ce
docs(showcase): fix pull request redirect link ( #500 )
2023-09-22 08:20:19 -07:00
Ben Schlegel
fa69c2a565
fix(explorer): increase consistency, explicitly use font-family ( #496 )
...
* fix(explorer): display name for folders without `index` file
* docs(explorer): add section for folder display names
* docs(explorer): fix broken wikilink
* fix(consistency): explicitly set font + label/link fix
Use consistent styling between folders with `folderClickBehavior: "link"` and `"collapse`
* Update quartz/components/styles/explorer.scss
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Update quartz/components/styles/explorer.scss
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-21 19:35:11 +02:00
Ben Schlegel
03aa199793
fix(explorer): increase consistency, explicitly use font-family ( #496 )
...
* fix(explorer): display name for folders without `index` file
* docs(explorer): add section for folder display names
* docs(explorer): fix broken wikilink
* fix(consistency): explicitly set font + label/link fix
Use consistent styling between folders with `folderClickBehavior: "link"` and `"collapse`
* Update quartz/components/styles/explorer.scss
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Update quartz/components/styles/explorer.scss
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-21 19:35:11 +02:00
Ben Schlegel
8eb1554b13
fix(explorer): display names for folders without frontmatter ( #494 )
...
* fix(explorer): display name for folders without `index` file
* docs(explorer): add section for folder display names
2023-09-21 18:54:33 +02:00
Ben Schlegel
f380d1d500
fix(explorer): display names for folders without frontmatter ( #494 )
...
* fix(explorer): display name for folders without `index` file
* docs(explorer): add section for folder display names
2023-09-21 18:54:33 +02:00
Ben Schlegel
dcdeae4e7b
docs(explorer): update default config + new example ( #493 )
2023-09-21 18:53:19 +02:00
Ben Schlegel
3a2763229c
docs(explorer): update default config + new example ( #493 )
2023-09-21 18:53:19 +02:00
Jacky Zhao
16d33fb771
feat: display name for folders, expand explorer a little bit ( #489 )
...
* feat: display name for folders, expand explorer a little bit
* update docs
2023-09-20 16:08:54 -07:00
Jacky Zhao
dbd242767a
feat: display name for folders, expand explorer a little bit ( #489 )
...
* feat: display name for folders, expand explorer a little bit
* update docs
2023-09-20 16:08:54 -07: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
Jacky Zhao
38ce96cc6e
Revert "feat: Making Quartz available offline by making it a PWA ( #465 )"
...
This reverts commit d3fa6f8598 .
2023-09-20 13:52:45 -07:00
Jacky Zhao
70e029d151
Revert "docs: wording changes for offline support"
...
This reverts commit 52a172d1a4 .
2023-09-20 13:52:29 -07:00
Jacky Zhao
b679d4101f
Revert "docs: wording changes for offline support"
...
This reverts commit 09c5d42fa9 .
2023-09-20 13:52:29 -07:00
Jacky Zhao
0bad3ce799
docs: document enableToc
2023-09-20 11:58:52 -07:00
Jacky Zhao
8351ce7bfa
docs: document enableToc
2023-09-20 11:58:52 -07:00
Jacky Zhao
52a172d1a4
docs: wording changes for offline support
2023-09-20 11:40:36 -07:00
Jacky Zhao
09c5d42fa9
docs: wording changes for offline support
2023-09-20 11:40:36 -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
Adam Brangenberg
d3fa6f8598
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
Ben Schlegel
0d3cf29226
docs: fix explorer example ( #483 )
2023-09-18 14:32:00 -07:00
Ben Schlegel
3c9c7e8546
docs: fix explorer example ( #483 )
2023-09-18 14:32:00 -07:00
Ben Schlegel
4afb099bf3
docs: fix examples
2023-09-17 21:32:23 +02:00