Jacky Zhao
95b1141b9d
fix: include anchor when normalizing urls for spa/popovers
2023-11-15 20:35:45 -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
ced51864fc
feat: header and full-page transcludes ( closes #557 )
2023-11-13 22:51:40 -08:00
Jacky Zhao
74777118a7
feat: header and full-page transcludes ( closes #557 )
2023-11-13 22:51:40 -08:00
Jacky Zhao
f97aee238b
perf: compute mapping of folder name to file data for faster breadcrumbs
2023-11-11 21:06:37 -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
cee53ca69d
fix: check if popover exists after fetching and before inserting
2023-11-11 20:46:57 -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
f99e83267e
style + cfg: resolve breadcrumb titles by default and change arrow character
2023-11-11 20:46:29 -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
6659182eef
lint: format
2023-11-11 12:02:34 -08:00
Jacky Zhao
f67356c3d2
lint: format
2023-11-11 12:02:34 -08:00
Jacky Zhao
564e761acd
fix: normalize relative urls ( closes #569 )
2023-11-11 11:59:05 -08:00
Jacky Zhao
5d666d1860
fix: normalize relative urls ( closes #569 )
2023-11-11 11:59:05 -08:00
Jacky Zhao
14f8287257
fix: anchors links shouldnt cause reload ( closes #574 )
2023-11-11 10:11:31 -08:00
Jacky Zhao
134b6ed582
fix: anchors links shouldnt cause reload ( closes #574 )
2023-11-11 10:11:31 -08:00
Yes365
151326c0aa
fix: adapt vercel cleanurls ( #487 )
...
Co-authored-by: Harrison <Harrison@fanruan.com >
2023-11-09 19:44:16 -08:00
Yes365
e9f4e28a2d
fix: adapt vercel cleanurls ( #487 )
...
Co-authored-by: Harrison <Harrison@fanruan.com >
2023-11-09 19:44:16 -08:00
Jacky Zhao
72bd595fa9
feat: add collapseByDefault option to TableOfContents ( closes #566 )
2023-11-04 12:11:42 -07:00
Jacky Zhao
101e9946bd
feat: add collapseByDefault option to TableOfContents ( closes #566 )
2023-11-04 12:11:42 -07:00
Jacky Zhao
09a1b59a6a
fix: disable semi-broken flexsearch cache
2023-10-25 09:40:43 -07:00
Jacky Zhao
01fc8e4640
fix: disable semi-broken flexsearch cache
2023-10-25 09:40:43 -07:00
Jacky Zhao
8d15ed26d8
feat: openLinksInNewTab option for link transformer
2023-10-22 09:54:12 -07:00
Jacky Zhao
7c01e8dde0
feat: openLinksInNewTab option for link transformer
2023-10-22 09:54:12 -07:00
Jacky Zhao
5e44004415
fix: styling for nested popover tag in page list
2023-10-21 21:12:11 -07:00
Jacky Zhao
b7ae7a99db
fix: styling for nested popover tag in page list
2023-10-21 21:12:11 -07:00
Jacky Zhao
735315a01b
fix: catch html to jsx errors ( closes #547 )
2023-10-21 21:06:02 -07:00
Jacky Zhao
60b3bc34cb
fix: catch html to jsx errors ( closes #547 )
2023-10-21 21:06:02 -07:00
Jacky Zhao
14a5196822
fix(style): tag float orientation for long tags on page listing
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
38db1fd55d
fix: ctrl+click with spa enabled
2023-10-08 09:15:06 -07:00
Jacky Zhao
f66d2c23ac
fix: ctrl+click with spa enabled
2023-10-08 09:15:06 -07:00
Ben Schlegel
99deff9a6e
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
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
Luca Salvarani
08ee858830
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
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
ArtfulAzeria
22b559b31b
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
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
Ben Schlegel
12664ae596
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
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
482b7f4439
fix(explorer): default sortFn implementation ( #511 )
...
* fix: use `numeric` + `base` for localeCompare
* docs(explorer): update default sortFn
2023-09-28 08:39:44 -07:00
Ben Schlegel
d4c122646c
fix(explorer): default sortFn implementation ( #511 )
...
* fix: use `numeric` + `base` for localeCompare
* docs(explorer): update default sortFn
2023-09-28 08:39:44 -07:00
Ben Schlegel
e3de59f265
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
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
476ae69e9d
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
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
Jacky Zhao
42cb4efb33
perf: memoize filetree computation ( #490 )
...
* perf: memoize filetree computation
* format
* var -> let
2023-09-20 16:09:18 -07: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
96abbf63d3
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