Compare commits

..

804 Commits

Author SHA1 Message Date
Gal 6ba49a99c7
Remove /content directory 2024-02-11 15:58:48 +01:00
Gal eadfd84b41
Initial commit 2024-02-11 15:52:45 +01:00
Gal 88966b0709
Update 2024-01-21 21:56:22 +07:00
Gal 5b843015b0
test 2023-12-30 00:01:03 +01:00
Gal 108c5cb7e1
test 2023-12-29 22:41:52 +01:00
Gal d5862e920c
test 2023-12-29 22:40:22 +01:00
Gal f3409ab966
test 2023-12-29 22:38:22 +01:00
Gal df0f8997aa
test 2023-12-29 22:36:31 +01:00
Gal 818c5be46e
test 2023-12-29 18:26:41 +01:00
Gal b68c00a081
test 2023-12-29 18:18:45 +01:00
Gal d18338f463
Change config 2023-12-29 18:13:23 +01:00
Galuh Sahid 649f2884bd add network 2023-12-28 22:55:02 +01:00
Galuh Sahid 42c1b3ee3a remove network 2023-12-27 23:53:57 +01:00
Galuh Sahid d95cab7eb8 change port 2023-12-27 23:47:43 +01:00
Galuh Sahid fada9db801 change port 2023-12-27 23:43:03 +01:00
Galuh Sahid ffa806ef51 change port 2023-12-27 23:42:38 +01:00
Galuh Sahid 416997f7fc change port 2023-12-27 23:41:25 +01:00
Galuh Sahid 61f34b8d60 Add traefik 2023-12-27 23:28:24 +01:00
Galuh Sahid c383f93016 Update 2023-12-27 22:11:25 +01:00
Galuh Sahid b4af071290 update readme 2023-12-27 22:09:22 +01:00
Galuh Sahid 7ec45a5f1d Add env 2023-12-27 22:06:00 +01:00
Galuh Sahid 4c2d57de12 Add script 2023-12-27 22:04:30 +01:00
Galuh Sahid f0966984b6 Update makefile 2023-12-27 22:04:12 +01:00
Galuh Sahid 736e12d643 Update makefile 2023-12-27 21:38:36 +01:00
Galuh Sahid 17e334a3ff Update makefile 2023-12-27 21:38:12 +01:00
Gal 1a9b2d3508 Add scripts 2023-12-27 21:35:10 +01:00
Galuh Sahid 20a4ca534b change port 2023-12-27 00:58:43 +01:00
Galuh Sahid 2f07d22c75 change port 2023-12-27 00:30:20 +01:00
Galuh Sahid d350d94e68 test change 2023-12-26 14:25:27 +01:00
Galuh Sahid d5d00fbe16 update 2023-12-26 14:22:56 +01:00
Galuh Sahid 9ebf84d1d4 Add npm install 2023-12-26 13:57:39 +01:00
Galuh Sahid fccaeac7c3 change port 2023-12-26 13:49:23 +01:00
Galuh Sahid bdf7e88d3b Add dc 2023-12-26 13:48:48 +01:00
Galuh Sahid b8127b95a9 Add website 2023-12-12 00:49:06 +01:00
Galuh Sahid de8dc6a3e3 Add website 2023-12-12 00:44:33 +01:00
Galuh Sahid 8fa9aad9da Quartz sync: Dec 9, 2023, 5:36 PM 2023-12-09 17:36:33 +01:00
Jacky Zhao 296c1cf83f fix: spa shouldn't use popover script directly 2023-11-18 18:46:58 -08:00
Jacky Zhao 516d9a27e7 fix: explicit undefined check in header transclude 2023-11-18 18:27:44 -08:00
Jacky Zhao 6a05fa777c fix: bad transform in wikilink pre-transform (closes #598) 2023-11-17 14:00:49 -08:00
Jacky Zhao 3f0be7fbe4 fix: check content-type before applying spa patch (closes #597) 2023-11-17 10:46:23 -08:00
Jacky Zhao ea08c0511a fix: dont run explorer scripts on non-explorer pages (closes #596) 2023-11-17 10:29:24 -08:00
Matt Vogel 727b9b5d72
feat: add class `alias` to aliases (#585) 2023-11-17 10:23:39 -08:00
Zijing Zhang 50f0ba29a2
feat: cname emitter (#590)
* feat: cname emitter

* feat: impl cname.ts

* Update cname.ts

* Update index.ts

* Update cname.ts

* Update cname.ts

* Update cname.ts

* Update cname.ts
2023-11-16 15:31:20 -08:00
Jacky Zhao 95b1141b9d fix: include anchor when normalizing urls for spa/popovers 2023-11-15 20:35:45 -08:00
Jacky Zhao a26eb59392 feat: scrub link formatting from toc entries 2023-11-15 20:13:28 -08:00
Jacky Zhao 5befcf4780 fix: format 2023-11-15 19:32:25 -08:00
Jacky Zhao f861a7c160 fix: regression where clicking anchors on the same page wouldn't set the anchor in the url 2023-11-15 19:31:18 -08:00
Jacky Zhao 06426c8f7e feat: support repeated anchor tag (closes #592) 2023-11-15 19:27:54 -08:00
Jacky Zhao 8fc7b9f4c6 feat: deref symlinks when copying static assets (closes #588) 2023-11-15 09:43:30 -08:00
Jacky Zhao 2de48b267a fix: set htmlAst after walking tree in ofm (closes #589) 2023-11-14 20:01:48 -08:00
Jacky Zhao 76f2664277 versioning: bump to v4.1.1 2023-11-13 22:57:05 -08:00
Jacky Zhao 74777118a7 feat: header and full-page transcludes (closes #557) 2023-11-13 22:51:40 -08:00
Jacky Zhao 8223465bda fix: make :has img selector direct 2023-11-12 14:33:19 -08:00
Jacky Zhao cf6ab9e933 feat: option to specify npx quartz sync message (closes #583) 2023-11-12 14:27:53 -08:00
Jacky Zhao 74c63e448e fix(style): dont internal-link highlight when image (closes #581) 2023-11-11 21:13:10 -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 d1551872ff fix: check if popover exists after fetching and before inserting 2023-11-11 20:46:57 -08:00
Jacky Zhao 275bea3051 style + cfg: resolve breadcrumb titles by default and change arrow character 2023-11-11 20:46:29 -08:00
Jacky Zhao bc02791734 fix: .date.getTime() based sort 2023-11-11 20:28:26 -08:00
Jacky Zhao bf603c49c2 fix: sort rss feed by date 2023-11-11 12:08:54 -08:00
Jacky Zhao f67356c3d2 lint: format 2023-11-11 12:02:34 -08:00
Jacky Zhao 5d666d1860 fix: normalize relative urls (closes #569) 2023-11-11 11:59:05 -08:00
Jacky Zhao 22b7cf135e types: cast in jsx.tsx to avoid @ts-ignore 2023-11-11 11:41:44 -08:00
Jacky Zhao 50a87d0d86 style: scrollable tables 2023-11-11 11:39:56 -08:00
Jacky Zhao 134b6ed582 fix: anchors links shouldnt cause reload (closes #574) 2023-11-11 10:11:31 -08:00
Jacky Zhao 99e8f5944f fix: trailing slash aliases (closes #577) 2023-11-11 09:56:30 -08:00
Yes365 e9f4e28a2d
fix: adapt vercel cleanurls (#487)
Co-authored-by: Harrison <Harrison@fanruan.com>
2023-11-09 19:44:16 -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
Jacky Zhao 923b72fb67 feat: auto-tag releases (closes #560) 2023-11-01 10:04:41 -07:00
Florence 05a1c34c6f
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
Jacky Zhao 01fc8e4640 fix: disable semi-broken flexsearch cache 2023-10-25 09:40:43 -07:00
Jacky Zhao 7c01e8dde0 feat: openLinksInNewTab option for link transformer 2023-10-22 09:54:12 -07:00
Jacky Zhao b7ae7a99db fix: styling for nested popover tag in page list 2023-10-21 21:12:11 -07:00
Jacky Zhao 60b3bc34cb fix: catch html to jsx errors (closes #547) 2023-10-21 21:06:02 -07:00
Jacky Zhao dc834015d0 fix(style): tag float orientation for long tags on page listing 2023-10-21 21:06:02 -07:00
Jacky Zhao 1e357ef5ac fix(style): prioritize base and custom scss over component css 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
Thomas 86d16b12a2
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
Jacky Zhao af9ddadc4d
fix(css): import base from custom instead of the other way around (#536) 2023-10-14 13:45:56 -07:00
Jacky Zhao da0a062c05 feat: docker support for v4 (closes #530) 2023-10-08 09:59:18 -07:00
Jacky Zhao f66d2c23ac fix: ctrl+click with spa enabled 2023-10-08 09:15:06 -07:00
Jacky Zhao 3268d45a20 css: make article relative 2023-10-05 13:48:52 -07:00
Jacky Zhao afa163f2fe
style: styling for codeblocks without langs (#527) 2023-10-05 13:30:06 -07:00
Ben Schlegel cec4877adb
fix(breadcrumbs): problem with folder whitespace (#522)
* fix(breadcrumbs): problem with folder whitespace

use slugs for folder hrefs so folder paths get resolved properly

* feat: only use `slug` for constructing crumbs

* fix: remove capitalization
2023-10-05 09:19:56 -07:00
Jacky Zhao cf0c090e3c specify minimum npm version 2023-10-04 09:23:56 -07:00
Luca Salvarani c8f5dbbad3
fix: Fix `Backlinks` not applying the display class (#519)
* fix: Fix `Backlinks` not applying the display class

Fix #518

* fix: Apply `displayClass` to all layout components

* refactor: Use same style

* fix: Remove `undefined` class using coalescing operator
2023-10-01 17:20:55 -07:00
bfahrenfort ab5efac75f
Fix: RSS title escaping (#521)
* Fix title escaping

* npm run format
2023-10-01 09:47:22 -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
ArtfulAzeria 5232d09af5
feat: Better and more responsive tag behavior (#515)
* fix(explorer): default sortFn implementation (#511)

* fix: use `numeric` + `base` for localeCompare

* docs(explorer): update default sortFn

* fix: better and more responsive tag behavior

* tags css moved to TagList.tsx

* used npm run format

* merged tag declarations

---------

Co-authored-by: Ben Schlegel <31989404+benschlegel@users.noreply.github.com>
2023-09-29 11:17:48 -07:00
Catchears 0138085c16
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 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
Jacky Zhao d22c3c107a fix: coerce title to string 2023-09-25 18:15:55 -07:00
Jacky Zhao 697bffdb8b fix: treat the 0 time as invalid too 2023-09-24 14:47:30 -07:00
Jacky Zhao ea5742c328 fix: mermaid copy source position 2023-09-24 10:31:54 -07:00
Chad Lee 95eec5b49d
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
Jacky Zhao 13c8673226 feat: add warning for invalid date format 2023-09-22 10:04:50 -07:00
Jacky Zhao a897cc1f53 feat: add warning for missing home page 2023-09-22 10:04:50 -07:00
Ben Schlegel d93599364a
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 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 dcdeae4e7b
docs(explorer): update default config + new example (#493) 2023-09-21 18:53:19 +02:00
Jacky Zhao 48452231d5
perf: memoize filetree computation (#490)
* perf: memoize filetree computation

* format

* var -> let
2023-09-20 16:09:18 -07: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
Ben Schlegel b029eeadab
feat(explorer): improve accessibility and consistency (+ bug fix) (#488)
* feat(consistency): use `all: unset` on button

* style: improve accessibility and consistency for explorer

* fix: localStorage bug with folder name changes

* chore: bump quartz version
2023-09-20 13:55:29 -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 70e029d151 Revert "docs: wording changes for offline support"
This reverts commit 52a172d1a4.
2023-09-20 13:52:29 -07:00
Jacky Zhao 0bad3ce799 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
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
rwutscher 27a6087dd5
fix: tag regex no longer includes purely numerical 'tags' (#485)
* fix: tag regex no longer includes purely numerical 'tags'

* fix: formatting

* fix: use guard in findAndReplace() instead of expanding the regex
2023-09-19 12:26:30 -07:00
Jacky Zhao 1bf7e3d8b3 fix(nit): make defaultOptions on explorer not a function 2023-09-19 10:22:39 -07:00
David Fischer cc31a40b0c
feat: support changes in system theme (#484)
* feat: support changes in system theme

* fix: run prettier

* fix: add content/.gitkeep
2023-09-19 09:25:51 -07:00
Ben Schlegel 0d3cf29226
docs: fix explorer example (#483) 2023-09-18 14:32:00 -07:00
Ben Schlegel 6a2e0b3ad3
fix: bad visibility for last explorer item (#478)
* fix: bad visibility for last explorer item

* feat(explorer): add pseudo element for observer
2023-09-17 22:04:44 +02:00
Ben Schlegel e67f409ec1
Merge pull request #479 from benschlegel/explorer-config
feat(explorer): add config for custom sort/map/filter functions
2023-09-17 21:36:04 +02:00
Ben Schlegel 4afb099bf3
docs: fix examples 2023-09-17 21:32:23 +02:00
Ben Schlegel 6914d4b40c
docs: fix intra page links 2023-09-17 21:20:09 +02:00
Christian Gill af41f34bfd
fix(slug): Handle question mark (#481) 2023-09-17 11:02:00 -07:00
Ben Schlegel 7ac772fca8
fix: darkmode scroll bars (#480) 2023-09-17 10:29:20 -07:00
Ben Schlegel 5cc9253c41
docs(explorer): write docs for new features 2023-09-17 16:41:23 +02:00
Ben Schlegel 94a04ab1c9
fix(explorer): filter function in `ExplorerNode` 2023-09-17 15:51:08 +02:00
Ben Schlegel 9358f73f1c
fix: display name for file nodes 2023-09-17 12:41:06 +02:00
Ben Schlegel f7029012df
feat: black magic
add config for `order` array, which determines the order in which all passed config functions for explorer will get executed in.

functions will now dynamically be called on `fileTree` via array accessor (e.g. fileTree["sort"].call(...)) with corresponding function from options being passed to call)
2023-09-16 21:58:38 +02:00
Ben Schlegel fea352849c
fix: create deep copy of file passed into tree 2023-09-16 19:45:21 +02:00
Ben Schlegel 3d8c470c0d
feat(explorer): implement `map` fn argument
Add a function for mapping over all FileNodes as an option for `Explorer`
2023-09-16 19:35:27 +02:00
Ben Schlegel 31d16fbd2c
feat(explorer): integrate filter option 2023-09-16 19:18:59 +02:00
Ben Schlegel 036a33f70b
fix: use correct import for `QuartzPluginData` 2023-09-16 17:47:44 +02:00
Ben Schlegel 58aea1cb07
feat: implement filter function for explorer 2023-09-16 17:28:58 +02:00
Ben Schlegel c7d3474ba8
feat(explorer): add config to support custom sort fn 2023-09-16 12:40:19 +02:00
Yuto Nagata 422ba5c365
fix: umami analytics date attribute (#477) 2023-09-15 19:17:20 -07: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
Ben Schlegel 91f9ae2d71
feat: implement file explorer component (closes #201) (#452)
* feat: add basic explorer structure„

* feat: integrate new component/plugin

* feat: add basic explorer structure

* feat: add sort to FileNodes

* style: improve style for explorer

* refactor: remove unused explorer plugin

* refactor: clean explorer structure, fix base (toc)

* refactor: clean css, respect displayClass

* style: add styling to chevron

* refactor: clean up debug statements

* refactor: remove unused import

* fix: clicking folder icon sometimes turns invisible

* refactor: clean css

* feat(explorer): add config for title

* feat: add config for folder click behavior

* fix: `no-pointer` not being set for all elements

new approach, have one `no-pointer` class, that removes pointer events and one `clickable` class on the svg and button (everything that can normally be clicked). then, find all children with `clickable` and toggle `no-pointer`

* fix: bug where nested folders got incorrect height

this fixes the bug where nested folders weren't calculating their total height correctly. done by adding class to main container of all children and calculating total

* feat: introduce `folderDefaultState` config

* feat: store depth for explorer nodes

* feat: implement option for collapsed state + bug fixes

folderBehavior: "link" still has bad styling, but major bugs with pointers fixed (not clean yet, but working)

* fix: default folder icon rotation

* fix: hitbox problem with folder links, fix style

* fix: redirect url for nested folders

* fix: inconsistent behavior with 'collapseFolders' opt

* chore: add comments to `ExplorerNode`

* feat: save explorer state to local storage (not clean)

* feat: rework `getFolders()`, fix localstorage read + write

* feat: set folder state from localStorage

needs serious refactoring but functional (except folder icon orientation)

* fix: folder icon orientation after local storage

* feat: add config for `useSavedState`

* refactor: clean `explorer.inline.ts`

remove unused functions, comments, unused code, add types to EventHandler

* refactor: clean explorer

merge `isSvg` paths, remove console logs

* refactor: add documentation, remove unused funcs

* feat: rework folder collapse logic

use grids instead of jank scuffed solution with calculating total heights

* refactor: remove depth arg from insert

* feat: restore collapse functionality to clicks

allow folder icon + folder label to collapse folders again

* refactor: remove `pointer-event` jank

* feat: improve svg viewbox + remove unused props

* feat: use css selector to toggle icon

rework folder icon to work purely with css instead of JS manipulation

* refactor: remove unused cfg

* feat: move TOC to right sidebar

* refactor: clean css

* style: fix overflow + overflow margin

* fix: use `resolveRelative` to resolve file paths

* fix: `defaultFolderState` config option

* refactor: rename import, rename `folderLi` + ul

* fix: use `QuartzPluginData` type

* docs: add explorer documentation
2023-09-15 09:39:16 -07:00
Oskar Manhart 14cbbdb8a2
feat: display tag in graph view (#466)
* feat: tags in graph view

* fix: revert changing graph forces

* fix: run prettier
2023-09-13 20:55:59 -07:00
Jacky Zhao cce389c81d
feat: note transclusion (#475)
* basic transclude

* feat: note transclusion
2023-09-13 11:28:53 -07:00
Jacky Zhao 4461748a85 fix dont show html in search when rssFullHtml is true (closes #474) 2023-09-13 09:43:30 -07:00
Jacky Zhao 6ecdcb5e24 feat: resolve block references in obsidian markdown 2023-09-12 22:55:50 -07:00
Jacky Zhao e3b879741b feat: rich html rss (closes #460) 2023-09-12 21:44:03 -07:00
Jacky Zhao 60a3c54339 fix: 404 page styling for nested pages (closes #458) 2023-09-12 21:29:57 -07:00
Jacky Zhao 71d81bde1d feat: rss limit (closes #459) 2023-09-12 19:18:44 -07:00
hcplantern a19df64be8
fix: callout parsing (#469) 2023-09-11 23:00:21 -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
Jacky Zhao a66c239797 ci: print bundleInfo 2023-09-10 23:07:17 -07:00
Jacky Zhao 53f1c88738 fix: more lenient date parsing for templates 2023-09-08 09:29:57 -07:00
Stefano Cecere 06df00b186
typo (it's draft, not drafts) (#456) 2023-09-07 08:13:41 -07:00
Jacky Zhao 2525bfbab5 fix: links to index not showing in graph (closes #450) 2023-09-06 22:24:15 -07:00
Jacky Zhao 828aa71fe3 fix: escape encoding for titles in rss 2023-09-06 21:47:59 -07:00
Jacky Zhao ef1ead31dc fix: encodeuri for slugs in rss 2023-09-06 21:31:01 -07:00
Jacky Zhao 989bee5979 docs: correct field for ignorePatterns 2023-09-06 21:08:08 -07:00
Jacky Zhao 8d6029b7b8 feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Jacky Zhao 2d52eba413 fix: dont transform external links 2023-09-06 20:25:50 -07:00
Ben Schlegel 6ef4246cf1
docs: update `full-text-search.md` (#447) 2023-09-03 22:36:30 -07:00
Dr Kim Foale 616a7f148a
docs: Make it clearer that wikilinks go to paths not page titles (#448) 2023-09-03 21:29:58 -07:00
Adam Brangenberg e8a04efaf1
feat(analytics): Support for Umami (#449) 2023-09-03 21:28:57 -07:00
Ben Schlegel 7e42be8e46
feat(search): add arrow key navigation (#442)
* feat(search): add arrow navigation

* chore: format

* refactor: simplify arrow navigation

* chore: remove comment

* feat: rework arrow navigation to work without state

* feat: make pressing enter work with arrow navigation

* fix: remove unused css class

* chore: correct comment

* refactor(search): use optional chaining
2023-09-03 09:32:46 -07:00
Ben Schlegel 8c354f6261
fix: clipboard button visible in search (#445) 2023-09-03 09:06:05 -07:00
Jacky Zhao 505673acd7 feat: pluralize things in lists 2023-09-02 18:07:26 -07:00
Ben Schlegel 23f43045c4
fix(search): matches getting highlighted in title (#440) 2023-09-01 14:12:32 -07:00
Ben Schlegel 90dac31216
feat: Implement search for tags (#436)
* Quartz sync: Aug 29, 2023, 10:17 PM

* style: add basic style to tags in search

* feat: add SearchType + tags to search preview

* feat: support multiple matches

* style(search): add style to matching tags

* feat(search): add content to preview for tag search

* fix: only display tags on tag search

* feat: support basic + tag search

* refactor: extract common `fillDocument`, format

* feat: add hotkey to search for tags

* chore: remove logs

* fix: dont render empty `<ul>` if tags not present

* fix(search-tag): make case insensitive

* refactor: clean `hideSearch` and `showSearch`

* feat: trim content similar to `description.ts`

* fix(search-tag): hotkey for windows

* perf: re-use main index for tag search
2023-09-01 10:09:58 -07:00
Pelayo Arbués 2d6dc176c3
Adds Pelayo Arbues to showcase (#435) 2023-08-31 12:12:06 -07:00
Ben Schlegel b213ba45e2
fix: regex for matching highlights (closes #437) (#438)
* fix:  regex for matching highlights

* fix: regex for empty highlights
2023-08-31 11:55:04 -07:00
Jacky Zhao 5fa6fc9789 fix: aliasredirects not using full path, add permalink support 2023-08-29 10:37:00 -07:00
Jeffrey Fabian 1cc09ef76d
feat: support kebab-case and nested tags in Obsidian-flavored Markdown tag-in-content parsing (#425)
* enhancement: support kebab-case and nested tags in ofm transformer

* update regex/capture groups to allow for (arbitrarily) nested values and tags of only -/_

* Update quartz/plugins/transformers/ofm.ts

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-29 10:14:54 -07:00
Ben Schlegel c35cd422c6
fix: correct graph labels for `index.md` nodes (#431) 2023-08-28 10:00:49 -07:00
Jeremy Press 082fdf2e80
Fix typo :) (#430) 2023-08-27 20:57:19 -07:00
Jeremy Press b6b1dabde0
feat: support configurable ws port and remote development (#429)
Co-authored-by: Jeremy Press <jeremy@replit.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-27 17:39: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 52ca312f41 fix: slugify tag on page before adding (closes #411) 2023-08-27 12:27:55 -07:00
Ben Schlegel c91e62c376
Fix search bar after navigate (#424) 2023-08-26 17:19:45 -07:00
Ben Schlegel ad4145fb10
feat: support CLI arguments for `npx quartz create` (#421)
* feat(cli): add new args for content + link resolve

* feat(cli): validate cmd args

* feat(cli): add chalk + error code to errors

* feat(cli): support for setup/link via args

* refactor(cli): use yargs choices instead of manual

Scrap manual check if arguments are valid, use yargs "choices" field instead.

* feat(cli): add in-dir argument+ handle errors

add new "in-directory" argument, used if "setup" is "copy" or "symlink" to determine source. add error handling for invalid permutations of arguments or non existent path

* feat(cli): dynamically use cli or provided args

use "in-directory" arg as `originalFolder` if available, otherwise get it from manual cli process

* run format

* fix: use process.exit instead of return

* refactor: split CommonArgv and CreateArgv

* refactor(cli): rename create args, use ${} syntax

* fix(cli): fix link resolution strategy arg

* format

* feat(consistency): allow partial cmd args
2023-08-26 13:21:44 -07:00
Jacky Zhao 74c3ebb7bd style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
Jacky Zhao e3265f8416 docs: simplify oxhugo page 2023-08-26 10:42:55 -07:00
Hrishikesh Barman bc543f81d9
feat(plugins): add OxHugoFlavouredMarkdown (#419)
* feat(plugins): add OxHugoFlavouredMarkdown

ox-hugo is an org exporter backend that exports org files to
hugo-compatible markdown in an opinionated way. This plugin adds some
tweaks to the generated markdown to make it compatible with quartz but
the list of changes applied it is not extensive.

In the future however, we could leapfrog ox-hugo altogether and
create a quartz site directly out of org-roam files. That way we won't
have to do all the ritual dancing that this plugin has to perform.
See https://github.com/k2052/org-to-markdown

* fix: add toml to remarkFrontmatter configuration

* docs: add docs for OxHugoFlavouredMarkdown

* fixup! docs: add docs for OxHugoFlavouredMarkdown
2023-08-25 22:52:23 -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
Ben Schlegel 340e3ef511
feat(consistency): Add `.obsidian` to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Jacky Zhao 953ef29f4e format, ensure ci runs on prs 2023-08-24 12:31:15 -07:00
Ben Schlegel 94ce0883e7
style: integrate tertiary color to text-select (#413) 2023-08-24 12:28:06 -07:00
Zero King 8cf7280614
feat: reproducible build (#412)
for sitemap, RSS and contentIndex.json.
2023-08-24 11:41:20 -07:00
Jacky Zhao c8412a5b0a format 2023-08-24 10:03:14 -07:00
Jacky Zhao fc4b8f3d3f fix: ensure recentnotes uses proper date 2023-08-24 09:38:00 -07:00
Jacky Zhao 6cd0612d40 fix: add better warning when defaultDateType is not set due to upgrade 2023-08-24 09:17:43 -07:00
Jacky Zhao 9851697b58 version bump to 4.0.10 2023-08-24 09:05:19 -07:00
Jacky Zhao c36a9f3fb7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao 98d82415dc fix: lock to never read when site is building 2023-08-24 08:31:12 -07:00
Ben Schlegel 9d2340e90b
docs: fix typo in `authoring content.md` (#408) 2023-08-24 08:14:52 -07:00
bfahrenfort 8200c8d040
Revert contentIndex to RSS 2.0 (#407) 2023-08-23 22:57:49 -07:00
Jacky Zhao 2e0e518f5d format 2023-08-23 15:16:04 -07:00
Zane Helton 632c27b7ec
docs: update `hosting.md` with Vercel hosting instructions (#406)
* Update hosting.md with Vercel hosting instructions

* Update docs/hosting.md

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

* Update docs/hosting.md

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

* Run npm run format

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-08-23 15:14:23 -07:00
Jacky Zhao bfb416b35a fix: text wrap in popover 2023-08-23 13:10:23 -07:00
Jacky Zhao 960c1814d0 docs: make incompability of trailing slashes clear 2023-08-23 12:23:49 -07:00
Jacky Zhao eed4472aee fix: use proper full base for links.ts 2023-08-23 12:18:50 -07:00
Jacky Zhao b99eb7ebce docs: whitespace 2023-08-23 12:11:24 -07:00
kanpov 0aaf88b852
Fix #403 by moving documentation to separate directory to avoid merge conflicts (#405) 2023-08-23 12:09:04 -07:00
Jacky Zhao a1a1e7e1e0 fix: builds should no accumulate on repeated changes (closes #404) 2023-08-23 11:36:34 -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
Aaron Pham d2f5254995
fix(esbuild): conflict with esbuild-sass-plugin (#402) 2023-08-23 09:05:01 -07:00
Jacky Zhao 3064839c2d version bump to 4.0.9 2023-08-22 23:37:02 -07:00
Jacky Zhao b444c5c13b fix: percent-encoding for files with %, contentIndex for non-latin chars (closes #397, closes #399) 2023-08-22 23:34:28 -07:00
Jacky Zhao 36548d5986 fix: toc for cyrillic and other non-latin alphabets (closes #396) 2023-08-22 22:41:50 -07:00
Jacky Zhao 99dbe525d9 fix: properly lock across source and content refresh by sharing a mutex 2023-08-22 22:27:41 -07:00
Jacky Zhao 8b63ff882a fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao b991cf2ee8 fix: spa hijacks back button (closes #400) 2023-08-22 21:30:31 -07:00
松浦 知也 Matsuura Tomoya bb677840fc
fixed broken CJK links (#390) 2023-08-22 09:16:55 -07:00
Ikko Eltociear Ashimine c60b3d5e34
fix: typo in bootstrap-cli.mjs (#394) 2023-08-22 09:16:21 -07:00
Jacky Zhao e10de3febf fix: server-handler crash from filename (closes #386) 2023-08-21 17:01:18 -07:00
Jacky Zhao b69556c918 fix: async-mutex not exclusively locking correectly 2023-08-21 16:43:32 -07:00
Jacky Zhao ce70571072 docs: use canonical quartz.jzhao.xyz, update bootstrap script to point to correct hosting link 2023-08-21 09:15:01 -07:00
Jacky Zhao 8c943f47d6 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
松浦 知也 Matsuura Tomoya 2774e976d2
fix: opts being overriden in graph option (#384) 2023-08-21 08:45:47 -07:00
Jacky Zhao bb93ac1c83 docs: fix links to networked thought 2023-08-20 23:50:29 -07:00
Jacky Zhao 777ff51c7a format 2023-08-20 20:48:35 -07:00
Jacky Zhao 4e42d52e16 fix: ctrl + k breaking after page nav 2023-08-20 20:47:07 -07:00
Jacky Zhao d0f67d9935 move wss server start after http 2023-08-20 18:41:37 -07:00
Jacky Zhao 952d6cb3dd fix: nav event with spa off, anchor nav refresh page 2023-08-20 18:08:44 -07:00
Jacky Zhao 173ec240d2 fix: jump to anchor on deployed site triggering spa refresh 2023-08-20 17:50:56 -07:00
Jacky Zhao 425c9789a4 remove checkout step from instructions as v4 is the default branch 2023-08-20 16:59:25 -07:00
Jacky Zhao 7b7064ad2b fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
Jacky Zhao ca17af4ae2 fix: dont show index page for folder in its own listing 2023-08-20 15:02:24 -07:00
Jacky Zhao 71471117c5 fix: ci runs on v4 2023-08-20 14:34:00 -07:00
Jacky Zhao e65ea48fae fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao b99d4cd8ce recent notes css fixes 2023-08-20 14:05:37 -07:00
Jacky Zhao 1bb00e72bb add docs for recent notes 2023-08-20 13:00:33 -07:00
Jacky Zhao 236130ac22 css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
Jacky Zhao 5adf3c67a8 add engines field 2023-08-20 08:57:56 -07:00
Jacky Zhao 9d77edaf94 fix description not being used in folder and tag listings 2023-08-20 01:08:18 -07:00
Jacky Zhao 0ef1b5b522 update plausible url 2023-08-20 00:54:13 -07:00
Jacky Zhao cfb7d1232e docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
Jacky Zhao 03fd62496f docs: note about updating default branch 2023-08-20 00:02:41 -07:00
Jacky Zhao d205eb5686 docs: make setting upstream more clear, docs on npx quartz restore 2023-08-19 22:19:49 -07:00
Jacky Zhao 96a3bfeafb fix: put quotations around font 2023-08-19 22:04:29 -07:00
Jacky Zhao 95fb6ccfcb readme fix 2023-08-19 21:59:20 -07:00
Jacky Zhao e262482921 fix: string for aliases being treated as array of chars 2023-08-19 21:59:01 -07:00
Jacky Zhao eb4d3dc5b4 css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
Jacky Zhao 90d6c1ed24 add git fetch to migration instructions 2023-08-19 21:38:10 -07:00
Jacky Zhao 443c182890 Merge branch 'v4' of https://github.com/jackyzha0/quartz into v4 2023-08-19 21:16:31 -07:00
Jacky Zhao 791b8e2d9f add sponsors 2023-08-19 21:16:24 -07:00
Matt Dunn a6236d97cf
Adding to Showcase page (#367) 2023-08-19 19:15:14 -07:00
Jacky Zhao b1debaebff update docs 2023-08-19 18:56:45 -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 6681f28af0 fix trailing slash causing folder listing to not fetch content correctly 2023-08-19 16:55:36 -07:00
Jacky Zhao 78f4cdbe10 avoid 404 on icon for spa navigations with anchors 2023-08-19 16:40:02 -07:00
Jacky Zhao dd47be1bc6 improve path resolution stability 2023-08-19 16:28:44 -07:00
Jacky Zhao c874e7e937 base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Jacky Zhao 3201f83b70 v4-alpha -> v4 2023-08-18 18:24:09 -07:00
Jacky Zhao d8bec631b6 update docs on github pages and syncing 2023-08-18 18:22:38 -07:00
Jacky Zhao 6f1f820289 fix typo in docs 2023-08-17 23:39:15 -07:00
Jacky Zhao 8bc7a50dfa format 2023-08-17 21:54:42 -07:00
Jacky Zhao 569beb410b ensure sync includes untracked files 2023-08-17 21:49:58 -07:00
Jacky Zhao 5713d30670 ensure contentfolder is passed to popContentFolder 2023-08-17 21:24:41 -07:00
Jacky Zhao a130945443 fix when symlink targ is calculated and added npx quartz restore 2023-08-17 21:20:15 -07:00
Jacky Zhao e10f6da011 format 2023-08-17 21:08:26 -07:00
Jacky Zhao a7cca3242a deref symlink on quartz sync 2023-08-17 21:07:40 -07:00
Jacky Zhao 0998bc355e fix rebuild debouncing 2023-08-17 01:58:11 -07:00
Jacky Zhao 07a327e05a fix back button in spa not working between two pages that both have hash fragments 2023-08-17 01:34:50 -07:00
Jacky Zhao 58d9dc0528 format 2023-08-17 00:55:52 -07:00
Jacky Zhao 0c199975f2 various path fixes for links to extensions, fix relative paths in links 2023-08-17 00:55:28 -07:00
Jacky Zhao 2dc0ae279c fix import paths 2023-08-16 22:09:11 -07:00
Jacky Zhao 2f6747b166 fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Sohaib 232652149a
Update hosting.md (#371) 2023-08-14 17:59:47 -07:00
Jacky Zhao 7bde99b4e2 fix: add trailing slash to local serving 2023-08-13 17:47:18 -07:00
vintro f1c9ca495e
docs: note about existing content at same path on different branches 2023-08-13 17:19:50 -07:00
Jacky Zhao 4f4b04eeb4 format docs 2023-08-12 21:18:51 -07:00
Jacky Zhao d6e73f221c fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
Jacky Zhao 6d9ffd6da5 404 page styling on local 2023-08-12 21:16:43 -07:00
Jacky Zhao c89f8b1a9a fix nested callout folding 2023-08-12 21:16:43 -07:00
Sohaib 8fd496bbef
Update hosting.md (#368) 2023-08-12 13:52:16 -07:00
Jacky Zhao aed3f5fccb fmt 2023-08-12 10:17:07 -07:00
Jacky Zhao c55d54f068 enable rich text in callout title 2023-08-12 10:16:55 -07:00
Jacky Zhao 7bffc2183e include home page in search 2023-08-12 00:24:30 -07:00
Jacky Zhao 827dd91847 format, make search async 2023-08-12 00:03:11 -07:00
Jacky Zhao e1dd6aee86 fix wikilinks to anchors in the same document 2023-08-11 23:55:17 -07:00
Jacky Zhao 83269ac26e fix scanning for tags in content 2023-08-11 23:40:06 -07:00
Jacky Zhao ed62ece491 fix broken tag listing links to tags 2023-08-11 23:27:59 -07:00
Jacky Zhao 736c3981c4 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao 79e828696a feature docs 2023-08-11 22:47:50 -07:00
Jacky Zhao 259d0a6d9a more documentation 2023-08-11 00:31:44 -07:00
Jacky Zhao df02ea20d7 spacing fix 2023-08-10 21:32:11 -07:00
Jacky Zhao 21cc6a5da9 run prettier 2023-08-10 21:29:11 -07:00
Jacky Zhao cefbca4753 docs on making plugins 2023-08-10 21:16:07 -07:00
Jacky Zhao ad3f7b2d5f format 2023-08-09 09:18:44 -07:00
Jacky Zhao ebf3263b7e update npx quartz update script 2023-08-09 09:10:40 -07:00
Jacky Zhao cea6834fef profiling, better concurrency heuristics 2023-08-09 00:26:33 -07:00
Jacky Zhao 68ccd1d79d format 2023-08-08 22:53:01 -07:00
Jacky Zhao 49bd6bc3ff better concurrency debugging, --concurrency flag for npx quartz build 2023-08-08 22:52:49 -07:00
Jacky Zhao e4950e06a1 fix getFileExtension missing numeric extensions (e.g. mp4) 2023-08-08 21:31:36 -07:00
Jacky Zhao e21f0f9bb9 change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao ee9ed4f287 fix head.tsx 2023-08-08 20:36:24 -07:00
Jacky Zhao 2706a137a0 guide to creating components 2023-08-08 20:18:31 -07:00
Jacky Zhao 09d4eb0684 fix notes 2023-08-07 23:57:24 -07:00
Jacky Zhao 533d68e642 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
Jacky Zhao 774a162850 format 2023-08-07 21:51:23 -07:00
Jacky Zhao 2ac5dd49da fix regression in code block font-size boosting on safari mobile 2023-08-07 21:51:06 -07:00
Jacky Zhao 527ce6546e various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao d02af6a8ae architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
Jacky Zhao b4cacd5956 format 2023-08-06 22:07:33 -07:00
Jacky Zhao cd9dc6ecb5 fix css transforms for mobile 2023-08-06 22:07:08 -07:00
Jacky Zhao d8d9dd22c9 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao 075ac33474 note formatting 2023-08-06 19:54:11 -07:00
Jacky Zhao 3adc73a703 docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
Jacky Zhao 028bcec62c mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao db6054a8c1 format, remove markdown from being procesed 2023-08-05 18:00:52 -07:00
Jacky Zhao a0d651d64d reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao 1da467d214 non-admonition callout fix 2023-08-05 16:43:50 -07:00
Jacky Zhao 7c09627df4 improve hot reload robustness 2023-08-05 15:34:10 -07:00
Jacky Zhao c402f0c385 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao 9e76b257d4 fix mermaid initialization 2023-08-04 22:35:21 -07:00
Jacky Zhao 21a7ec2307 bump mathjax version 2023-08-03 23:36:00 -07:00
Jacky Zhao 6423f85614 fix execsync 2023-08-03 23:28:34 -07:00
Jacky Zhao 3a2eae0a16 fix fetch flags 2023-08-03 23:24:34 -07:00
Jacky Zhao 2acfb9e870 format, add upstream 2023-08-03 23:08:04 -07:00
Jacky Zhao 93986c6e7c update pull strategy 2023-08-03 22:29:46 -07:00
Jacky Zhao 4877a9c934 fix callout aliases not being used properly 2023-08-03 00:08:13 -07:00
Jacky Zhao 6457496b4b readme fixes, force 2023-08-02 23:42:49 -07:00
Jacky Zhao fdf1e2a41d use checkout for pulling updates 2023-08-02 23:29:28 -07:00
Jacky Zhao 663c41fa41 use posix style paths for all path ops 2023-08-02 23:04:26 -07:00
Jacky Zhao de72dd4e4a format 2023-08-02 22:16:46 -07:00
Jacky Zhao 5537ca41e0 use autostash and pull 2023-08-02 22:16:32 -07:00
Jacky Zhao 558a509164 format 2023-08-02 22:11:46 -07:00
Jacky Zhao d7842e0ce7 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao 264ea3d544 add gitattributes for windows 2023-08-02 20:59:56 -07:00
Jacky Zhao 0a33ff7a82 fix test matrix for ci 2023-08-02 20:56:31 -07:00
Jacky Zhao 429f331c21 make ci also run on windows, re-add css minification 2023-08-02 20:53:13 -07:00
Jacky Zhao 9a0f20012a windows patches 2023-08-02 00:07:41 -07:00
Jacky Zhao c8c108c7f7 change default strategy to be rebase 2023-08-01 23:29:58 -07:00
Jacky Zhao aaae7d46c2 Merge branch 'v4-alpha' of https://github.com/jackyzha0/quartz into v4-alpha 2023-08-01 22:48:32 -07:00
Jacky Zhao a70e846b0a flag to allow ofm replace in html embed 2023-08-01 22:47:16 -07:00
Adam Brangenberg cbae88fc4e
Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
Jacky Zhao cc79502670 make layouts simpler to think about 2023-07-25 23:37:24 -07:00
Jacky Zhao 45f9087f03 fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
Jacky Zhao 1c1a569023 fix formatting 2023-07-25 21:11:06 -07:00
Jacky Zhao cee2883c08 nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao e82ba97a39 actually add processed tag to frontmatter 2023-07-24 00:07:58 -07:00
Jacky Zhao 041a4ce7bc fix watch-mode batching 2023-07-24 00:04:01 -07:00
Jacky Zhao 569ff1a801 npm i on quartz update 2023-07-23 21:53:34 -07:00
Jacky Zhao 351b4ab13b styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
Jacky Zhao 4811500b1b make component resources a proper emitter 2023-07-23 18:20:43 -07:00
Jacky Zhao 236ba56be1 version bump, update doc 2023-07-23 17:59:44 -07:00
Jacky Zhao 7c2bb4ee4c bundleinfo flag, minify scripts 2023-07-23 17:58:35 -07:00
Jacky Zhao 8fd75ffbfd support attachments folder 2023-07-23 17:42:00 -07:00
Jacky Zhao 55a1fb8c41 format 2023-07-23 17:09:12 -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 000eb4c3c0 update feature list 2023-07-23 15:37:06 -07:00
Jacky Zhao 5599eb590e feat: process tags in content 2023-07-23 14:02:57 -07:00
Jacky Zhao ae2e3b463a improve error handling while serving 2023-07-23 11:49:26 -07:00
Jacky Zhao fd7c33c537 style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00
Jacky Zhao 76fdb3b4d8 fix styles 2023-07-23 11:04:20 -07:00
Jacky Zhao 27a5f7ef8e various typography and styling fixes 2023-07-23 11:02:45 -07:00
Jacky Zhao ab228748ab oops actually use npm run check 2023-07-22 17:42:13 -07:00
Jacky Zhao 76fa9bbe00 run prettier on ci 2023-07-22 17:39:10 -07:00
Jacky Zhao 7db2eda76c run prettier 2023-07-22 17:27:41 -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 b7966ff7fa update features list 2023-07-20 21:51:55 -07:00
Jacky Zhao 01d7d8e554 fix tag pages to emit to tag/index.html to override content and folder pages 2023-07-19 23:03:59 -07:00
Jacky Zhao 83d47f7aaa rename github action 2023-07-19 22:00:44 -07:00
Jacky Zhao 76c092dcf2 add custom.scss 2023-07-19 21:59:48 -07:00
Jacky Zhao 410fc9c8d3 quartz update and quartz sync 2023-07-19 21:59:39 -07:00
Jacky Zhao 8e0ba45789 add link resolution prompt to quartz create 2023-07-16 10:39:35 -07:00
Jacky Zhao f82282367e treat _index as index 2023-07-15 23:33:06 -07:00
Jacky Zhao a3e4c86a4c fix ci, disable strict path type checks by default 2023-07-15 23:05:17 -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 b90590b9f4 polish 2023-07-08 14:36:02 -07:00
Jacky Zhao b3480bdc49 fix styling for bullet points 2023-07-06 19:18:18 -07:00
Jacky Zhao 9cbacca2d4 handle dates as tags 2023-07-06 18:45:38 -07:00
Jacky Zhao 05d1ca01c3 handle string tags 2023-07-06 18:32:48 -07:00
Jacky Zhao f7bf4038dc fix path parsing 2023-07-06 16:56:30 -07:00
Jacky Zhao 465804a389 basic docs, remove publish, add quartz create 2023-07-05 00:16:06 -07:00
Jacky Zhao 92ca787092 fix default callout state 2023-07-04 18:26:11 -07:00
Jacky Zhao fe2852ff25 update package 2023-07-04 18:08:36 -07:00
Jacky Zhao 974b0da308 folder and tag descriptions, re-enable relative pathing 2023-07-04 18:02:59 -07:00
Jacky Zhao 2a17431460 fix popover zindex 2023-07-04 17:14:15 -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
Jacky Zhao e0ebee5aa9 various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao 4c904d88ab rss + sitemap 2023-07-01 13:35:27 -07:00
Jacky Zhao ba9f243728 tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao 24348b24a9 fix: parsing wikilinks that have codeblock anchors, scroll to anchor 2023-06-19 22:50:25 -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 cb89cce183 basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao b587782450 collapsible callout 2023-06-17 13:08:06 -07:00
Jacky Zhao 6d5491fdcb collapsible toc 2023-06-17 12:07:40 -07:00
Jacky Zhao 917d5791ac modern toc tweaks 2023-06-16 19:41:59 -07:00
Jacky Zhao 9d2024b11c taglist, mermaid 2023-06-12 22:41:42 -07:00
Jacky Zhao 2bfe90b7e6 add config to components 2023-06-11 23:46:38 -07:00
Jacky Zhao 352075ae81 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao b8c011410d toc 2023-06-09 23:06:02 -07:00
Jacky Zhao 3a29f4c86e add custom spa solution 2023-06-09 19:58:58 -07:00
Jacky Zhao 59109a8c1d add flamethrower router 2023-06-07 22:38:45 -07:00
Jacky Zhao 317cce9314 generic quartz component for layout 2023-06-07 22:27:32 -07:00
Jacky Zhao dde36fa558 update gh actions 2023-06-07 10:52:53 -07:00
Jacky Zhao 1cb4dadf13 codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao 0813f127a3 fix darkmode script load 2023-06-06 20:58:26 -07:00
Jacky Zhao 4d3579ca98 darkmode scripts 2023-06-06 19:48:37 -07:00
Jacky Zhao 89e0311a98 embeds 2023-06-06 00:00:38 -07:00
Jacky Zhao 700036e84c callouts 2023-06-05 22:14:17 -07:00
Jacky Zhao 1406ee0f05 update spinners 2023-06-04 13:37:43 -04:00
Jacky Zhao 9ad89997a5 multi-core builds 2023-06-04 12:35:45 -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 3636c052eb link processing 2023-05-31 17:41:44 -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
BSD-Yassin 7b1da7a845
i18n: Update fr.toml (#313) 2023-04-27 11:12:56 -07:00
Jacky Zhao e482fa1097 fix: graph and tooltip sometimes not showing 2023-04-06 15:06:01 -07:00
Mattia Ippoliti ba7a968881
fix: padding for empty title callouts (#308) 2023-04-01 13:50:08 -07:00
Md Jawad Noor Asif db27557aa3
fix: search highlight not showing because for trailing slash (#306) 2023-03-30 07:14:06 -04:00
Mike Walton b7c305e002
adding myself to the showcase (#301) 2023-03-23 00:56:20 -05:00
Daniel Lazaro 74fe4d6813
docs: Update link to callouts documentation (#300) 2023-03-18 09:20:56 -07:00
Jacky Zhao d6c31595b3 deps: bump hugo-obsidian 2023-03-16 10:33:01 -07:00
Jacky Zhao aa5ab03d4a docs: update to account for github changes 2023-03-02 09:14:29 -08:00
Jacky Zhao ecba6071b8 deps: bump hugo-obsidian 2023-02-25 13:04:15 -08:00
Jacky Zhao 983efab94c fix: recent notes partial sorting 2023-02-12 16:46:11 -08:00
Dev Uni 10e41743e5
fix: Bad UI due to head.html (#284) 2023-02-07 08:38:20 -08:00
Simon Späti bde44fadf2
feat: Adding Twitter and Social image preview including description (#207) 2023-02-07 00:16:15 -08:00
Jacky Zhao 6885651f7b feat: max-width for large screens 2023-02-06 12:58:34 -08:00
Jacky Zhao 7df2bb6f5e fix: fix duplicate link click tracking 2023-02-05 12:01:49 -08:00
Jacky Zhao 11959de11c feat: add more plausible events 2023-02-05 11:34:39 -08:00
Jacky Zhao a73aca8ed9 feat: switch from GA to Plausible for analytics 2023-02-05 10:39:58 -08:00
Adam Brangenberg 93610e232b
feat: Remove leading slash of folders in graph view (#282) 2023-02-01 12:34:18 -08:00
Jacky Zhao 712dab5c8c docs: remove broken links from showcase 2023-01-31 11:00:28 -08:00
Olivér Falvai 77b3907b23
docs: Clarify Obsidian settings (#280) 2023-01-31 10:48:20 -08:00
herrwinfried 8fc63586c4
feat: Added Turkish translation (#275) 2023-01-29 12:14:11 -08:00
Apoorv Khandelwal 24c9777a52
feat: Embedding multimodal assets (#274) 2023-01-21 10:01:05 -08:00
Quadrubo 7a8811a184
added the liveReloadPort as an option for docker (#272) 2023-01-18 08:25:01 -08:00
chaosarium eb2f6aeca8
Fix callout behaviour inconsistent with Obsidian (closes #168) (#268) 2023-01-09 14:14:11 -08:00
Md Jawad Noor Asif b78008532f
feat: Added Bangla translations (#266) 2023-01-09 14:12:52 -08:00
Md Jawad Noor Asif c5b103c85f
fix: fix unicode broken tags (#261) 2023-01-03 22:10:25 -05:00
Adam Brangenberg 614a6222a1
refactor: General performance/style improvements (#262) 2022-12-29 10:43:41 -05:00
chaosarium dc43737896
fix edge cases link processing (#258)
Fixes https://github.com/jackyzha0/quartz/issues/176
2022-12-24 12:10:59 -05:00
toof ea37486309
fix: fix misspelling (#259) 2022-12-24 10:38:49 -05:00
chaosarium c1b0eafce6
feat: Added simplified Chinese translations (#257) 2022-12-22 10:34:21 -08:00
Jacky Zhao ce5df837f5 feat: latex in search results 2022-12-03 21:03:12 -08:00
Jacky Zhao 4cd6f7efdf fix: text highlighting 2022-11-30 18:00:12 -08:00
Apoorv Khandelwal 5a7936e23a
fix: Replacing "internal-link broken" with link to asset (#232) 2022-11-30 17:41:05 -08:00
Jon Erling Hustadnes 5fd707714f
feat: Added Norwegian localization (#242) 2022-11-27 10:55:43 -08:00
Filippo Andrea Sighinolfi 717a13a580
feat: Added italian localization in i18n/it.toml (#239) 2022-11-27 10:55:13 -08:00
Brendan Ang 5f3d430699
feat: add support for mermaid diagrams (#244) 2022-11-27 10:53:52 -08:00
Jacky Zhao 66f3e249fe fix: only run docker publish on main repository 2022-11-23 08:34:19 -08:00
Jacky Zhao e374e3abd4 fix: jump to search for operand 2022-11-21 23:36:27 -08:00
SafEight f08a76a738
fix: External links ending in .md don't get trimmed (#236)
Co-authored-by: SAF <saf@saf.saf>
fixes https://github.com/jackyzha0/quartz/issues/229
2022-11-21 13:05:46 -08:00
Morgan Gallant d80f6946c8
fix: Semantic Search: Use Operand Beta API (#235) 2022-11-21 08:54:45 -08:00
Jacky Zhao 120d104230 update config for search 2022-11-20 15:14:48 -08:00
Jacky Zhao e9aa6ae9e7 feat: docker docs, semantic search alpha 2022-11-20 15:09:58 -08:00
Apoorv Khandelwal c12af32a5a
feat: Dockerfile and automated container build (#230) 2022-11-20 14:03:53 -08:00
SafEight de2b6b9a1b
feat: Replace == with <mark> (#234)
Co-authored-by: SAF <saf@saf.saf>
2022-11-19 13:17:55 -08:00
Jacky Zhao 7f9f58860d feat: allow enableToc to override default no TOC on a per-page basis 2022-11-19 11:18:57 -08:00
jet457 151b9851d6
docs: add Abhijeet's math-wiki to the showcase (#228) 2022-11-19 11:10:41 -08:00
saucecoat d56a58044d
Added German translation (#223) 2022-10-29 23:08:44 -07:00
Conor 689201bfbd
feat: Add French translation (#221) 2022-10-26 09:12:35 -07:00
Jacky Zhao 9b72edcd9c Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-10-25 13:14:13 -07:00
Jacky Zhao 8704edcca2 deps: bump ubuntu version (closes #218) 2022-10-25 13:14:06 -07:00
Evan Cater 0a602eda1b
fix euler's identity (#220) 2022-10-24 09:13:35 -07:00
Javier Zaleta Martínez 72571a7588
feat: Add Spanish translation (#217) 2022-10-18 17:25:55 -07:00
Charles Chamberlain 3409a49f15
fix: Apply monospace style to all meta in a popover (#216) 2022-10-16 09:43:43 -07:00
Pavol Komlos 666ffebe90
Decode the heading id from split link (#214) 2022-10-12 08:21:28 -07:00
Seth 8ea1525df4
Add SethMB Work (#203) 2022-10-03 11:45:54 -07:00
Jacky Zhao dd11d56dd9 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-09-23 10:17:34 -07:00
Jacky Zhao cd7e2088d5 feat: hide TOC when no headers (closes #204) 2022-09-23 10:17:28 -07:00
Simon Späti 169ef442b9
Adding reference projects (#196)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-09-14 10:05:51 -07:00
DongDong Chen 8e3042df49
add my showcase : oldwinterの数字花园 (#192) 2022-09-14 10:05:20 -07:00
Jacky Zhao 2145e92b00 fix: make latex rendering size more simialr to obsidian 2022-09-12 11:08:07 -07:00
Jacky Zhao e6c7a4e1e2 fix: latex rendering bugs + patch for #195 2022-09-11 18:03:55 -07:00
Nikola Georgiev ca84da5b31
feat: Hide full path to file in Wikilinks by default (#195) 2022-09-11 17:05:14 -07:00
Jacky Zhao 0d1670adba Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-08-29 14:23:19 -04:00
Jacky Zhao 5c770f965a Update Quartz version in documentation 2022-08-29 14:23:04 -04:00
Andrii Yefremov ce55eca73b
Add Ukrainian translation (#191) 2022-08-29 14:15:18 -04:00
Jacky Zhao 591c4813ec deps: bump hugo-obsidian version 2022-08-28 01:09:52 -04:00
Jacky Zhao 83e7aec3c9 fix: tag list styling 2022-08-24 00:45:08 -04:00
Youssif Shaaban Alsager 25ba1159ad
feat: Add internationalization (i18n) support (#182) 2022-08-23 23:32:40 -04:00
Vincent Huang e38eaa94d6
Popover preview should show relevant heading (#180) 2022-08-20 21:31:06 -04:00
Jacky Zhao a78926ede5 feat: link previews to page-list (closes #173) 2022-08-11 11:42:16 -07:00
Jacky Zhao 5c76d8dad9 fix: make callout detection case-insensitive (closes #171) 2022-08-05 11:08:52 -07:00
Jacky Zhao 3dcc1f1106 feat: better graph scaling (closes #170) 2022-08-05 11:04:01 -07:00
Jacky Zhao ff770927fd
style: _callouts.scss simplification (#169) 2022-08-04 14:50:24 -07:00
Jacky Zhao 7ffc907907 fix: CJK search (closes #163) 2022-08-03 23:46:55 -07:00
Jacky Zhao 6dd4c64a4c fix: highlights being stripped in non-semantic search mode 2022-08-01 07:59:49 -07:00
Jacky Zhao 8fc6b8e28e docs: update, re-added debounce 2022-07-31 18:21:17 -07:00
Jacky Zhao b10b23a47b docs: add documentation for Operand Search, remove debounce 2022-07-31 18:02:06 -07:00
Jacky Zhao 23380d0519 fix: title not being selected properly, bump hugo-obsidian for uri fix 2022-07-31 16:55:25 -07:00
Jacky Zhao dd047305af deps: bump hugo-obsidian to fix bug of writing to non-existent directory during build 2022-07-31 12:33:36 -07:00
Jacky Zhao 54a8fd4a56 deps: bump hugo-obsidian to properly copy linkmap 2022-07-31 12:24:53 -07:00
Jacky Zhao 5ef9aad501 feat: add support for semantic search using operand 2022-07-31 12:16:36 -07:00
Jacky Zhao 14b89105dc refactor: move search utils to util.js 2022-07-31 10:54:23 -07:00
Jacky Zhao 93d039fe7c deps: bump hugo-obsidian version 2022-07-31 10:14:36 -07:00
Jacky Zhao 234c707a93 docs: improve scss structure and admonition styling, update docs 2022-07-30 18:46:19 -07:00
Emile Bangma 728d8529ec
Support Admonition callouts (#166) (closes #88) 2022-07-30 17:29:26 -07:00
Jacky Zhao e142f37e8d Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-07-19 09:03:26 -07:00
Jacky Zhao d747b19e61 docs: copy edits 2022-07-19 09:03:19 -07:00
Pranav M 1f3da4b829
feat: edit the clipboard button to change border colour on success (#162)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-07-18 08:45:36 -07:00
Jacky Zhao e15e39155d fix: give precedence to date created over last modified if defined (#101) 2022-07-15 14:26:31 -07:00
Jacky Zhao dff5ae0d4d style: improve header anchor styling 2022-07-14 13:09:21 -07:00
Jacky Zhao b2555ced61 feat: add description section to section/term/taxonomies, fix header margin 2022-07-14 12:02:54 -07:00
Jacky Zhao 7ccff2cf3d fix: styling on page-list for smaller screens 2022-07-14 11:49:47 -07:00
Jacky Zhao e0b6606d50 fix: make section-li scss more generic 2022-07-14 10:38:34 -07:00
Jacky Zhao d7a42a2fd7 feat: improve styling for lists, fix anchor offset 2022-07-14 10:30:07 -07:00
Jacky Zhao 422b6cc25b feat: css typography improvements 2022-07-13 23:51:33 -07:00
Jacky Zhao 22c8981bb9 feat: css refactor for easy font change 2022-07-13 23:37:54 -07:00
Jacky Zhao 8b2a82a96a fix: change / to use base url 2022-07-13 22:27:13 -07:00
y1450 81af8c459b
fix: remove console log (#159) 2022-07-13 15:02:11 -07:00
Jacky Zhao ffe22689eb feat: use floating-ui for better popover positioning 2022-07-13 15:01:50 -07:00
Jacky Zhao c1b8fe1221 feat: restyle search icon 2022-07-13 14:32:32 -07:00
Jacky Zhao b7a619bbd7 fix: tabsize not being respected 2022-07-12 14:37:10 -07:00
Jacky Zhao 74993d19b7 docs + fix: broken partial and description of enableGitHubEdit 2022-07-05 15:42:57 -07:00
rphla 25a4d3b6e1
Add GitHub "edit" button (#157) 2022-07-05 15:39:29 -07:00
Jacky Zhao aaf31f419e fix: copy code block logic for non code pages 2022-07-03 11:50:13 -07:00
Geoffrey Garrett f54df35767
Copy to clipboard feature for code block (#152)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-07-03 11:42:35 -07:00
Aiden Bai 白宇彤 015ed4cfa2
Fix `width: auto` for SPA routing (#156) 2022-07-02 19:40:18 -07:00
Jacky Zhao a8137edf24 fix: adjust weird colours for err highlighting 2022-07-02 17:14:17 -07:00
Jacky Zhao eda370334a fix: image scaling for md-style links (closes #155) 2022-07-01 11:27:50 -07:00
Geoffrey Garrett d3e20b8b94
Added optional rendering of code block titles (#148) 2022-07-01 11:03:52 -07:00
Jacky Zhao 8d7a7b712f fix: non-SPA fn defs (closes #154) 2022-07-01 11:03:04 -07:00
Jacky Zhao 0896814959 docs: remove test image from hosting 2022-06-29 17:35:29 -07:00
Jacky Zhao 8b2fba895a feat: image scaling (closes #131) 2022-06-29 17:34:05 -07:00
Jacky Zhao e884f4927f fix: anchor formatting (closes #141) 2022-06-29 17:17:53 -07:00
Jacky Zhao 2b0482ae4c docs: fix page weight 2022-06-29 17:03:41 -07:00
Jacky Zhao 8a100edeb8 docs: polish and update 2022-06-29 16:57:36 -07:00
Jacky Zhao 200c605142 feat: enable raw html by default (fixes #143) 2022-06-29 16:16:06 -07:00
Jacky Zhao f2078ee621 fix: prefix images with base url for non-root quartz 2022-06-29 16:15:40 -07:00
Jacky Zhao 916c51c19c
Merge pull request #150 from aidenybai/bump-million 2022-06-28 23:21:25 -07:00
Aiden Bai 67a7ba37e8
Bump million to 1.11.3 2022-06-28 21:43:28 -07:00
Jacky Zhao 72941965ab
Merge pull request #146 from geoffreygarrett/hugo 2022-06-27 16:27:57 -07:00
Geoffrey Garrett b732293f65 fix(head.html): Adds robustness to `config.yaml` favicon definitions
Initially assumed that `href` definitions should have `/...` as their
pattern, and `baseURL` would always end with `/`, however the omission
of `/` as the prefix of the former and suffix of the latter
simultaneously, would result in broken favicon paths. Final comment:
`..///...` is not breaking, which is worst case scenario with this fix.
2022-06-28 01:21:22 +02:00
Geoffrey Garrett 7070a1992a docs(config.md): Fixed multi-favicon examples and general favicon explanation throughout 2022-06-28 01:15:33 +02:00
Geoffrey Garrett 997937af5a docs(config.md): Added short explainer on favicons 2022-06-28 00:45:48 +02:00
Geoffrey Garrett a334b45b17 docs(content/notes/config.md): Adds documentation for the new favicon support 2022-06-27 22:05:35 +02:00
Geoffrey Garrett 473ea2c66f feat(layouts/partials/head.html): Adds general favicon support with dict and string input format 2022-06-27 22:04:32 +02:00
Jacky Zhao 34b0353797
Merge pull request #140 from DhammaCharts/hugo 2022-06-07 08:43:52 -07:00
DhammaCharts 52a185f73b change enableGlobalGraph to false 2022-06-06 16:49:01 +01:00
DhammaCharts 69c74ca6b5 minor adjustment 2022-06-06 16:48:16 +01:00
DhammaCharts ab809249c8
Update layouts/partials/head.html
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-06-06 16:42:53 +01:00
DhammaCharts 84c75d0546
Merge branch 'hugo' into hugo 2022-06-06 12:56:47 +01:00
Jacky Zhao dbd4fb7595
Merge pull request #139 from aidenybai/prerender-latex 2022-06-03 10:59:18 -07:00
DhammaCharts a275123be2 better font behaviour 2022-06-02 08:35:28 +01:00
DhammaCharts c88f31c364 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00
DhammaCharts d261655d96 remove unnecessary ternary 2022-06-02 07:49:09 +01:00
DhammaCharts c0800a8749 change baseURL back to original 2022-06-02 07:45:44 +01:00
DhammaCharts ac0dd50c04 uncomment window.Million 2022-06-01 21:30:40 +01:00
DhammaCharts e809896338 increase scale 2022-06-01 21:22:31 +01:00
DhammaCharts 19606ba63d add www. 2022-06-01 21:19:03 +01:00
DhammaCharts 1e237ef677 change baseURL 2022-06-01 20:15:44 +01:00
DhammaCharts 5a1fbc9374 Improve graph display, options and ability to have a global graph on the home page, local graphs on subpage. 2022-06-01 13:49:27 +01:00
Aiden Bai a1293f820a
Prerender latex 2022-05-29 20:40:44 -07:00
Jacky Zhao 84c6e1efed
Merge pull request #138 from aidenybai/add-footer-config 2022-05-28 23:27:54 -07:00
Aiden Bai 8673a7bc3d
Add option to toggle footer 2022-05-28 22:52:18 -07:00
Jacky Zhao 775a1b2490
Merge pull request #137 from aidenybai/fix-non-spa-routing 2022-05-27 19:21:05 -07:00
Aiden Bai 006b74ec6f
Fix formatting 2022-05-27 18:45:42 -07:00
Aiden Bai 8aba612a00
Fix non-spa fallback 2022-05-27 18:42:01 -07:00
Jacky Zhao cbc2bea413
Merge pull request #136 from aidenybai/custom-progress-bar-color 2022-05-27 18:32:49 -07:00
Aiden Bai ae240ff82c
Remove redundant CSS rule 2022-05-27 18:31:36 -07:00
Jacky Zhao ba586adc76
Merge pull request #135 from aidenybai/bump-million 2022-05-27 17:14:55 -07:00
Aiden Bai 159deabfe1
Bump to 1.9.6 2022-05-27 16:14:17 -07:00
Aiden Bai 44984cdaf4
Add support for progress bar 2022-05-27 13:27:13 -07:00
Aiden Bai 683cb53cbd
Bump million to 1.9.5 2022-05-27 13:19:19 -07:00
Jacky Zhao 232bd2f016
Merge pull request #134 from aidenybai/add-prefetching-within-graph 2022-05-27 11:01:20 -07:00
Aiden Bai e0fd9570d7
Bump million to 1.9.4 2022-05-27 09:49:28 -07:00
Aiden Bai bc32bbeaed
Bump milliomn to 1.9.3 2022-05-27 09:02:01 -07:00
Aiden Bai efb6c7845f
Add prefetch to graph 2022-05-27 08:40:00 -07:00
Aiden Bai bd316d8249
Bump million to 1.9.2 2022-05-27 08:39:44 -07:00
Jacky Zhao 0293c12217 feat: recent posts section/partial 2022-05-23 22:25:13 -07:00
Jacky Zhao 0439c163a0 fix: js not executing if spa disabled 2022-05-20 16:50:56 -04:00
Jacky Zhao 0b6711c218 fix: tag boxes overlapping for content with many tags (closes #130) 2022-05-14 16:47:50 -04:00
Jacky Zhao ed9a8efd1f fix inline link highlighting, safer latex render 2022-05-05 21:11:23 -04:00
Jacky Zhao e302f6c423 fix: more generic style to match bad nesting generated by popover interp 2022-05-05 20:35:32 -04:00
Jacky Zhao b21b27d1d3 fix: clean wikilinks and render latex in popover 2022-05-05 20:30:55 -04:00
Jacky Zhao 364aee36fc fix: merge conf 2022-05-05 01:03:09 -04:00
Jacky Zhao cea0f3eb74 feat: contextual backlinks (closes #106) 2022-05-05 00:58:50 -04:00
Jacky Zhao 8b855b522a
Merge pull request #125 from aidenybai/fix-latex 2022-05-04 11:40:38 -04:00
Aiden Bai 7b3696b877
Remove pnpm debug log 2022-05-04 08:39:25 -07:00
Aiden Bai b4ff12ca0b
Fix latex 2022-05-04 08:10:59 -07:00
Jacky Zhao b67a389bea
Merge pull request #124 from aidenybai/hugo 2022-05-03 13:59:02 -04:00
Aiden Bai 2b5c03c972
Remove redundant URL construction 2022-05-03 10:55:45 -07:00
Aiden Bai aaed5dc1f1
Support /path root sites 2022-05-03 10:54:39 -07:00
Aiden Bai 1a5d158fce
Support active node with other data at end of url 2022-05-03 10:38:41 -07:00
Jacky Zhao a09974446d
Merge pull request #123 from aidenybai/fix-popover 2022-05-03 13:21:32 -04:00
Aiden Bai 9fc71603ba
Merge 2022-05-03 10:18:41 -07:00
Aiden Bai d38f9bec70
Rename API and generalize router API 2022-05-03 10:16:09 -07:00
Aiden Bai 771ebd8031
Merge 2022-05-03 10:07:38 -07:00
Aiden Bai e4cc625c33
Add future note about init function 2022-05-03 09:34:27 -07:00
Aiden Bai 白宇彤 3789df80e4
Merge branch 'hugo' into fix-popover 2022-05-03 09:33:00 -07:00
Jacky Zhao 037426217c
Merge pull request #122 from aidenybai/fix-active-graph-node 2022-05-03 12:29:26 -04:00
Aiden Bai e646cdb0be
Use explicit regex for trailing slash trim 2022-05-03 09:27:25 -07:00
Aiden Bai 8d092a3a4a
Remove unnecessary 'url' argument in graph.html 2022-05-03 09:22:51 -07:00
Aiden Bai 32c79a561f
Remove unnecessary 'url' argument in graph.html 2022-05-03 09:21:44 -07:00
Aiden Bai 3c660dd9b5
Remove unnecessary 'url' param in drawGraph 2022-05-03 09:20:01 -07:00
Aiden Bai 4cca3c1f2d
Peg router version 2022-05-03 09:04:15 -07:00
Aiden Bai 9d3bbd6076
Fix active node on graph 2022-05-03 08:53:18 -07:00
Aiden Bai 9c71f07355
Enable config for testing 2022-05-03 08:48:35 -07:00
Aiden Bai 77485b754d
Fix popover 2022-05-03 08:47:42 -07:00
Jacky Zhao 6e6dd4cb0b fix: trim trailing slash when calculating popover 2022-05-03 10:57:20 -04:00
Jacky Zhao 81fe2d2493 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-05-03 10:44:56 -04:00
Jacky Zhao 24d08d580d cfg: make SPA optional 2022-05-03 10:43:22 -04:00
Jacky Zhao 321e19dc41
Merge pull request #121 from benbohmer/patch-1 2022-05-03 09:48:50 -04:00
Jacky Zhao 12d33619a2
Merge pull request #120 from straightupjac/fix/github-info 2022-05-03 09:47:48 -04:00
benbohmer 97607c3ca5
fix: keep / at end of URL to avoid redirects
Removed strings.TrimRight "/" in line 10 to keep the trailing slash at the end of URLs in regular links. This avoids having every single internal link being a 301 redirect.
2022-05-03 09:10:45 +02:00
straightupjac 4197ad460a fix github info 2022-05-03 01:51:15 -04:00
Jacky Zhao fc89ff2680 fix: broken semi and graph min-height 2022-05-02 13:00:41 -04:00
Jacky Zhao e9a33c04b5 fmt: remove semis for good 2022-05-02 12:56:44 -04:00
Jacky Zhao b0e15e0cbc
Merge pull request #118 from aidenybai/add-router 2022-05-02 12:19:26 -04:00
Jacky Zhao 9ba0a4b34f fmt: remove semis :) 2022-05-02 12:14:51 -04:00
Aiden Bai f1b85fb6d9
Fix clarification comment 2022-05-02 09:10:40 -07:00
Jacky Zhao 66304da027
Merge pull request #119 from aidenybai/add-prettier
Add prettier config
2022-05-02 12:06:57 -04:00
Aiden Bai 40d216759c
Expand template 2022-05-02 09:05:02 -07:00
Aiden Bai 5c602ab16f
Add clarification comments 2022-05-02 09:04:36 -07:00
Aiden Bai 87144fca21
Use semi: false for prettier config 2022-05-02 08:57:25 -07:00
Aiden Bai a9523dd39b
Add prettier config 2022-05-01 22:08:14 -07:00
Aiden Bai bcb166c21c
Add router 2022-05-01 22:06:33 -07:00
Jacky Zhao 416dc0b85c fix: add update for local hugo-obsidian on make update 2022-04-30 13:13:30 -07:00
Jacky Zhao b8a660e208 feat: copyable header anchors (fixes #86) 2022-04-30 13:10:12 -07:00
Jacky Zhao ec86cca97b Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-28 15:53:57 -07:00
Jacky Zhao 87b5a7a251 feat: show graph titles on zoom (fixes #92) 2022-04-28 15:49:16 -07:00
Jacky Zhao c8d390dbc5 fix: always hide popover on mobile (fixes #104) 2022-04-28 13:45:29 -07:00
Jacky Zhao 3c7ece5405 fix: append trailing slash, fixes #111 2022-04-28 10:48:31 -07:00
Jacky Zhao f7027e7ecd
Merge pull request #108 from exu3/patch-1 2022-04-20 09:20:21 -07:00
Ella 0cfd93c57c
Fix another typo 2022-04-17 02:11:17 -07:00
Ella 3f8c473678
Fix typo: recomment -> recommend 2022-04-17 01:33:16 -07:00
Jacky Zhao f05ff5e62d fix: add dropshadow to popover, cleanup animation 2022-04-05 23:19:33 -07:00
Jacky Zhao 12ed9722d8 fix: popover selection wrongly including line breaks 2022-04-05 22:43:11 -07:00
Jacky Zhao 887d4d4f5e deps: bump hugo -> v0.96.0 2022-04-05 21:40:59 -07:00
Jacky Zhao f9c7cdf928 fix: check for src before attempting to add popover 2022-04-05 20:44:39 -07:00
Jacky Zhao 2d55b6ac2e fix: missing whitespace chomp in link render hook 2022-04-05 18:07:40 -07:00
Jacky Zhao d5884aedb7 fix: wikilink patch not applying to transformed text like apostrophes 2022-04-05 14:14:19 -07:00
Jacky Zhao 66eaa444a4 fix: wikilink image relURL for images with spaces 2022-04-05 14:08:36 -07:00
Jacky Zhao 0ddc48a452 fix: wikilink-like text in code fences #95, #97 2022-04-05 13:47:24 -07:00
Jacky Zhao cd19159c53 feat: wikilink img support 2022-04-05 12:47:28 -07:00
Jacky Zhao 7808c66c4d fix: align footer links 2022-04-05 09:41:13 -07:00
Jacky Zhao a7abc6ab96 docs: make update command and clarify update steps/potential danger 2022-04-05 00:09:56 -07:00
Jacky Zhao 9509a64354 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-05 00:02:48 -07:00
Jacky Zhao 53242b1e57 add update target to Makefile 2022-04-05 00:02:37 -07:00
Jacky Zhao 3ce6944c18
Merge pull request #93 from meleu/patch-3 2022-04-04 23:56:28 -07:00
Jacky Zhao 3cec4fd950 update screenshot 2022-04-04 23:30:28 -07:00
Jacky Zhao e245505082 feat: hide toc for short notes 2022-04-04 23:25:24 -07:00
Jacky Zhao fc4b9ded76
Merge pull request #94 from meleu/patch-4 2022-04-04 23:20:43 -07:00
meleu 27c4761fe0
link to home goes to baseURL 2022-04-04 20:15:40 -03:00
meleu 3583265f80
docs: warn about possible lost of customization 2022-04-04 17:30:23 -03:00
Jacky Zhao 3781b67707
Merge pull request #91 from meleu/patch-2 2022-04-04 13:08:42 -07:00
meleu 671fe05312
padding and border-radius matching bottom cards
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-04-04 17:07:43 -03:00
Jacky Zhao 1613511f39 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-04 09:45:05 -07:00
Jacky Zhao acab488784 re-add obsidian file 2022-04-04 09:44:58 -07:00
meleu ff91dcd196
Merge branch 'jackyzha0:hugo' into patch-2 2022-04-03 22:14:12 -03:00
meleu a287d11246 add a collapsible ToC 2022-04-03 22:12:55 -03:00
Jacky Zhao 575288ece9
Merge pull request #88 from meleu/patch-2 2022-04-03 17:57:46 -07:00
Jacky Zhao 25b5ac43dd fix: favicon not showing on non-root domain #89 2022-04-03 17:43:37 -07:00
meleu 1d9c0e4a44 use "enableToc: false" 2022-04-03 16:31:29 -03:00
meleu e62d512d95 disable ToC if frontmatter has "enableToc: false" 2022-04-03 16:29:10 -03:00
meleu 8f15c5f8c1
disable ToC if enableToc: false 2022-04-03 16:22:32 -03:00
Jacky Zhao efeaf9b49c Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-03 11:44:39 -07:00
Jacky Zhao 91c4e3fb3a fix: multiline code block #87 2022-04-03 11:44:33 -07:00
Jacky Zhao 22f11711b2
Merge pull request #85 from meleu/patch-1
Ah my git was being really weird with cases :')) thank you
2022-04-03 08:17:13 -07:00
meleu 5c3ef884c7
duplicated file 2022-04-03 11:19:21 -03:00
Jacky Zhao 16b177ce66 README update 2022-04-02 21:04:20 -07:00
Jacky Zhao 14c6181d24 bump hugo version v0.82 -> v0.92.2 2022-04-02 20:37:42 -07:00
Jacky Zhao e6e04c03c4 fix latex misrendering 2022-04-02 20:34:55 -07:00
Jacky Zhao 146e975932 bump hugo obsidian, fix backlinks for subpathed quartz, update homepage 2022-04-02 20:21:16 -07:00
Jacky Zhao c117e38899 feat: wikilinks implementation 2022-04-02 20:06:31 -07:00
Jacky Zhao 4fd983277e fix: cjk support + demo page 2022-04-02 17:38:39 -07:00
Jacky Zhao cc86136bcb feat: basic latex support 2022-04-02 17:00:14 -07:00
Jacky Zhao 8e083d4a93
Merge pull request #83 from meleu/patch-2 2022-04-02 14:53:05 -07:00
meleu 03b574b160 cleanup 2022-04-02 18:51:45 -03:00
meleu a469653f75 separate contact links semantically 2022-04-02 18:50:58 -03:00
Jacky Zhao c51573efa9 feat: grey out broken links 2022-04-02 13:34:26 -07:00
Jacky Zhao 902d0f2a0f Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-02 12:59:47 -07:00
Jacky Zhao 1ddd15afc6 fix: non-unicode character in popover and search #67, #68 2022-04-02 12:59:38 -07:00
meleu 16f8cd7100
separate links with &ZeroWidthSpace; 2022-04-02 13:37:12 -03:00
Jacky Zhao 9c5ecccf25
Merge pull request #82 from meleu/patch-1 2022-04-01 14:17:35 -07:00
meleu e3cd531c53
fix custom.scss path 2022-04-01 18:13:49 -03:00
Jacky Zhao 3674df48b8 fix pagination styling 2022-04-01 10:13:01 -07:00
Jacky Zhao 9e8c5587e4 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-03-31 23:16:00 -07:00
Jacky Zhao 6605b13b86 more troubleshooting, backlinks reference private page fix 2022-03-31 23:15:54 -07:00
Jacky Zhao 6edc979896
Merge pull request #71 from siyangsun/patch-1 2022-03-21 09:15:35 -07:00
Siyang fc43922445
add to showcase and fix link to file 2022-03-20 22:37:05 -07:00
Jacky Zhao 54a68e6e5c patch image 2022-03-18 10:53:39 -07:00
Jacky Zhao a6ab2f92ef add update 2022-03-16 17:54:24 -07:00
Jacky Zhao fda481fbb9 fix: bump hugo-obsidian version to account for contentIndex paths on windows 2022-03-15 01:12:08 -07:00
Jacky Zhao 94e987dab5 feat: better titles for empty pages #61 2022-03-15 00:37:56 -07:00
Jacky Zhao e981c76ed4
Merge pull request #65 from claudio4/fix-text 2022-03-09 10:11:36 -08:00
Claudio Yanes f70128a3de
Prevent overflow of long links and words
When a word (or any string withtout breakpoints (spaces, dashes....), making links the most common place where this becamoes an issue)  is wider than its container, the text will simply overflow any container, including the viewport. This commit fixes this behaviour by making the word-drap strategy of the browser more aggresive.
2022-03-09 17:58:01 +00:00
Jacky Zhao 651bfc5cd2
Merge pull request #62 from claudio4/hugo 2022-03-07 10:45:07 -08:00
Claudio Yanes 6079420178 Merge branch 'jackyzha0-hugo' into hugo 2022-03-07 18:28:14 +00:00
Claudio Yanes b96c60edfc Merge branch 'hugo' of https://github.com/jackyzha0/quartz into jackyzha0-hugo 2022-03-07 18:27:45 +00:00
Claudio Yanes 978d5ca1ae Format JS 2022-03-07 18:25:02 +00:00
Jacky Zhao 907270992d fix: hide popover on mobile to prevent overflow 2022-03-04 23:55:07 -08:00
Claudio Yanes 6f9283e95b Update makefile and docs
The artifacts produced by hugo-obsidian are now expected to be placed in
the assets/indices directory. This commit reflects this change in the
Makefile and in the docs.
2022-03-04 22:27:21 +00:00
Claudio Yanes 0fad5570d3 Add .gitkeep to assets/indices 2022-03-04 04:14:42 +00:00
Claudio Yanes dc9b421e21 Remove unnecessary scrollbars
The margin property can escape the parent node and move it alongside
its child. This happens with singlePage div and the body, resulting in
scrollbars appearing as the body has the size of the viewport but
does not align with it. This phenomenon can be always observed
in the vertical axis and it can also be observed in the horizontal axis
when the viewport it’s not wide enough (mostly in mobile).

Using paddings prevents this “extra space” from scraping and displacing
the body.

Also, the value 100vw does not take into account the space taken by the
vertical scrollbar, thus making the body wider than the actual viewport,
producing a horizontal scrollbar.
2022-03-04 04:12:43 +00:00
Claudio Yanes 8779e72c77 Add attribute property to scripts from jsdelivr
Adding the integrity attribute protects the website (by refusing to load
the script) against malicious modifications of the script
in the case of jsdelivr gets hacked
2022-03-04 03:34:45 +00:00
Claudio Yanes 7f6523337c Move popover to the end of the page
The popover script doesn’t ever start in until the DOM has finished
Loading, so wait for the script to be downloaded and parsed before
Showing the content to the user makes no sense.
2022-03-04 03:24:32 +00:00
Claudio Yanes 7e0f2e4449 Fix fetchData
The fetchData function suffer from a race condition. If the function is
called before the promise finishes, it will result in another pair of
HTTP request. This does not only make the function useless but
Actually, it makes it harmful as the data might be redownloaded twice.

Now fetchData is not a function but rather the promise by itself.
Previous callers are expected to await the variable instead, this
should be not concern as awaiting a promise multiple time in
JavaScript is completely safe.
2022-03-04 02:25:30 +00:00
Claudio Yanes 1313bd9779 Move css and js to appropriate files
Having the CSS and JS in the html template produces pages larger
than necessary, as each page need to contain all the js/css.
Separating them in appropriate files allow the browser to just download
them once and use them for all the pages. This is even more effective
with an aggressive cache policy for the js and css, something that can
be done without fear thanks to the implemented cache-busting.
Also, having then in separate files allows us to use Hugo pipelines
for minimizing the code.
2022-03-04 02:07:51 +00:00
Jacky Zhao 5234fae080 fix backlinks not using baseurl 2022-02-28 08:24:29 -08:00
Jacky Zhao 0ee0855e1c bump hugo-obsidian to support root 2022-02-28 07:30:59 -08:00
Jacky Zhao e06e341468 fix: explicitly set root as current directory to fix ignore files 2022-02-28 07:14:55 -08:00
Jacky Zhao 73e526a7d5 add screenshot to readme 2022-02-23 12:28:25 -05:00
Jacky Zhao cdc4f1a840 fix: relink search button (move outside content load listener) 2022-02-22 13:36:08 -05:00
Jacky Zhao 714b4fcfa3 fix links being broken for pages with spaces 2022-02-20 21:40:10 -05:00
Jacky Zhao 9c04ca0266 rtl docs 2022-02-17 10:49:41 -05:00
Jacky Zhao 388a2bf78b docs updates 2022-02-17 10:44:39 -05:00
Jacky Zhao f192f9a23d fix #54: root all image urls 2022-02-15 23:03:02 -05:00
Jacky Zhao 3b3e6ec3b2 fix relative pathing for dynamic fetch 2022-02-15 22:54:20 -05:00
Jacky Zhao 8e85e274f6 change output to static instead of data 2022-02-15 19:42:45 -05:00
Jacky Zhao fcd5d2807d feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao 4587b13360 feat: add rtl support as part of #47 2022-02-15 17:12:08 -05:00
Jacky Zhao fb9ea8dcb8 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-02-15 16:52:49 -05:00
Jacky Zhao c520db4882 fix: #50, change css load order 2022-02-15 16:52:32 -05:00
Jacky Zhao 10f9843bb6
Merge pull request #51 from brandonkboswell/patch-1 2022-02-15 14:51:29 -05:00
Jacky Zhao 0dc51ff39c Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-02-15 14:50:34 -05:00
Jacky Zhao c35086c510 visibility fix 2022-02-15 14:50:25 -05:00
Brandon Boswell 31297b7e5a
Added to the Showcase 2022-02-12 22:35:03 -05:00
Jacky Zhao fa3bc3de92
Merge pull request #48 from earnestma/earne/configurable-page-toc 2022-02-11 17:24:54 -05:00
earnest ma 41c443dbf0
Add disableToc parameter to not show TOC on a page 2022-02-11 17:15:28 -05:00
Jacky Zhao a271fb9d74
Merge pull request #46 from adube/patch-1 2022-01-31 12:28:40 -08:00
Alexandre Dubé 49cdca5dfc
Specify Hugo requires extended Sass/SCSS version
Hugo needs to be installed with its "extended" Sass/SCSS version, otherwise this template does not work.
2022-01-31 15:18:26 -05:00
Jacky Zhao 9645f00317 link fixing 2022-01-27 09:38:28 -08:00
Jacky Zhao 57ebf4c21c underscore fix, fix relative path being weird for graph 2022-01-10 13:08:50 -08:00
Jacky Zhao 54e3e071d1 fix popover regex 2022-01-10 09:00:45 -08:00
Jacky Zhao d46e223831 revert baseurl fix 2022-01-10 08:51:00 -08:00
Jacky Zhao 6f9a29c174 various path fixes 2022-01-10 08:49:29 -08:00
Jacky Zhao 532bc61025 set relativeUrls to true 2022-01-05 19:42:13 -05:00
Jacky Zhao 99aea48260 docs update 2022-01-04 11:39:22 -05:00
Jacky Zhao 4a3766db56 update featurelist 2022-01-03 16:37:24 -05:00
Jacky Zhao 4e639979f8 fix copy selection 2022-01-03 15:36:58 -05:00
Jacky Zhao e49a1ac9db made link preview optional 2022-01-03 13:22:04 -05:00
Jacky Zhao 4a3c4fdef5 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao 2b432d7f0b fix flex gap 2022-01-02 20:02:47 -05:00
Jacky Zhao 7507fd2991 fix search styling 2022-01-02 19:49:41 -05:00
Jacky Zhao ca886e4075 fix render link for apostrophe 2021-12-28 14:28:08 -05:00
Jacky Zhao 3722e600ee bump hugo-obsidian 2021-12-27 20:52:30 -05:00
Jacky Zhao efeaf0f4e4 add pagination to section, fix graph linking 2021-12-27 20:16:21 -05:00
Jacky Zhao 1a8cdaad24 remove console.log 2021-12-27 19:43:01 -05:00
Jacky Zhao e4caa0d1d7 add taxonomy and term lists 2021-12-27 19:35:42 -05:00
Jacky Zhao a45856d788 fix last modified not working for capitalized pages 2021-12-27 17:53:33 -05:00
Jacky Zhao dbe9b338cc fix capitalization 2021-12-27 17:44:39 -05:00
Jacky Zhao 000fcdbf99 fix casing 2021-12-27 17:43:27 -05:00
Jacky Zhao 612c44d719 modify obsidian 2021-12-27 17:34:53 -05:00
Jacky Zhao e1911a58ff enable last modified info 2021-12-27 17:28:53 -05:00
Jacky Zhao b4e2697116 content section 2021-12-27 15:59:19 -05:00
Jacky Zhao 094ab9d064 dedupe backlinks 2021-12-27 13:15:10 -05:00
Jacky Zhao 39592347cc add graph depth config 2021-12-27 13:06:58 -05:00
Jacky Zhao 165d33810d base tags 2021-12-26 21:13:21 -05:00
Jacky Zhao 6fbfa7170b various font and colour fixes 2021-12-26 00:09:15 -05:00
Jacky Zhao 43837f9e2e add makefile, fix link padding, test capitalization 2021-12-25 23:45:30 -05:00
Jacky Zhao 2ba01c8311 fix untitled #36 2021-12-24 15:51:37 -05:00
Jacky Zhao 114b7ca913 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2021-12-24 09:48:41 -05:00
Jacky Zhao 5bd5642c99 add toLowerCase to id 2021-12-24 09:48:22 -05:00
Jacky Zhao 48d01810c4 fix config setting, fix font size for h1 in article 2021-12-23 14:40:59 -08:00
Jacky Zhao 3a98c8b554 actually display site title 2021-12-23 14:32:47 -08:00
Jacky Zhao 69c86e407f update subdomain docs 2021-12-23 14:21:39 -08:00
Jacky Zhao 56d2382c28 fix relative link styling, change graph and backlinks to refer to name rather than path 2021-12-23 14:05:27 -08:00
Jacky Zhao 091be7040b
Create CODE_OF_CONDUCT.md 2021-12-23 13:37:29 -08:00
Jacky Zhao 09b5522a48 Update issue templates 2021-12-23 13:22:22 -08:00
Jacky Zhao b9d7adafcc
Create FUNDING.yml 2021-12-23 13:18:03 -08:00
Jacky Zhao afeb18212d
Merge pull request #28 from juaoose/overflow 2021-12-02 20:06:18 -08:00
Juaoose bc90955959 remove horizontal scrollbar 2021-12-02 22:58:34 -05:00
Jacky Zhao c64322ad3f remove bad wikilink 2021-11-20 22:55:53 -08:00
Jacky Zhao 48eb9ebc5f better search, fix spacing support, bump hugo-obsidian 2021-11-20 22:53:26 -08:00
Jacky Zhao 82ba843e42 search styling 2021-11-15 15:54:18 -08:00
Jacky Zhao 8ca31df3f2 search patch 2021-10-31 09:59:38 -07:00
Jacky Zhao df23b99951 more search improvements 2021-10-30 23:27:33 -07:00
Jacky Zhao 6005a2e0a0 css fixes 2021-10-27 20:10:04 -07:00
Jacky Zhao de940d6a4b update graph redir 2021-10-26 17:06:00 -07:00
Jacky Zhao 806d11f874
Merge pull request #23 from bur3ku/hugo 2021-10-26 17:03:07 -07:00
Blake Allen 1fc2da4fe2 Merge branch 'hugo' of https://github.com/bur3ku/quartz into hugo 2021-10-26 16:58:37 -07:00
Blake Allen 9292de6333 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen 2477662404
Merge branch 'hugo' into hugo 2021-10-26 12:46:03 -07:00
Blake Allen a14d06aa3d fix conflict fix 2021-10-26 12:44:25 -07:00
Blake Allen e0535dbe32 fix conflict 2021-10-26 12:43:55 -07:00
Blake Allen 8eca1e60f7 change %20 in node labels to whitespace, change %20 in node hrefs to hyphen 2021-10-26 12:36:20 -07:00
Jacky Zhao 03bb3a3bae normalize search styling 2021-10-25 15:06:29 -07:00
Jacky Zhao f7b89db8ee search fix 2021-10-25 15:00:55 -07:00
Jacky Zhao 1835b97a7a better homepage 2021-10-24 23:45:55 -07:00
Jacky Zhao f56642f13c forgot string lol 2021-10-24 23:32:55 -07:00
Jacky Zhao 22a9c0ddfc docs updates, add search to main page, fix redir bug 2021-10-24 23:31:09 -07:00
Jacky Zhao c1c061fbea bump docs 2021-10-24 23:17:20 -07:00
Jacky Zhao 6fd19069de search improvements 2021-10-24 23:17:13 -07:00
Jacky Zhao 299533a4f4 bump hugo-obsidian version 2021-10-24 23:17:00 -07:00
Blake Allen e1366ecb61 fix accidental code 2021-10-22 18:56:26 -07:00
Blake Allen 776ef084c9 fix last commit 2021-10-22 18:32:57 -07:00
Blake Allen fc00ad5bff fix for notes with spaces not linking properly 2021-10-22 14:04:09 -07:00
Jacky Zhao 228f96e74d
Merge pull request #14 from juaoose/hugo
fix product typo in external hosting section
2021-08-31 18:32:14 -04:00
Juan José Rodríguez 071984a12d fix product typo in external hosting section 2021-08-31 16:40:31 -05:00
jackyzha0 ae2f7efde0 update showcase 2021-08-28 20:58:14 -04:00
jackyzha0 cb38667c1d Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2021-08-27 14:08:18 -04:00
Jacky Zhao 27c33f8334
Merge pull request #9 from brechtcs/template
Execute darkmode script before first render
2021-08-13 17:45:32 -04:00
Brecht Savelkoul f9920f6d73 Execute darkmode script before first render 2021-08-13 22:50:02 +02:00
Jacky Zhao 8850976d8d
Merge pull request #8 from SlRvb/patch-1
Add SlRvb Site to Showcase
2021-08-12 23:49:05 -04:00
SlRvb bb6a1e8c34
Add SlRvb Site to Showcase 2021-08-12 20:46:23 -07:00

Diff Content Not Available