Commit Graph

103 Commits

Author SHA1 Message Date
Olivér Falvai
68f53352e7
feat: Self-hosted Plausible support (#656)
* Self-hosted Plausible support

* Remove leftover import
2023-12-28 08:49:35 -08:00
Jacky Zhao
2e9896c893 fix: deep clone before relativizing urls in transclude (closes #640) 2023-12-20 09:52:17 -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
Jacky Zhao
5152d32fbd pkg: bump version to 4.1.3 2023-12-18 09:50:14 -08:00
Jacky Zhao
ea6208c1f0
deps: bump everything (closes #635) (#636)
* deps: bump ws

* deps: bump lightningcss

* deps: workerpool

* deps: various types

* deps: chalk

* deps: globby

* deps: preact

* deps: tsx

* deps: @floating-ui/dom

* deps: esbuild

* deps: types + prettier

* deps: rimraf, typescript

* deps: remark/rehype/unified ecosystem

* format
2023-12-18 09:48:40 -08:00
Jacky Zhao
0d8c025d6a deps: version bump 2023-12-02 17:00:06 -08: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
Jacky Zhao
cce389c81d
feat: note transclusion (#475)
* basic transclude

* feat: note transclusion
2023-09-13 11:28:53 -07:00
Oskar Manhart
4e23e67244
feat: plugin for remark-breaks (#467)
* feat: plugin for remark-breaks

* fix: update package-lock.json

* fix: styling

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

* Update linebreaks.ts

* Update index.ts

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-09-10 23:11:42 -07:00
Ben Schlegel
4b89202f7e
cleanup: rework cli to allow invoking create and build outside of cli (#428)
* refactor: move `bootstrap-cli.mjs` tp cli

also update reference in docs

* refactor(cli): move build handler to `cli-functions`

* refactor(cli): move create to handler + helpers

* refactor(cli): extract arg definitions

* refactor: rename handlers and helpers

* refactor(cli): move update, await handlers

* refactor(cli): create constants, migrate to helpers

* refactor(cli): migrate `restore`

* refactor(cli): migrate `sync`

* format

* refactor(cli): remove old imports/functions

* refactor(cli): remove unused imports + format

* chore: remove old log statement

* fix: fix imports, clean duplicate code

* fix: relative import

* fix: simplified cacheFile path

* fix: update cacheFile import path

* refactor: move bootstrap-cli to quartz

* format

* revert: revert path to bootstrap-cli

* ci: re-run

* ci: fix  execution permission
2023-08-27 15:59:51 -07:00
Jacky Zhao
74c3ebb7bd style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
Hrishikesh Barman
5c6d1e27ba
feat(plugins): add toml support for frontmatter (#418)
* feat(plugins): add toml support for frontmatter

Currently frontmatter is expected to be yaml, with delimiter set to
"---". This might not always be the case, for example ox-hugo(a hugo
exporter for org-mode files) exports in toml format with the delimiter
set to "+++" by default.

With this change, the users will be able use frontmatter plugin to
support this toml frontmatter format.

Example usage: `Plugin.FrontMatter({delims: "+++", language: 'toml'})`

- [0] https://ox-hugo.scripter.co/doc/org-meta-data-to-hugo-front-matter/

* fixup! feat(plugins): add toml support for frontmatter
2023-08-25 10:25:46 -07:00
Jacky Zhao
9851697b58 version bump to 4.0.10 2023-08-24 09:05:19 -07:00
Jacky Zhao
3209f7c3b7 deps: native addons for lightningcss 2023-08-23 09:19:00 -07:00
Jacky Zhao
cde1e26129 deps: install exact 2023-08-23 09:16:44 -07:00
Jacky Zhao
1128efcf23 deps: esbuild and esbuild-sass-plugin 2023-08-23 09:10:30 -07:00
Jacky Zhao
3064839c2d version bump to 4.0.9 2023-08-22 23:37:02 -07:00
Jacky Zhao
e65ea48fae fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao
5adf3c67a8 add engines field 2023-08-20 08:57:56 -07:00
Jacky Zhao
7b8017413c impl baseDir option for quartz build --serve for local testing 2023-08-19 18:04:17 -07:00
Jacky Zhao
2f6747b166 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Jacky Zhao
a0d651d64d reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao
c402f0c385 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao
21a7ec2307 bump mathjax version 2023-08-03 23:36:00 -07:00
Jacky Zhao
a70e846b0a flag to allow ofm replace in html embed 2023-08-01 22:47:16 -07:00
Jacky Zhao
c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao
236ba56be1 version bump, update doc 2023-07-23 17:59:44 -07:00
Jacky Zhao
2034b970b6 configure prettier 2023-07-22 17:26:03 -07:00
Jacky Zhao
8dd73704e6 hot content reload 2023-07-22 16:06:36 -07:00
Jacky Zhao
3ac6b42e16 finish path refactoring, add sourcemap + better trace support 2023-07-15 23:02:12 -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
9cbacca2d4 handle dates as tags 2023-07-06 18:45:38 -07:00
Jacky Zhao
465804a389 basic docs, remove publish, add quartz create 2023-07-05 00:16:06 -07:00
Jacky Zhao
fe2852ff25 update package 2023-07-04 18:08:36 -07:00
Jacky Zhao
ab9da02c60 fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao
4c904d88ab rss + sitemap 2023-07-01 13:35:27 -07:00
Jacky Zhao
fd5c8d17d3 basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao
c4cf0dcb02 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao
8bfee04c8c popovers 2023-06-17 16:05:46 -07:00
Jacky Zhao
352075ae81 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao
59109a8c1d add flamethrower router 2023-06-07 22:38:45 -07:00
Jacky Zhao
1406ee0f05 update spinners 2023-06-04 13:37:43 -04:00
Jacky Zhao
4bdc17d4a1 inline scripts 2023-06-03 15:07:19 -04:00
Jacky Zhao
fcd81353f8 heading linking 2023-06-01 19:48:38 -04:00
Jacky Zhao
04eeb2d10c syntax higlighting 2023-06-01 19:05:14 -04:00
Jacky Zhao
42d3a7de17 scss support 2023-06-01 17:35:31 -04:00
Jacky Zhao
c1c46ad67e obsidian flavored markdown support 2023-06-01 12:33:20 -04:00
Jacky Zhao
21c007e2fc rendering, link resolution, asset copying 2023-05-31 17:01:23 -04:00
Jacky Zhao
ad6ce0d73f plugin integration round 2 2023-05-30 08:02:20 -07:00
Jacky Zhao
a757521313 base setup 2023-05-28 17:44:08 -07:00