Compare commits

..

804 Commits

Author SHA1 Message Date
Gal dece24b2bf Remove /content directory 2024-02-11 15:58:48 +01:00
Gal c636f79a9d Initial commit 2024-02-11 15:52:45 +01:00
Gal 77483a9fff Update 2024-01-21 21:56:22 +07:00
Gal 3337586250 test 2023-12-30 00:01:03 +01:00
Gal 5eb77f075d test 2023-12-29 22:41:52 +01:00
Gal 49b9d894b1 test 2023-12-29 22:40:22 +01:00
Gal b3d908132f test 2023-12-29 22:38:22 +01:00
Gal cae20f340d test 2023-12-29 22:36:31 +01:00
Gal 6bca301b22 test 2023-12-29 18:26:41 +01:00
Gal 5f990ab9fb test 2023-12-29 18:18:45 +01:00
Gal 3c15cf0eba Change config 2023-12-29 18:13:23 +01:00
Gal 04d7bd7b41 add network 2023-12-28 22:55:02 +01:00
Gal 32a0b781ad remove network 2023-12-27 23:53:57 +01:00
Gal f918b1b21c change port 2023-12-27 23:47:43 +01:00
Gal 8391e482c6 change port 2023-12-27 23:43:03 +01:00
Gal 11e5964cda change port 2023-12-27 23:42:38 +01:00
Gal 5abe832c9c change port 2023-12-27 23:41:25 +01:00
Gal 86753b4b52 Add traefik 2023-12-27 23:28:24 +01:00
Gal accc315672 Update 2023-12-27 22:11:25 +01:00
Gal 50c481541c update readme 2023-12-27 22:09:22 +01:00
Gal 4a9e82becb Add env 2023-12-27 22:06:00 +01:00
Gal 7c45eec14c Add script 2023-12-27 22:04:30 +01:00
Gal 8c4963ba93 Update makefile 2023-12-27 22:04:12 +01:00
Gal ee6bbaa156 Update makefile 2023-12-27 21:38:36 +01:00
Gal 54a8284d02 Update makefile 2023-12-27 21:38:12 +01:00
Gal cb4a2823be Add scripts 2023-12-27 21:35:10 +01:00
Gal d3eacb10af change port 2023-12-27 00:58:43 +01:00
Gal bfed71a040 change port 2023-12-27 00:30:20 +01:00
Gal d741508721 test change 2023-12-26 14:25:27 +01:00
Gal 7beed09824 update 2023-12-26 14:22:56 +01:00
Gal 5d78628ab0 Add npm install 2023-12-26 13:57:39 +01:00
Gal e8bb94211e change port 2023-12-26 13:49:23 +01:00
Gal 0c8ab1e82d Add dc 2023-12-26 13:48:48 +01:00
Gal 372563d053 Add website 2023-12-12 00:49:06 +01:00
Gal 979260ac92 Add website 2023-12-12 00:44:33 +01:00
Gal 146c505b65 Quartz sync: Dec 9, 2023, 5:36 PM 2023-12-09 17:36:33 +01:00
Jacky Zhao 22fc06fb31 fix: spa shouldn't use popover script directly 2023-11-18 18:46:58 -08:00
Jacky Zhao 69a996c5d6 fix: explicit undefined check in header transclude 2023-11-18 18:27:44 -08:00
Jacky Zhao 91def71ed1 fix: bad transform in wikilink pre-transform (closes #598) 2023-11-17 14:00:49 -08:00
Jacky Zhao 68b5cca6ec fix: check content-type before applying spa patch (closes #597) 2023-11-17 10:46:23 -08:00
Jacky Zhao 8a6c576264 fix: dont run explorer scripts on non-explorer pages (closes #596) 2023-11-17 10:29:24 -08:00
Matt Vogel feb8899b6e feat: add class `alias` to aliases (#585) 2023-11-17 10:23:39 -08:00
Zijing Zhang 630d1de011 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 516a083506 fix: include anchor when normalizing urls for spa/popovers 2023-11-15 20:35:45 -08:00
Jacky Zhao 3304b8924a feat: scrub link formatting from toc entries 2023-11-15 20:13:28 -08:00
Jacky Zhao 4e3e894be2 fix: format 2023-11-15 19:32:25 -08:00
Jacky Zhao 99f33a9cee 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 fb7dca854c feat: support repeated anchor tag (closes #592) 2023-11-15 19:27:54 -08:00
Jacky Zhao c8b7ccc108 feat: deref symlinks when copying static assets (closes #588) 2023-11-15 09:43:30 -08:00
Jacky Zhao f03148be3a fix: set htmlAst after walking tree in ofm (closes #589) 2023-11-14 20:01:48 -08:00
Jacky Zhao 0d7dd0ae4a versioning: bump to v4.1.1 2023-11-13 22:57:05 -08:00
Jacky Zhao ced51864fc feat: header and full-page transcludes (closes #557) 2023-11-13 22:51:40 -08:00
Jacky Zhao a24f625379 fix: make :has img selector direct 2023-11-12 14:33:19 -08:00
Jacky Zhao ce2468705b feat: option to specify npx quartz sync message (closes #583) 2023-11-12 14:27:53 -08:00
Jacky Zhao b4f5c0b837 fix(style): dont internal-link highlight when image (closes #581) 2023-11-11 21:13:10 -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 cee53ca69d 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 5c20fb7310 fix: .date.getTime() based sort 2023-11-11 20:28:26 -08:00
Jacky Zhao cf32895001 fix: sort rss feed by date 2023-11-11 12:08:54 -08:00
Jacky Zhao 6659182eef 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 9389e5f91d types: cast in jsx.tsx to avoid @ts-ignore 2023-11-11 11:41:44 -08:00
Jacky Zhao 5da1be1b18 style: scrollable tables 2023-11-11 11:39:56 -08:00
Jacky Zhao 14f8287257 fix: anchors links shouldnt cause reload (closes #574) 2023-11-11 10:11:31 -08:00
Jacky Zhao 87a3503f57 fix: trailing slash aliases (closes #577) 2023-11-11 09:56:30 -08:00
Yes365 151326c0aa fix: adapt vercel cleanurls (#487)
Co-authored-by: Harrison <Harrison@fanruan.com>
2023-11-09 19:44:16 -08:00
Niklas Schröder 130dc98446 docs: fix property name for ToC toggle (#573) 2023-11-07 09:16:48 -08:00
Mau Camargo f5cda601da docs: Add Mau Camargo's Notkesto to showcase (#570) 2023-11-05 11:30:10 -08:00
Anson Yu 1cef8dcf2d docs: Update making plugins.md (#567)
:)
2023-11-04 14:20:16 -07:00
Jacky Zhao 72bd595fa9 feat: add collapseByDefault option to TableOfContents (closes #566) 2023-11-04 12:11:42 -07:00
Emil Rofors 3cabf21c55 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 2a97177a5d feat: auto-tag releases (closes #560) 2023-11-01 10:04:41 -07:00
Florence e193e76b63 docs: remove dead link (#561) 2023-11-01 09:57:32 -07:00
Blue Rose 38ebb34a4e 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 09a1b59a6a 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 5e44004415 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 14a5196822 fix(style): tag float orientation for long tags on page listing 2023-10-21 21:06:02 -07:00
Jacky Zhao b0220f5d25 fix(style): prioritize base and custom scss over component css 2023-10-21 21:06:02 -07:00
freenandes 77b512e381 docs: Update showcase.md (#540)
changed URL
2023-10-17 19:43:41 -07:00
Thomas 085035249c docs(explorer): Fixed small typo with extra } in explorer.md (#541) 2023-10-17 19:43:20 -07:00
freenandes bb1c5f6af7 Update showcase.md (#539) 2023-10-17 08:58:28 -07:00
Jacky Zhao 1857c17d5c fix(css): import base from custom instead of the other way around (#536) 2023-10-14 13:45:56 -07:00
Jacky Zhao 61a45e25de feat: docker support for v4 (closes #530) 2023-10-08 09:59:18 -07:00
Jacky Zhao 38db1fd55d fix: ctrl+click with spa enabled 2023-10-08 09:15:06 -07:00
Jacky Zhao 6c8e7e5bb0 css: make article relative 2023-10-05 13:48:52 -07:00
Jacky Zhao 0d500da752 style: styling for codeblocks without langs (#527) 2023-10-05 13:30: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
Jacky Zhao 282acb6bb8 specify minimum npm version 2023-10-04 09:23: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
bfahrenfort 8c1c1c78d7 Fix: RSS title escaping (#521)
* Fix title escaping

* npm run format
2023-10-01 09:47:22 -07:00
Hrishikesh Barman b38d9322b1 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 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
Catchears e4e54f52d5 docs: fix typo in breadcrumbs documentation (#513) 2023-09-29 08:19:10 -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 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
Jacky Zhao 37d59b994e fix: coerce title to string 2023-09-25 18:15:55 -07:00
Jacky Zhao 2443791d33 fix: treat the 0 time as invalid too 2023-09-24 14:47:30 -07:00
Jacky Zhao 242b37034e fix: mermaid copy source position 2023-09-24 10:31:54 -07:00
Chad Lee 44b8f446ef add site to showcase (#504) 2023-09-24 10:27:42 -07:00
Vince Imbat cb7b7c3869 docs: Adds Vince Imbat to showcase (#501) 2023-09-22 19:39:02 -07:00
Jacky Zhao 5f0a7a5d35 feat: add warning for invalid date format 2023-09-22 10:04:50 -07:00
Jacky Zhao 3c8cff48a3 feat: add warning for missing home page 2023-09-22 10:04:50 -07:00
Ben Schlegel d23c80cfad docs(showcase): fix pull request redirect link (#500) 2023-09-22 08:20:19 -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 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 f1fdbd3452 docs(explorer): update default config + new example (#493) 2023-09-21 18:53:19 +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 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
Ben Schlegel 31d6601a0d 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 9738b95e1b 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 7652bdff7e Revert "docs: wording changes for offline support"
This reverts commit 52a172d1a4.
2023-09-20 13:52:29 -07:00
Jacky Zhao 186ca72a9f docs: document enableToc 2023-09-20 11:58:52 -07:00
Jacky Zhao 2a552cd92b docs: wording changes for offline support 2023-09-20 11:40:36 -07:00
Adam Brangenberg 9c322802fa 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 ae57715822 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 aa4f788123 fix(nit): make defaultOptions on explorer not a function 2023-09-19 10:22:39 -07:00
David Fischer ee0c958b72 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 1a572d77ef docs: fix explorer example (#483) 2023-09-18 14:32:00 -07:00
Ben Schlegel f030418822 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 a9cdd5ff27 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 a1f2551c16 docs: fix examples 2023-09-17 21:32:23 +02:00
Ben Schlegel b672a4c827 docs: fix intra page links 2023-09-17 21:20:09 +02:00
Christian Gill e173414d12 fix(slug): Handle question mark (#481) 2023-09-17 11:02:00 -07:00
Ben Schlegel d889775951 fix: darkmode scroll bars (#480) 2023-09-17 10:29:20 -07:00
Ben Schlegel 27f99713d8 docs(explorer): write docs for new features 2023-09-17 16:41:23 +02:00
Ben Schlegel c2ac5dcfd0 fix(explorer): filter function in `ExplorerNode` 2023-09-17 15:51:08 +02:00
Ben Schlegel b8fbb64cad fix: display name for file nodes 2023-09-17 12:41:06 +02:00
Ben Schlegel e3306cc475 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 e112fdad2b fix: create deep copy of file passed into tree 2023-09-16 19:45:21 +02:00
Ben Schlegel 0ed17307cf 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 4ba45f9577 feat(explorer): integrate filter option 2023-09-16 19:18:59 +02:00
Ben Schlegel 9ad51c46d0 fix: use correct import for `QuartzPluginData` 2023-09-16 17:47:44 +02:00
Ben Schlegel 3ea0d50293 feat: implement filter function for explorer 2023-09-16 17:28:58 +02:00
Ben Schlegel 5d9d681152 feat(explorer): add config to support custom sort fn 2023-09-16 12:40:19 +02:00
Yuto Nagata a0a98bcf4f fix: umami analytics date attribute (#477) 2023-09-15 19:17:20 -07:00
Jacky Zhao bf89e38a40 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 9bfdc24161 fix: use git dates by default, @napi/git is fast enough 2023-09-15 09:46:06 -07:00
Ben Schlegel 515ac8d9a1 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 4b177ed03e 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 0a6e9c3f86 feat: note transclusion (#475)
* basic transclude

* feat: note transclusion
2023-09-13 11:28:53 -07:00
Jacky Zhao bfabedc5f7 fix dont show html in search when rssFullHtml is true (closes #474) 2023-09-13 09:43:30 -07:00
Jacky Zhao 3844a911e5 feat: resolve block references in obsidian markdown 2023-09-12 22:55:50 -07:00
Jacky Zhao 64d6db3b3f feat: rich html rss (closes #460) 2023-09-12 21:44:03 -07:00
Jacky Zhao 4387044cc7 fix: 404 page styling for nested pages (closes #458) 2023-09-12 21:29:57 -07:00
Jacky Zhao 5e02b3fed1 feat: rss limit (closes #459) 2023-09-12 19:18:44 -07:00
hcplantern 1562d2d9ad fix: callout parsing (#469) 2023-09-11 23:00:21 -07:00
Oskar Manhart 4b37976c29 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 17e5fbc0e6 ci: print bundleInfo 2023-09-10 23:07:17 -07:00
Jacky Zhao fde8608927 fix: more lenient date parsing for templates 2023-09-08 09:29:57 -07:00
Stefano Cecere 49470d641a typo (it's draft, not drafts) (#456) 2023-09-07 08:13:41 -07:00
Jacky Zhao 425592d09a fix: links to index not showing in graph (closes #450) 2023-09-06 22:24:15 -07:00
Jacky Zhao 32b65cd1f7 fix: escape encoding for titles in rss 2023-09-06 21:47:59 -07:00
Jacky Zhao 86ccdccde1 fix: encodeuri for slugs in rss 2023-09-06 21:31:01 -07:00
Jacky Zhao b668b4c1a3 docs: correct field for ignorePatterns 2023-09-06 21:08:08 -07:00
Jacky Zhao c9ddec07aa feat: 404 page emitter 2023-09-06 21:02:21 -07:00
Jacky Zhao 7e1be1d5b2 fix: dont transform external links 2023-09-06 20:25:50 -07:00
Ben Schlegel 25541d2e35 docs: update `full-text-search.md` (#447) 2023-09-03 22:36:30 -07:00
Dr Kim Foale b3bd6f7c01 docs: Make it clearer that wikilinks go to paths not page titles (#448) 2023-09-03 21:29:58 -07:00
Adam Brangenberg 49d5d56bf4 feat(analytics): Support for Umami (#449) 2023-09-03 21:28:57 -07:00
Ben Schlegel 50da33ea4d 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 f257e2a948 fix: clipboard button visible in search (#445) 2023-09-03 09:06:05 -07:00
Jacky Zhao c7cd941e5f feat: pluralize things in lists 2023-09-02 18:07:26 -07:00
Ben Schlegel 53dd86727b fix(search): matches getting highlighted in title (#440) 2023-09-01 14:12:32 -07:00
Ben Schlegel fa0629716f 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 b9be4e470c Adds Pelayo Arbues to showcase (#435) 2023-08-31 12:12:06 -07:00
Ben Schlegel f06440806f 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 67451fa0fd fix: aliasredirects not using full path, add permalink support 2023-08-29 10:37:00 -07:00
Jeffrey Fabian 683c40a0ac 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 e815256517 fix: correct graph labels for `index.md` nodes (#431) 2023-08-28 10:00:49 -07:00
Jeremy Press 43eeb8f4e7 Fix typo :) (#430) 2023-08-27 20:57:19 -07:00
Jeremy Press ef762f28cd 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 78eb93eb85 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 d4187034c2 fix: slugify tag on page before adding (closes #411) 2023-08-27 12:27:55 -07:00
Ben Schlegel 3233d5b08a Fix search bar after navigate (#424) 2023-08-26 17:19:45 -07:00
Ben Schlegel 0688a2415f 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 29c4087dea style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
Jacky Zhao 6e8de47b7e docs: simplify oxhugo page 2023-08-26 10:42:55 -07:00
Hrishikesh Barman 1de352dc11 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 da64b9be3a 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 6bcae12f6d feat(consistency): Add `.obsidian` to ignorePatterns (#420) 2023-08-25 09:03:49 -07:00
Jacky Zhao 477922e5f0 format, ensure ci runs on prs 2023-08-24 12:31:15 -07:00
Ben Schlegel 818fa95f0f style: integrate tertiary color to text-select (#413) 2023-08-24 12:28:06 -07:00
Zero King d75cf0b354 feat: reproducible build (#412)
for sitemap, RSS and contentIndex.json.
2023-08-24 11:41:20 -07:00
Jacky Zhao 9707aadf11 format 2023-08-24 10:03:14 -07:00
Jacky Zhao 9973f77c5b fix: ensure recentnotes uses proper date 2023-08-24 09:38:00 -07:00
Jacky Zhao 7e537a83cb fix: add better warning when defaultDateType is not set due to upgrade 2023-08-24 09:17:43 -07:00
Jacky Zhao 84d4636b07 version bump to 4.0.10 2023-08-24 09:05:19 -07:00
Jacky Zhao ca718fa3d7 feat: add defaultDateType config 2023-08-24 08:56:40 -07:00
Jacky Zhao 9ff82b4983 fix: lock to never read when site is building 2023-08-24 08:31:12 -07:00
Ben Schlegel 09e7672211 docs: fix typo in `authoring content.md` (#408) 2023-08-24 08:14:52 -07:00
bfahrenfort ae729cc28b Revert contentIndex to RSS 2.0 (#407) 2023-08-23 22:57:49 -07:00
Jacky Zhao ce8f150883 format 2023-08-23 15:16:04 -07:00
Zane Helton 2c38375975 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 2b4320332e fix: text wrap in popover 2023-08-23 13:10:23 -07:00
Jacky Zhao 7104a15d30 docs: make incompability of trailing slashes clear 2023-08-23 12:23:49 -07:00
Jacky Zhao da2e87d655 fix: use proper full base for links.ts 2023-08-23 12:18:50 -07:00
Jacky Zhao c816ad023b docs: whitespace 2023-08-23 12:11:24 -07:00
kanpov 39a290c48f Fix #403 by moving documentation to separate directory to avoid merge conflicts (#405) 2023-08-23 12:09:04 -07:00
Jacky Zhao 107c8d413a fix: builds should no accumulate on repeated changes (closes #404) 2023-08-23 11:36:34 -07:00
Jacky Zhao a25bc8a5e4 deps: native addons for lightningcss 2023-08-23 09:19:00 -07:00
Jacky Zhao c84e823ec7 deps: install exact 2023-08-23 09:16:44 -07:00
Jacky Zhao bdc4ce1700 deps: esbuild and esbuild-sass-plugin 2023-08-23 09:10:30 -07:00
Aaron Pham fb2b228b29 fix(esbuild): conflict with esbuild-sass-plugin (#402) 2023-08-23 09:05:01 -07:00
Jacky Zhao 2a5cfa011f version bump to 4.0.9 2023-08-22 23:37:02 -07:00
Jacky Zhao 2ecc650d42 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 709ad94180 fix: toc for cyrillic and other non-latin alphabets (closes #396) 2023-08-22 22:41:50 -07:00
Jacky Zhao 300aff4125 fix: properly lock across source and content refresh by sharing a mutex 2023-08-22 22:27:41 -07:00
Jacky Zhao 460879df31 fix: tag support for non-latin alphabets (fixes #398) 2023-08-22 22:14:16 -07:00
Jacky Zhao a8272d4a9c fix: spa hijacks back button (closes #400) 2023-08-22 21:30:31 -07:00
松浦 知也 Matsuura Tomoya a23f127c13 fixed broken CJK links (#390) 2023-08-22 09:16:55 -07:00
Ikko Eltociear Ashimine fc58b10ab3 fix: typo in bootstrap-cli.mjs (#394) 2023-08-22 09:16:21 -07:00
Jacky Zhao 520ed4368d fix: server-handler crash from filename (closes #386) 2023-08-21 17:01:18 -07:00
Jacky Zhao e0bcc8815e fix: async-mutex not exclusively locking correectly 2023-08-21 16:43:32 -07:00
Jacky Zhao 72963752b6 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 a920416db2 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
松浦 知也 Matsuura Tomoya dcaf09b658 fix: opts being overriden in graph option (#384) 2023-08-21 08:45:47 -07:00
Jacky Zhao c2c976a56c docs: fix links to networked thought 2023-08-20 23:50:29 -07:00
Jacky Zhao 57e9297173 format 2023-08-20 20:48:35 -07:00
Jacky Zhao 61d67c9057 fix: ctrl + k breaking after page nav 2023-08-20 20:47:07 -07:00
Jacky Zhao 504e6f67ee move wss server start after http 2023-08-20 18:41:37 -07:00
Jacky Zhao 487e0c8473 fix: nav event with spa off, anchor nav refresh page 2023-08-20 18:08:44 -07:00
Jacky Zhao 95b9358c0d fix: jump to anchor on deployed site triggering spa refresh 2023-08-20 17:50:56 -07:00
Jacky Zhao 1d5d088c86 remove checkout step from instructions as v4 is the default branch 2023-08-20 16:59:25 -07:00
Jacky Zhao 3b9ed2ab7b fix: ensure code exists inside pre before adding clipboard 2023-08-20 15:38:37 -07:00
Jacky Zhao 3eba87a512 fix: dont show index page for folder in its own listing 2023-08-20 15:02:24 -07:00
Jacky Zhao 4aa80e0426 fix: ci runs on v4 2023-08-20 14:34:00 -07:00
Jacky Zhao 3ad0b250bb fix: add async-mutex to builds on large vaults 2023-08-20 14:27:44 -07:00
Jacky Zhao efd0c1a443 recent notes css fixes 2023-08-20 14:05:37 -07:00
Jacky Zhao 4c72472f5f add docs for recent notes 2023-08-20 13:00:33 -07:00
Jacky Zhao 987d72d67f css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
Jacky Zhao 992e4e9704 add engines field 2023-08-20 08:57:56 -07:00
Jacky Zhao 76bc9f49b4 fix description not being used in folder and tag listings 2023-08-20 01:08:18 -07:00
Jacky Zhao c5d90e9214 update plausible url 2023-08-20 00:54:13 -07:00
Jacky Zhao cacdb200b0 docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
Jacky Zhao 65c60e9103 docs: note about updating default branch 2023-08-20 00:02:41 -07:00
Jacky Zhao 2f2c4ff4fb docs: make setting upstream more clear, docs on npx quartz restore 2023-08-19 22:19:49 -07:00
Jacky Zhao e39eef402b fix: put quotations around font 2023-08-19 22:04:29 -07:00
Jacky Zhao 740f20f8ca readme fix 2023-08-19 21:59:20 -07:00
Jacky Zhao 6edcfc0a9c fix: string for aliases being treated as array of chars 2023-08-19 21:59:01 -07:00
Jacky Zhao 604fc3be04 css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
Jacky Zhao 3d7a7c8790 add git fetch to migration instructions 2023-08-19 21:38:10 -07:00
Jacky Zhao 1a7e4cf90e Merge branch 'v4' of https://github.com/jackyzha0/quartz into v4 2023-08-19 21:16:31 -07:00
Jacky Zhao 3549020750 add sponsors 2023-08-19 21:16:24 -07:00
Matt Dunn de537aba1b Adding to Showcase page (#367) 2023-08-19 19:15:14 -07:00
Jacky Zhao f9a08bc0f4 update docs 2023-08-19 18:56:45 -07:00
Jacky Zhao 34dbddbd61 impl baseDir option for quartz build --serve for local testing 2023-08-19 18:04:17 -07:00
Jacky Zhao 5d225f1206 fix trailing slash causing folder listing to not fetch content correctly 2023-08-19 16:55:36 -07:00
Jacky Zhao 9e2fbabc20 avoid 404 on icon for spa navigations with anchors 2023-08-19 16:40:02 -07:00
Jacky Zhao f7c2fc36f3 improve path resolution stability 2023-08-19 16:28:44 -07:00
Jacky Zhao 303a867d60 base path refactor to better support subpath hosting 2023-08-19 15:52:25 -07:00
Jacky Zhao a3703cbe0b v4-alpha -> v4 2023-08-18 18:24:09 -07:00
Jacky Zhao 2c4ea82e86 update docs on github pages and syncing 2023-08-18 18:22:38 -07:00
Jacky Zhao d14a81014b fix typo in docs 2023-08-17 23:39:15 -07:00
Jacky Zhao 0320da77d0 format 2023-08-17 21:54:42 -07:00
Jacky Zhao f56c5c3939 ensure sync includes untracked files 2023-08-17 21:49:58 -07:00
Jacky Zhao f88e15c719 ensure contentfolder is passed to popContentFolder 2023-08-17 21:24:41 -07:00
Jacky Zhao 3031c599b1 fix when symlink targ is calculated and added npx quartz restore 2023-08-17 21:20:15 -07:00
Jacky Zhao 94a45c6efe format 2023-08-17 21:08:26 -07:00
Jacky Zhao 3990894cfe deref symlink on quartz sync 2023-08-17 21:07:40 -07:00
Jacky Zhao 6ab90d093c fix rebuild debouncing 2023-08-17 01:58:11 -07:00
Jacky Zhao a3cba52362 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 c65451519e format 2023-08-17 00:55:52 -07:00
Jacky Zhao cdaec963ed various path fixes for links to extensions, fix relative paths in links 2023-08-17 00:55:28 -07:00
Jacky Zhao 94dbdec8d0 fix import paths 2023-08-16 22:09:11 -07:00
Jacky Zhao b5ab38cb7e fix relative path resolution in router and link crawling 2023-08-16 22:04:15 -07:00
Sohaib 53732b901d Update hosting.md (#371) 2023-08-14 17:59:47 -07:00
Jacky Zhao e0d63776cd fix: add trailing slash to local serving 2023-08-13 17:47:18 -07:00
vintro a8604d84f4 docs: note about existing content at same path on different branches 2023-08-13 17:19:50 -07:00
Jacky Zhao d7a133d579 format docs 2023-08-12 21:18:51 -07:00
Jacky Zhao b6a3fa4f62 fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
Jacky Zhao e5869624bd 404 page styling on local 2023-08-12 21:16:43 -07:00
Jacky Zhao d256e359b8 fix nested callout folding 2023-08-12 21:16:43 -07:00
Sohaib 58c7a9b6f4 Update hosting.md (#368) 2023-08-12 13:52:16 -07:00
Jacky Zhao cdc8a4b7fe fmt 2023-08-12 10:17:07 -07:00
Jacky Zhao fc5c8b4a94 enable rich text in callout title 2023-08-12 10:16:55 -07:00
Jacky Zhao 7b9e986f2e include home page in search 2023-08-12 00:24:30 -07:00
Jacky Zhao b62827a782 format, make search async 2023-08-12 00:03:11 -07:00
Jacky Zhao 5e7865d7e9 fix wikilinks to anchors in the same document 2023-08-11 23:55:17 -07:00
Jacky Zhao 85bb91d998 fix scanning for tags in content 2023-08-11 23:40:06 -07:00
Jacky Zhao 7d9d4becd7 fix broken tag listing links to tags 2023-08-11 23:27:59 -07:00
Jacky Zhao 6093c863a6 fix emit filepaths, tag emit being overriden by content 2023-08-11 23:25:44 -07:00
Jacky Zhao d4d6ffac64 feature docs 2023-08-11 22:47:50 -07:00
Jacky Zhao 41f7de75a9 more documentation 2023-08-11 00:31:44 -07:00
Jacky Zhao b3635a0c5a spacing fix 2023-08-10 21:32:11 -07:00
Jacky Zhao 5bd341a462 run prettier 2023-08-10 21:29:11 -07:00
Jacky Zhao cf730e31fb docs on making plugins 2023-08-10 21:16:07 -07:00
Jacky Zhao 99ce8dcd72 format 2023-08-09 09:18:44 -07:00
Jacky Zhao 3918ad7a75 update npx quartz update script 2023-08-09 09:10:40 -07:00
Jacky Zhao 1b37945b13 profiling, better concurrency heuristics 2023-08-09 00:26:33 -07:00
Jacky Zhao 486bd9358c format 2023-08-08 22:53:01 -07:00
Jacky Zhao b79e889d87 better concurrency debugging, --concurrency flag for npx quartz build 2023-08-08 22:52:49 -07:00
Jacky Zhao cd2ac7f9c7 fix getFileExtension missing numeric extensions (e.g. mp4) 2023-08-08 21:31:36 -07:00
Jacky Zhao 3f8329207b change reading time to content meta 2023-08-08 21:28:09 -07:00
Jacky Zhao e9eebd1c87 fix head.tsx 2023-08-08 20:36:24 -07:00
Jacky Zhao 9ad6f49c15 guide to creating components 2023-08-08 20:18:31 -07:00
Jacky Zhao 6fe77cd16c fix notes 2023-08-07 23:57:24 -07:00
Jacky Zhao 964e033655 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
Jacky Zhao a6904be6f1 format 2023-08-07 21:51:23 -07:00
Jacky Zhao a026ddad33 fix regression in code block font-size boosting on safari mobile 2023-08-07 21:51:06 -07:00
Jacky Zhao 4e97695eee various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
Jacky Zhao 15be857598 architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
Jacky Zhao 7639abf0eb format 2023-08-06 22:07:33 -07:00
Jacky Zhao 60f95f1ed7 fix css transforms for mobile 2023-08-06 22:07:08 -07:00
Jacky Zhao 66e8afb008 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
Jacky Zhao 22d2d344f2 note formatting 2023-08-06 19:54:11 -07:00
Jacky Zhao b4f4eec3f5 docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
Jacky Zhao a58458a99e mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
Jacky Zhao d38837c15d format, remove markdown from being procesed 2023-08-05 18:00:52 -07:00
Jacky Zhao cf18b99937 reverse query param hack to re-add sourcemap support 2023-08-05 17:53:29 -07:00
Jacky Zhao 6d2291bbf1 non-admonition callout fix 2023-08-05 16:43:50 -07:00
Jacky Zhao 12ec0a77a0 improve hot reload robustness 2023-08-05 15:34:10 -07:00
Jacky Zhao 9868c09f58 more robust error handling, config hotreload 2023-08-05 11:28:09 -07:00
Jacky Zhao c307dce3a4 fix mermaid initialization 2023-08-04 22:35:21 -07:00
Jacky Zhao 34641d758f bump mathjax version 2023-08-03 23:36:00 -07:00
Jacky Zhao 718f15dd4e fix execsync 2023-08-03 23:28:34 -07:00
Jacky Zhao 3a7f382cbb fix fetch flags 2023-08-03 23:24:34 -07:00
Jacky Zhao ced82d2e09 format, add upstream 2023-08-03 23:08:04 -07:00
Jacky Zhao a660922136 update pull strategy 2023-08-03 22:29:46 -07:00
Jacky Zhao a01301fb70 fix callout aliases not being used properly 2023-08-03 00:08:13 -07:00
Jacky Zhao 503166063d readme fixes, force 2023-08-02 23:42:49 -07:00
Jacky Zhao e1970ed24c use checkout for pulling updates 2023-08-02 23:29:28 -07:00
Jacky Zhao 744955bc94 use posix style paths for all path ops 2023-08-02 23:04:26 -07:00
Jacky Zhao 4f7c51cd84 format 2023-08-02 22:16:46 -07:00
Jacky Zhao 0a217c1bcc use autostash and pull 2023-08-02 22:16:32 -07:00
Jacky Zhao 94e0088c01 format 2023-08-02 22:11:46 -07:00
Jacky Zhao 159bf972c3 make path and globbing more platform invariant 2023-08-02 22:10:13 -07:00
Jacky Zhao 53344e4dfa add gitattributes for windows 2023-08-02 20:59:56 -07:00
Jacky Zhao 8f2ccfb910 fix test matrix for ci 2023-08-02 20:56:31 -07:00
Jacky Zhao 2caebeaed4 make ci also run on windows, re-add css minification 2023-08-02 20:53:13 -07:00
Jacky Zhao 990ef3a317 windows patches 2023-08-02 00:07:41 -07:00
Jacky Zhao 5e0b397a5f change default strategy to be rebase 2023-08-01 23:29:58 -07:00
Jacky Zhao 4f35300e96 Merge branch 'v4-alpha' of https://github.com/jackyzha0/quartz into v4-alpha 2023-08-01 22:48:32 -07:00
Jacky Zhao 0b46a69a53 flag to allow ofm replace in html embed 2023-08-01 22:47:16 -07:00
Adam Brangenberg 75aca63349 Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
Jacky Zhao 31e99c669a make layouts simpler to think about 2023-07-25 23:37:24 -07:00
Jacky Zhao 828a474fa9 fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
Jacky Zhao 3f7c8d1917 fix formatting 2023-07-25 21:11:06 -07:00
Jacky Zhao dfee2f3b6e nested tag support and tag index page 2023-07-25 21:10:37 -07:00
Jacky Zhao 1ee77893ac font loading options, optimize css 2023-07-24 21:54:47 -07:00
Jacky Zhao 74089b3057 actually add processed tag to frontmatter 2023-07-24 00:07:58 -07:00
Jacky Zhao c60f17d101 fix watch-mode batching 2023-07-24 00:04:01 -07:00
Jacky Zhao 145e57d4fc npm i on quartz update 2023-07-23 21:53:34 -07:00
Jacky Zhao 2df818c624 styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
Jacky Zhao 4c0ad3e361 make component resources a proper emitter 2023-07-23 18:20:43 -07:00
Jacky Zhao eaa54b02dd version bump, update doc 2023-07-23 17:59:44 -07:00
Jacky Zhao 0b769e854b bundleinfo flag, minify scripts 2023-07-23 17:58:35 -07:00
Jacky Zhao 480948a78f support attachments folder 2023-07-23 17:42:00 -07:00
Jacky Zhao dfac1d6e44 format 2023-07-23 17:09:12 -07:00
Jacky Zhao a1985bfd28 refactor static and asset emission to be actual emitter plugins 2023-07-23 17:07:19 -07:00
Jacky Zhao 340e5e1472 update feature list 2023-07-23 15:37:06 -07:00
Jacky Zhao 6c5dc18fae feat: process tags in content 2023-07-23 14:02:57 -07:00
Jacky Zhao 5d8b034af1 improve error handling while serving 2023-07-23 11:49:26 -07:00
Jacky Zhao 88e040c290 style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00
Jacky Zhao 3e08318c65 fix styles 2023-07-23 11:04:20 -07:00
Jacky Zhao 560196860f various typography and styling fixes 2023-07-23 11:02:45 -07:00
Jacky Zhao 59a1feac39 oops actually use npm run check 2023-07-22 17:42:13 -07:00
Jacky Zhao a796b593bc run prettier on ci 2023-07-22 17:39:10 -07:00
Jacky Zhao 617ea80db1 run prettier 2023-07-22 17:27:41 -07:00
Jacky Zhao 6b99b8abc7 configure prettier 2023-07-22 17:26:03 -07:00
Jacky Zhao 7f571846bb hot content reload 2023-07-22 16:06:36 -07:00
Jacky Zhao a7603fcca8 update features list 2023-07-20 21:51:55 -07:00
Jacky Zhao fcaec298e9 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 c2048517cb rename github action 2023-07-19 22:00:44 -07:00
Jacky Zhao 265079bf76 add custom.scss 2023-07-19 21:59:48 -07:00
Jacky Zhao 177c6d97f6 quartz update and quartz sync 2023-07-19 21:59:39 -07:00
Jacky Zhao 0b5fc92b90 add link resolution prompt to quartz create 2023-07-16 10:39:35 -07:00
Jacky Zhao 0c5ca34c4b treat _index as index 2023-07-15 23:33:06 -07:00
Jacky Zhao 361c5c9ffb fix ci, disable strict path type checks by default 2023-07-15 23:05:17 -07:00
Jacky Zhao 2c0f21a97d finish path refactoring, add sourcemap + better trace support 2023-07-15 23:02:12 -07:00
Jacky Zhao ffb2c9ba57 base path refactor, more docs 2023-07-13 00:19:35 -07:00
Jacky Zhao 33c8c9c5f6 docs + various polish 2023-07-09 19:32:24 -07:00
Jacky Zhao b06cf9bdac polish 2023-07-08 14:36:02 -07:00
Jacky Zhao e0b91a193f fix styling for bullet points 2023-07-06 19:18:18 -07:00
Jacky Zhao 8f76cc5768 handle dates as tags 2023-07-06 18:45:38 -07:00
Jacky Zhao 27bf450955 handle string tags 2023-07-06 18:32:48 -07:00
Jacky Zhao 32018d9f83 fix path parsing 2023-07-06 16:56:30 -07:00
Jacky Zhao 3fc81b705f basic docs, remove publish, add quartz create 2023-07-05 00:16:06 -07:00
Jacky Zhao 70dcf6acc2 fix default callout state 2023-07-04 18:26:11 -07:00
Jacky Zhao 7e901087d0 update package 2023-07-04 18:08:36 -07:00
Jacky Zhao f8b2275b43 folder and tag descriptions, re-enable relative pathing 2023-07-04 18:02:59 -07:00
Jacky Zhao 7e3781c6d0 fix popover zindex 2023-07-04 17:14:15 -07:00
Jacky Zhao a90142ba2d more visual polish, adjust colours and spacing 2023-07-04 16:48:36 -07:00
Jacky Zhao 1547c8af0d fix indexing causing main thread freeze, various polish 2023-07-04 10:08:32 -07:00
Jacky Zhao 20b2d88a06 various polish 2023-07-02 13:08:29 -07:00
Jacky Zhao bcebc20808 rss + sitemap 2023-07-01 13:35:27 -07:00
Jacky Zhao 3e0e06025c tag and folder pages 2023-07-01 00:03:01 -07:00
Jacky Zhao fc03f3dcec fix: parsing wikilinks that have codeblock anchors, scroll to anchor 2023-06-19 22:50:25 -07:00
Jacky Zhao 1c7b5c88d8 basic search implementation 2023-06-19 20:37:45 -07:00
Jacky Zhao 2a9ed21823 local and global graph 2023-06-18 10:47:07 -07:00
Jacky Zhao d5b51a8e29 popovers 2023-06-17 16:05:46 -07:00
Jacky Zhao f078f20c08 basic left,right layout 2023-06-17 14:36:06 -07:00
Jacky Zhao 23624105fb collapsible callout 2023-06-17 13:08:06 -07:00
Jacky Zhao 5162c3c977 collapsible toc 2023-06-17 12:07:40 -07:00
Jacky Zhao 09b5f4b10a modern toc tweaks 2023-06-16 19:41:59 -07:00
Jacky Zhao 9c6046a1f8 taglist, mermaid 2023-06-12 22:41:42 -07:00
Jacky Zhao 397f4f7d3a add config to components 2023-06-11 23:46:38 -07:00
Jacky Zhao 9a1f0b48b4 refactor plugins to be functions instead of classes 2023-06-11 23:26:43 -07:00
Jacky Zhao 8c5dd2287a toc 2023-06-09 23:06:02 -07:00
Jacky Zhao b3cbcaf0f5 add custom spa solution 2023-06-09 19:58:58 -07:00
Jacky Zhao 8e36d2a677 add flamethrower router 2023-06-07 22:38:45 -07:00
Jacky Zhao cc10ff2487 generic quartz component for layout 2023-06-07 22:27:32 -07:00
Jacky Zhao d4878f62db update gh actions 2023-06-07 10:52:53 -07:00
Jacky Zhao e16cc9be37 codeblock copy 2023-06-06 21:19:00 -07:00
Jacky Zhao 4c94432a8f fix darkmode script load 2023-06-06 20:58:26 -07:00
Jacky Zhao 229f615790 darkmode scripts 2023-06-06 19:48:37 -07:00
Jacky Zhao dace837cd5 embeds 2023-06-06 00:00:38 -07:00
Jacky Zhao 69679df121 callouts 2023-06-05 22:14:17 -07:00
Jacky Zhao 4f2a91da13 update spinners 2023-06-04 13:37:43 -04:00
Jacky Zhao 060dcce93e multi-core builds 2023-06-04 12:35:45 -04:00
Jacky Zhao 7b5df46f1c inline scripts 2023-06-03 15:07:19 -04:00
Jacky Zhao 894c7ff4e7 heading linking 2023-06-01 19:48:38 -04:00
Jacky Zhao 428833aeec syntax higlighting 2023-06-01 19:05:14 -04:00
Jacky Zhao 51e26ecb4e scss support 2023-06-01 17:35:31 -04:00
Jacky Zhao 5154dbca4e obsidian flavored markdown support 2023-06-01 12:33:20 -04:00
Jacky Zhao e5f95504e1 link processing 2023-05-31 17:41:44 -04:00
Jacky Zhao 2d3b816c44 rendering, link resolution, asset copying 2023-05-31 17:01:23 -04:00
Jacky Zhao 62d0c4bd1a plugin integration round 2 2023-05-30 08:02:20 -07:00
Jacky Zhao 70a05fccd5 base setup 2023-05-28 17:44:08 -07:00
BSD-Yassin 0183bbcb10 i18n: Update fr.toml (#313) 2023-04-27 11:12:56 -07:00
Jacky Zhao aa52b7a540 fix: graph and tooltip sometimes not showing 2023-04-06 15:06:01 -07:00
Mattia Ippoliti d73301ae11 fix: padding for empty title callouts (#308) 2023-04-01 13:50:08 -07:00
Md Jawad Noor Asif 61c2501fbb fix: search highlight not showing because for trailing slash (#306) 2023-03-30 07:14:06 -04:00
Mike Walton de7eff3ce5 adding myself to the showcase (#301) 2023-03-23 00:56:20 -05:00
Daniel Lazaro aed2983b7b docs: Update link to callouts documentation (#300) 2023-03-18 09:20:56 -07:00
Jacky Zhao 8070695459 deps: bump hugo-obsidian 2023-03-16 10:33:01 -07:00
Jacky Zhao 24f8ae76cb docs: update to account for github changes 2023-03-02 09:14:29 -08:00
Jacky Zhao aea60cc08b deps: bump hugo-obsidian 2023-02-25 13:04:15 -08:00
Jacky Zhao 26001fb683 fix: recent notes partial sorting 2023-02-12 16:46:11 -08:00
Dev Uni 36539c6b7b fix: Bad UI due to head.html (#284) 2023-02-07 08:38:20 -08:00
Simon Späti 623e15d296 feat: Adding Twitter and Social image preview including description (#207) 2023-02-07 00:16:15 -08:00
Jacky Zhao 965e568c6f feat: max-width for large screens 2023-02-06 12:58:34 -08:00
Jacky Zhao 71c8d549ab fix: fix duplicate link click tracking 2023-02-05 12:01:49 -08:00
Jacky Zhao 0fb84029ec feat: add more plausible events 2023-02-05 11:34:39 -08:00
Jacky Zhao cc41f19aad feat: switch from GA to Plausible for analytics 2023-02-05 10:39:58 -08:00
Adam Brangenberg 981b6465d8 feat: Remove leading slash of folders in graph view (#282) 2023-02-01 12:34:18 -08:00
Jacky Zhao 3b0d4629d3 docs: remove broken links from showcase 2023-01-31 11:00:28 -08:00
Olivér Falvai 71691ed423 docs: Clarify Obsidian settings (#280) 2023-01-31 10:48:20 -08:00
herrwinfried f9e4c73b84 feat: Added Turkish translation (#275) 2023-01-29 12:14:11 -08:00
Apoorv Khandelwal c7e1291321 feat: Embedding multimodal assets (#274) 2023-01-21 10:01:05 -08:00
Quadrubo e68fa7910a added the liveReloadPort as an option for docker (#272) 2023-01-18 08:25:01 -08:00
chaosarium 361b884181 Fix callout behaviour inconsistent with Obsidian (closes #168) (#268) 2023-01-09 14:14:11 -08:00
Md Jawad Noor Asif 6de66f98c9 feat: Added Bangla translations (#266) 2023-01-09 14:12:52 -08:00
Md Jawad Noor Asif 56f56e7d8f fix: fix unicode broken tags (#261) 2023-01-03 22:10:25 -05:00
Adam Brangenberg cfe923a1fd refactor: General performance/style improvements (#262) 2022-12-29 10:43:41 -05:00
chaosarium 144660372b fix edge cases link processing (#258)
Fixes https://github.com/jackyzha0/quartz/issues/176
2022-12-24 12:10:59 -05:00
toof 186aa450fd fix: fix misspelling (#259) 2022-12-24 10:38:49 -05:00
chaosarium 19750d2c7c feat: Added simplified Chinese translations (#257) 2022-12-22 10:34:21 -08:00
Jacky Zhao 1088441458 feat: latex in search results 2022-12-03 21:03:12 -08:00
Jacky Zhao caa966de8a fix: text highlighting 2022-11-30 18:00:12 -08:00
Apoorv Khandelwal 5676d90d56 fix: Replacing "internal-link broken" with link to asset (#232) 2022-11-30 17:41:05 -08:00
Jon Erling Hustadnes 2e152a5dfc feat: Added Norwegian localization (#242) 2022-11-27 10:55:43 -08:00
Filippo Andrea Sighinolfi 472ee3ea97 feat: Added italian localization in i18n/it.toml (#239) 2022-11-27 10:55:13 -08:00
Brendan Ang 523f4e67ae feat: add support for mermaid diagrams (#244) 2022-11-27 10:53:52 -08:00
Jacky Zhao f8d2495582 fix: only run docker publish on main repository 2022-11-23 08:34:19 -08:00
Jacky Zhao b9d9ec44af fix: jump to search for operand 2022-11-21 23:36:27 -08:00
SafEight e6733b5e9d 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 fec8fd9a09 fix: Semantic Search: Use Operand Beta API (#235) 2022-11-21 08:54:45 -08:00
Jacky Zhao 514670b55f update config for search 2022-11-20 15:14:48 -08:00
Jacky Zhao 37bd59d5ad feat: docker docs, semantic search alpha 2022-11-20 15:09:58 -08:00
Apoorv Khandelwal 9d6cad7621 feat: Dockerfile and automated container build (#230) 2022-11-20 14:03:53 -08:00
SafEight 64c3e75651 feat: Replace == with <mark> (#234)
Co-authored-by: SAF <saf@saf.saf>
2022-11-19 13:17:55 -08:00
Jacky Zhao 5c8bed5c6a feat: allow enableToc to override default no TOC on a per-page basis 2022-11-19 11:18:57 -08:00
jet457 f687f108e2 docs: add Abhijeet's math-wiki to the showcase (#228) 2022-11-19 11:10:41 -08:00
saucecoat ade87d7f13 Added German translation (#223) 2022-10-29 23:08:44 -07:00
Conor aae283fa00 feat: Add French translation (#221) 2022-10-26 09:12:35 -07:00
Jacky Zhao d84946c556 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-10-25 13:14:13 -07:00
Jacky Zhao 774c4e2d58 deps: bump ubuntu version (closes #218) 2022-10-25 13:14:06 -07:00
Evan Cater 44a2184731 fix euler's identity (#220) 2022-10-24 09:13:35 -07:00
Javier Zaleta Martínez 8f1c4b401f feat: Add Spanish translation (#217) 2022-10-18 17:25:55 -07:00
Charles Chamberlain 483190d244 fix: Apply monospace style to all meta in a popover (#216) 2022-10-16 09:43:43 -07:00
Pavol Komlos bc81bd7e65 Decode the heading id from split link (#214) 2022-10-12 08:21:28 -07:00
Seth fb963b8db9 Add SethMB Work (#203) 2022-10-03 11:45:54 -07:00
Jacky Zhao 976f2461ef Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-09-23 10:17:34 -07:00
Jacky Zhao 391918e7fc feat: hide TOC when no headers (closes #204) 2022-09-23 10:17:28 -07:00
Simon Späti 052b1c798b Adding reference projects (#196)
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-09-14 10:05:51 -07:00
DongDong Chen 3bf99ddc11 add my showcase : oldwinterの数字花园 (#192) 2022-09-14 10:05:20 -07:00
Jacky Zhao b19135cab2 fix: make latex rendering size more simialr to obsidian 2022-09-12 11:08:07 -07:00
Jacky Zhao f879a2e0ac fix: latex rendering bugs + patch for #195 2022-09-11 18:03:55 -07:00
Nikola Georgiev 8a0514bb40 feat: Hide full path to file in Wikilinks by default (#195) 2022-09-11 17:05:14 -07:00
Jacky Zhao 95365231ff Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-08-29 14:23:19 -04:00
Jacky Zhao 6e3157c0a7 Update Quartz version in documentation 2022-08-29 14:23:04 -04:00
Andrii Yefremov a103539d9e Add Ukrainian translation (#191) 2022-08-29 14:15:18 -04:00
Jacky Zhao 1c405c79dc deps: bump hugo-obsidian version 2022-08-28 01:09:52 -04:00
Jacky Zhao 0862dc7751 fix: tag list styling 2022-08-24 00:45:08 -04:00
Youssif Shaaban Alsager bd65d242be feat: Add internationalization (i18n) support (#182) 2022-08-23 23:32:40 -04:00
Vincent Huang 9bc0849280 Popover preview should show relevant heading (#180) 2022-08-20 21:31:06 -04:00
Jacky Zhao a9fdaf9787 feat: link previews to page-list (closes #173) 2022-08-11 11:42:16 -07:00
Jacky Zhao ad5905128d fix: make callout detection case-insensitive (closes #171) 2022-08-05 11:08:52 -07:00
Jacky Zhao d315e75b91 feat: better graph scaling (closes #170) 2022-08-05 11:04:01 -07:00
Jacky Zhao ff4872e8a3 style: _callouts.scss simplification (#169) 2022-08-04 14:50:24 -07:00
Jacky Zhao 07ccc23f6f fix: CJK search (closes #163) 2022-08-03 23:46:55 -07:00
Jacky Zhao d35cb82ef7 fix: highlights being stripped in non-semantic search mode 2022-08-01 07:59:49 -07:00
Jacky Zhao e64b2c378a docs: update, re-added debounce 2022-07-31 18:21:17 -07:00
Jacky Zhao 16f571fcf9 docs: add documentation for Operand Search, remove debounce 2022-07-31 18:02:06 -07:00
Jacky Zhao c30c823253 fix: title not being selected properly, bump hugo-obsidian for uri fix 2022-07-31 16:55:25 -07:00
Jacky Zhao 9dfd79474f 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 75c1cac0c8 deps: bump hugo-obsidian to properly copy linkmap 2022-07-31 12:24:53 -07:00
Jacky Zhao bcc3196abd feat: add support for semantic search using operand 2022-07-31 12:16:36 -07:00
Jacky Zhao 71488dec88 refactor: move search utils to util.js 2022-07-31 10:54:23 -07:00
Jacky Zhao 2d4a986bd7 deps: bump hugo-obsidian version 2022-07-31 10:14:36 -07:00
Jacky Zhao 4cafc64eb9 docs: improve scss structure and admonition styling, update docs 2022-07-30 18:46:19 -07:00
Emile Bangma ee33b49d89 Support Admonition callouts (#166) (closes #88) 2022-07-30 17:29:26 -07:00
Jacky Zhao 32c2a034bb Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-07-19 09:03:26 -07:00
Jacky Zhao 847094f3ca docs: copy edits 2022-07-19 09:03:19 -07:00
Pranav M 09474da51b 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 c73bac4a3d fix: give precedence to date created over last modified if defined (#101) 2022-07-15 14:26:31 -07:00
Jacky Zhao 50c3b5ab0a style: improve header anchor styling 2022-07-14 13:09:21 -07:00
Jacky Zhao a0da04d298 feat: add description section to section/term/taxonomies, fix header margin 2022-07-14 12:02:54 -07:00
Jacky Zhao 216ceb9a34 fix: styling on page-list for smaller screens 2022-07-14 11:49:47 -07:00
Jacky Zhao 5352c38b01 fix: make section-li scss more generic 2022-07-14 10:38:34 -07:00
Jacky Zhao b5d964364b feat: improve styling for lists, fix anchor offset 2022-07-14 10:30:07 -07:00
Jacky Zhao 9cad2af01f feat: css typography improvements 2022-07-13 23:51:33 -07:00
Jacky Zhao 4db93bf384 feat: css refactor for easy font change 2022-07-13 23:37:54 -07:00
Jacky Zhao e235f00fd1 fix: change / to use base url 2022-07-13 22:27:13 -07:00
y1450 5a784fc8f4 fix: remove console log (#159) 2022-07-13 15:02:11 -07:00
Jacky Zhao 9cb48adf29 feat: use floating-ui for better popover positioning 2022-07-13 15:01:50 -07:00
Jacky Zhao dc58887a92 feat: restyle search icon 2022-07-13 14:32:32 -07:00
Jacky Zhao c00d4014f7 fix: tabsize not being respected 2022-07-12 14:37:10 -07:00
Jacky Zhao d9c87a5727 docs + fix: broken partial and description of enableGitHubEdit 2022-07-05 15:42:57 -07:00
rphla d279c1c805 Add GitHub "edit" button (#157) 2022-07-05 15:39:29 -07:00
Jacky Zhao 1d5530e22f fix: copy code block logic for non code pages 2022-07-03 11:50:13 -07:00
Geoffrey Garrett a47218d28c 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 白宇彤 4f088e1312 Fix `width: auto` for SPA routing (#156) 2022-07-02 19:40:18 -07:00
Jacky Zhao 541eac9497 fix: adjust weird colours for err highlighting 2022-07-02 17:14:17 -07:00
Jacky Zhao 9279fa6d97 fix: image scaling for md-style links (closes #155) 2022-07-01 11:27:50 -07:00
Geoffrey Garrett c67ffb76ef Added optional rendering of code block titles (#148) 2022-07-01 11:03:52 -07:00
Jacky Zhao 3912c98dad fix: non-SPA fn defs (closes #154) 2022-07-01 11:03:04 -07:00
Jacky Zhao 3cc761ea2d docs: remove test image from hosting 2022-06-29 17:35:29 -07:00
Jacky Zhao 96fd6a5d1e feat: image scaling (closes #131) 2022-06-29 17:34:05 -07:00
Jacky Zhao 37bd26bc86 fix: anchor formatting (closes #141) 2022-06-29 17:17:53 -07:00
Jacky Zhao 7d80b81cf8 docs: fix page weight 2022-06-29 17:03:41 -07:00
Jacky Zhao 8f277f9f2e docs: polish and update 2022-06-29 16:57:36 -07:00
Jacky Zhao f603dcf3e7 feat: enable raw html by default (fixes #143) 2022-06-29 16:16:06 -07:00
Jacky Zhao 0a744d4451 fix: prefix images with base url for non-root quartz 2022-06-29 16:15:40 -07:00
Jacky Zhao a3623dbb2a Merge pull request #150 from aidenybai/bump-million 2022-06-28 23:21:25 -07:00
Aiden Bai f3ddbe8860 Bump million to 1.11.3 2022-06-28 21:43:28 -07:00
Jacky Zhao 5caa93cd5e Merge pull request #146 from geoffreygarrett/hugo 2022-06-27 16:27:57 -07:00
Geoffrey Garrett 87e01d32a0 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 28495292af docs(config.md): Fixed multi-favicon examples and general favicon explanation throughout 2022-06-28 01:15:33 +02:00
Geoffrey Garrett d3075c02bb docs(config.md): Added short explainer on favicons 2022-06-28 00:45:48 +02:00
Geoffrey Garrett 33958c09f7 docs(content/notes/config.md): Adds documentation for the new favicon support 2022-06-27 22:05:35 +02:00
Geoffrey Garrett e42fd64f86 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 4faa0205a7 Merge pull request #140 from DhammaCharts/hugo 2022-06-07 08:43:52 -07:00
DhammaCharts 74eacf732c change enableGlobalGraph to false 2022-06-06 16:49:01 +01:00
DhammaCharts 32354d4d9d minor adjustment 2022-06-06 16:48:16 +01:00
DhammaCharts dcbce2bece Update layouts/partials/head.html
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-06-06 16:42:53 +01:00
DhammaCharts ca6a6f67fa Merge branch 'hugo' into hugo 2022-06-06 12:56:47 +01:00
Jacky Zhao faa472db04 Merge pull request #139 from aidenybai/prerender-latex 2022-06-03 10:59:18 -07:00
DhammaCharts 4bdfbcfbfb better font behaviour 2022-06-02 08:35:28 +01:00
DhammaCharts e9d9a6cfb9 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00
DhammaCharts 2726835ea0 remove unnecessary ternary 2022-06-02 07:49:09 +01:00
DhammaCharts 49e2072633 change baseURL back to original 2022-06-02 07:45:44 +01:00
DhammaCharts a61b57f827 uncomment window.Million 2022-06-01 21:30:40 +01:00
DhammaCharts 077f3a0d11 increase scale 2022-06-01 21:22:31 +01:00
DhammaCharts e63463a981 add www. 2022-06-01 21:19:03 +01:00
DhammaCharts 5c405ac0c8 change baseURL 2022-06-01 20:15:44 +01:00
DhammaCharts 47dae8a6d4 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 4c291a7d87 Prerender latex 2022-05-29 20:40:44 -07:00
Jacky Zhao eb62163549 Merge pull request #138 from aidenybai/add-footer-config 2022-05-28 23:27:54 -07:00
Aiden Bai fcfb6bf008 Add option to toggle footer 2022-05-28 22:52:18 -07:00
Jacky Zhao c73b6552a2 Merge pull request #137 from aidenybai/fix-non-spa-routing 2022-05-27 19:21:05 -07:00
Aiden Bai 4eaa753e32 Fix formatting 2022-05-27 18:45:42 -07:00
Aiden Bai ed17d678f6 Fix non-spa fallback 2022-05-27 18:42:01 -07:00
Jacky Zhao 8dafd4f1fe Merge pull request #136 from aidenybai/custom-progress-bar-color 2022-05-27 18:32:49 -07:00
Aiden Bai 0da10b77a5 Remove redundant CSS rule 2022-05-27 18:31:36 -07:00
Jacky Zhao b3da25a8f2 Merge pull request #135 from aidenybai/bump-million 2022-05-27 17:14:55 -07:00
Aiden Bai 9c459c0aeb Bump to 1.9.6 2022-05-27 16:14:17 -07:00
Aiden Bai ad94850f82 Add support for progress bar 2022-05-27 13:27:13 -07:00
Aiden Bai f4fb941de7 Bump million to 1.9.5 2022-05-27 13:19:19 -07:00
Jacky Zhao a5942130db Merge pull request #134 from aidenybai/add-prefetching-within-graph 2022-05-27 11:01:20 -07:00
Aiden Bai c5247d4df8 Bump million to 1.9.4 2022-05-27 09:49:28 -07:00
Aiden Bai aff7855269 Bump milliomn to 1.9.3 2022-05-27 09:02:01 -07:00
Aiden Bai c1b8d1965b Add prefetch to graph 2022-05-27 08:40:00 -07:00
Aiden Bai 0978df58f7 Bump million to 1.9.2 2022-05-27 08:39:44 -07:00
Jacky Zhao 0e454790e9 feat: recent posts section/partial 2022-05-23 22:25:13 -07:00
Jacky Zhao b719568b2c fix: js not executing if spa disabled 2022-05-20 16:50:56 -04:00
Jacky Zhao 597d514480 fix: tag boxes overlapping for content with many tags (closes #130) 2022-05-14 16:47:50 -04:00
Jacky Zhao 13cc826cf3 fix inline link highlighting, safer latex render 2022-05-05 21:11:23 -04:00
Jacky Zhao 63a14e205b fix: more generic style to match bad nesting generated by popover interp 2022-05-05 20:35:32 -04:00
Jacky Zhao dd6440e153 fix: clean wikilinks and render latex in popover 2022-05-05 20:30:55 -04:00
Jacky Zhao b61392bea6 fix: merge conf 2022-05-05 01:03:09 -04:00
Jacky Zhao 81f30fea4e feat: contextual backlinks (closes #106) 2022-05-05 00:58:50 -04:00
Jacky Zhao 9d5777b934 Merge pull request #125 from aidenybai/fix-latex 2022-05-04 11:40:38 -04:00
Aiden Bai b3182f5d3f Remove pnpm debug log 2022-05-04 08:39:25 -07:00
Aiden Bai 15f4fe4306 Fix latex 2022-05-04 08:10:59 -07:00
Jacky Zhao 5f089f57f7 Merge pull request #124 from aidenybai/hugo 2022-05-03 13:59:02 -04:00
Aiden Bai 5c7d7eb5f8 Remove redundant URL construction 2022-05-03 10:55:45 -07:00
Aiden Bai b146d410d9 Support /path root sites 2022-05-03 10:54:39 -07:00
Aiden Bai b5bf2152ac Support active node with other data at end of url 2022-05-03 10:38:41 -07:00
Jacky Zhao 3ac4226fee Merge pull request #123 from aidenybai/fix-popover 2022-05-03 13:21:32 -04:00
Aiden Bai 00dfceceac Merge 2022-05-03 10:18:41 -07:00
Aiden Bai b218ce4c56 Rename API and generalize router API 2022-05-03 10:16:09 -07:00
Aiden Bai 8bfd982d4c Merge 2022-05-03 10:07:38 -07:00
Aiden Bai 3eb7297eaf Add future note about init function 2022-05-03 09:34:27 -07:00
Aiden Bai 白宇彤 fb867fedcf Merge branch 'hugo' into fix-popover 2022-05-03 09:33:00 -07:00
Jacky Zhao 7dd40f88ac Merge pull request #122 from aidenybai/fix-active-graph-node 2022-05-03 12:29:26 -04:00
Aiden Bai 055422cc17 Use explicit regex for trailing slash trim 2022-05-03 09:27:25 -07:00
Aiden Bai 018c55bd99 Remove unnecessary 'url' argument in graph.html 2022-05-03 09:22:51 -07:00
Aiden Bai 322643335b Remove unnecessary 'url' argument in graph.html 2022-05-03 09:21:44 -07:00
Aiden Bai 8d105ce68f Remove unnecessary 'url' param in drawGraph 2022-05-03 09:20:01 -07:00
Aiden Bai c3d49818bc Peg router version 2022-05-03 09:04:15 -07:00
Aiden Bai 7a80cc0510 Fix active node on graph 2022-05-03 08:53:18 -07:00
Aiden Bai 6f002d5f5b Enable config for testing 2022-05-03 08:48:35 -07:00
Aiden Bai 4525576341 Fix popover 2022-05-03 08:47:42 -07:00
Jacky Zhao a1d03a044e fix: trim trailing slash when calculating popover 2022-05-03 10:57:20 -04:00
Jacky Zhao b78c02c6f3 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-05-03 10:44:56 -04:00
Jacky Zhao 516eeca853 cfg: make SPA optional 2022-05-03 10:43:22 -04:00
Jacky Zhao ebe627c5fd Merge pull request #121 from benbohmer/patch-1 2022-05-03 09:48:50 -04:00
Jacky Zhao d758e6b4a3 Merge pull request #120 from straightupjac/fix/github-info 2022-05-03 09:47:48 -04:00
benbohmer c9af35742b 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 c20da99a98 fix github info 2022-05-03 01:51:15 -04:00
Jacky Zhao 7653fc0eac fix: broken semi and graph min-height 2022-05-02 13:00:41 -04:00
Jacky Zhao c3eaa9ea86 fmt: remove semis for good 2022-05-02 12:56:44 -04:00
Jacky Zhao 8934617ca0 Merge pull request #118 from aidenybai/add-router 2022-05-02 12:19:26 -04:00
Jacky Zhao 24f70ec244 fmt: remove semis :) 2022-05-02 12:14:51 -04:00
Aiden Bai 81f9e295e4 Fix clarification comment 2022-05-02 09:10:40 -07:00
Jacky Zhao 621ba6465e Merge pull request #119 from aidenybai/add-prettier
Add prettier config
2022-05-02 12:06:57 -04:00
Aiden Bai 17b3039d64 Expand template 2022-05-02 09:05:02 -07:00
Aiden Bai 3f60ab4bbf Add clarification comments 2022-05-02 09:04:36 -07:00
Aiden Bai 7cc9974f93 Use semi: false for prettier config 2022-05-02 08:57:25 -07:00
Aiden Bai 42cb28afb8 Add prettier config 2022-05-01 22:08:14 -07:00
Aiden Bai b4675a9282 Add router 2022-05-01 22:06:33 -07:00
Jacky Zhao e72fc0b62b fix: add update for local hugo-obsidian on make update 2022-04-30 13:13:30 -07:00
Jacky Zhao 5ef8a0c26f feat: copyable header anchors (fixes #86) 2022-04-30 13:10:12 -07:00
Jacky Zhao dcb701721c Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-28 15:53:57 -07:00
Jacky Zhao 92d5e5bd3b feat: show graph titles on zoom (fixes #92) 2022-04-28 15:49:16 -07:00
Jacky Zhao b09df08e07 fix: always hide popover on mobile (fixes #104) 2022-04-28 13:45:29 -07:00
Jacky Zhao 5451e16dd8 fix: append trailing slash, fixes #111 2022-04-28 10:48:31 -07:00
Jacky Zhao 4c8b916197 Merge pull request #108 from exu3/patch-1 2022-04-20 09:20:21 -07:00
Ella 15c046410d Fix another typo 2022-04-17 02:11:17 -07:00
Ella 05d1b12c7f Fix typo: recomment -> recommend 2022-04-17 01:33:16 -07:00
Jacky Zhao 9daef8557b fix: add dropshadow to popover, cleanup animation 2022-04-05 23:19:33 -07:00
Jacky Zhao 493ba0513d fix: popover selection wrongly including line breaks 2022-04-05 22:43:11 -07:00
Jacky Zhao bde1fe5f6a deps: bump hugo -> v0.96.0 2022-04-05 21:40:59 -07:00
Jacky Zhao c92332681a fix: check for src before attempting to add popover 2022-04-05 20:44:39 -07:00
Jacky Zhao b3e699bbf6 fix: missing whitespace chomp in link render hook 2022-04-05 18:07:40 -07:00
Jacky Zhao 396efaadaa fix: wikilink patch not applying to transformed text like apostrophes 2022-04-05 14:14:19 -07:00
Jacky Zhao 23ecd06eef fix: wikilink image relURL for images with spaces 2022-04-05 14:08:36 -07:00
Jacky Zhao cc9050b284 fix: wikilink-like text in code fences #95, #97 2022-04-05 13:47:24 -07:00
Jacky Zhao d07d6ceec1 feat: wikilink img support 2022-04-05 12:47:28 -07:00
Jacky Zhao a443796539 fix: align footer links 2022-04-05 09:41:13 -07:00
Jacky Zhao 9e298dd25d docs: make update command and clarify update steps/potential danger 2022-04-05 00:09:56 -07:00
Jacky Zhao 9e5e2d3d44 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-05 00:02:48 -07:00
Jacky Zhao 26e6ec1cb8 add update target to Makefile 2022-04-05 00:02:37 -07:00
Jacky Zhao 4fd224efed Merge pull request #93 from meleu/patch-3 2022-04-04 23:56:28 -07:00
Jacky Zhao 093da40cdf update screenshot 2022-04-04 23:30:28 -07:00
Jacky Zhao 3bcfa8936a feat: hide toc for short notes 2022-04-04 23:25:24 -07:00
Jacky Zhao 0c0a755162 Merge pull request #94 from meleu/patch-4 2022-04-04 23:20:43 -07:00
meleu 864048f360 link to home goes to baseURL 2022-04-04 20:15:40 -03:00
meleu 4cd43aabc9 docs: warn about possible lost of customization 2022-04-04 17:30:23 -03:00
Jacky Zhao a69f0f4faa Merge pull request #91 from meleu/patch-2 2022-04-04 13:08:42 -07:00
meleu 4c58f1fd32 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 03fd0aea23 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-04 09:45:05 -07:00
Jacky Zhao 3d2e563d2a re-add obsidian file 2022-04-04 09:44:58 -07:00
meleu 89b9abc04e Merge branch 'jackyzha0:hugo' into patch-2 2022-04-03 22:14:12 -03:00
meleu fc342fe8a3 add a collapsible ToC 2022-04-03 22:12:55 -03:00
Jacky Zhao 76c695af0e Merge pull request #88 from meleu/patch-2 2022-04-03 17:57:46 -07:00
Jacky Zhao 3ec8145d74 fix: favicon not showing on non-root domain #89 2022-04-03 17:43:37 -07:00
meleu 99e4fb786d use "enableToc: false" 2022-04-03 16:31:29 -03:00
meleu 8c1bf40202 disable ToC if frontmatter has "enableToc: false" 2022-04-03 16:29:10 -03:00
meleu 4ea7d0c32d disable ToC if enableToc: false 2022-04-03 16:22:32 -03:00
Jacky Zhao 320a377262 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-03 11:44:39 -07:00
Jacky Zhao ad9f2e502f fix: multiline code block #87 2022-04-03 11:44:33 -07:00
Jacky Zhao c3c39c2d08 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 3af6e4e680 duplicated file 2022-04-03 11:19:21 -03:00
Jacky Zhao 948cbdfc07 README update 2022-04-02 21:04:20 -07:00
Jacky Zhao 52fdfc111f bump hugo version v0.82 -> v0.92.2 2022-04-02 20:37:42 -07:00
Jacky Zhao 2dd7171d0e fix latex misrendering 2022-04-02 20:34:55 -07:00
Jacky Zhao ef89dfaac8 bump hugo obsidian, fix backlinks for subpathed quartz, update homepage 2022-04-02 20:21:16 -07:00
Jacky Zhao e247835d15 feat: wikilinks implementation 2022-04-02 20:06:31 -07:00
Jacky Zhao 0f98d65f4c fix: cjk support + demo page 2022-04-02 17:38:39 -07:00
Jacky Zhao 2d48e11a78 feat: basic latex support 2022-04-02 17:00:14 -07:00
Jacky Zhao e02b804523 Merge pull request #83 from meleu/patch-2 2022-04-02 14:53:05 -07:00
meleu 84b36d2534 cleanup 2022-04-02 18:51:45 -03:00
meleu aabcdea76f separate contact links semantically 2022-04-02 18:50:58 -03:00
Jacky Zhao 129d13743b feat: grey out broken links 2022-04-02 13:34:26 -07:00
Jacky Zhao 960de47cad Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-04-02 12:59:47 -07:00
Jacky Zhao 39794d4d69 fix: non-unicode character in popover and search #67, #68 2022-04-02 12:59:38 -07:00
meleu aff7b38826 separate links with &ZeroWidthSpace; 2022-04-02 13:37:12 -03:00
Jacky Zhao 6f2e0db24c Merge pull request #82 from meleu/patch-1 2022-04-01 14:17:35 -07:00
meleu 5aef637877 fix custom.scss path 2022-04-01 18:13:49 -03:00
Jacky Zhao e30e4e12f9 fix pagination styling 2022-04-01 10:13:01 -07:00
Jacky Zhao 27ecf74b4f Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-03-31 23:16:00 -07:00
Jacky Zhao ea0686f032 more troubleshooting, backlinks reference private page fix 2022-03-31 23:15:54 -07:00
Jacky Zhao 6315dd8dba Merge pull request #71 from siyangsun/patch-1 2022-03-21 09:15:35 -07:00
Siyang 4826a21604 add to showcase and fix link to file 2022-03-20 22:37:05 -07:00
Jacky Zhao d040ffdb27 patch image 2022-03-18 10:53:39 -07:00
Jacky Zhao 1fcd21fdcb add update 2022-03-16 17:54:24 -07:00
Jacky Zhao 3c6e446678 fix: bump hugo-obsidian version to account for contentIndex paths on windows 2022-03-15 01:12:08 -07:00
Jacky Zhao 4592bde30d feat: better titles for empty pages #61 2022-03-15 00:37:56 -07:00
Jacky Zhao c51dcaaaf1 Merge pull request #65 from claudio4/fix-text 2022-03-09 10:11:36 -08:00
Claudio Yanes b89fffe959 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 4dcb8c62fd Merge pull request #62 from claudio4/hugo 2022-03-07 10:45:07 -08:00
Claudio Yanes 620d4ae8f7 Merge branch 'jackyzha0-hugo' into hugo 2022-03-07 18:28:14 +00:00
Claudio Yanes 5de94e0d14 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into jackyzha0-hugo 2022-03-07 18:27:45 +00:00
Claudio Yanes 29e2934dc2 Format JS 2022-03-07 18:25:02 +00:00
Jacky Zhao e7d299fa61 fix: hide popover on mobile to prevent overflow 2022-03-04 23:55:07 -08:00
Claudio Yanes 30a6697c5b 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 06a83a1825 Add .gitkeep to assets/indices 2022-03-04 04:14:42 +00:00
Claudio Yanes 4e1e39bff4 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 58b2d1dda9 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 1929b466c0 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 a1c6b89740 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 6846d314d6 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 4b257252ac fix backlinks not using baseurl 2022-02-28 08:24:29 -08:00
Jacky Zhao 58332d0b30 bump hugo-obsidian to support root 2022-02-28 07:30:59 -08:00
Jacky Zhao 03a276a00a fix: explicitly set root as current directory to fix ignore files 2022-02-28 07:14:55 -08:00
Jacky Zhao 3ca62f9ab0 add screenshot to readme 2022-02-23 12:28:25 -05:00
Jacky Zhao 3b998a320b fix: relink search button (move outside content load listener) 2022-02-22 13:36:08 -05:00
Jacky Zhao 15ff24a483 fix links being broken for pages with spaces 2022-02-20 21:40:10 -05:00
Jacky Zhao 85dea2ed79 rtl docs 2022-02-17 10:49:41 -05:00
Jacky Zhao c49adb26d6 docs updates 2022-02-17 10:44:39 -05:00
Jacky Zhao ce4c95b8ab fix #54: root all image urls 2022-02-15 23:03:02 -05:00
Jacky Zhao cf4e921ca4 fix relative pathing for dynamic fetch 2022-02-15 22:54:20 -05:00
Jacky Zhao 6b680a43bb change output to static instead of data 2022-02-15 19:42:45 -05:00
Jacky Zhao fdf1d9bbe3 feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao 556d6799f2 feat: add rtl support as part of #47 2022-02-15 17:12:08 -05:00
Jacky Zhao a74c540ccc Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-02-15 16:52:49 -05:00
Jacky Zhao dc9038792e fix: #50, change css load order 2022-02-15 16:52:32 -05:00
Jacky Zhao 4fd71221f9 Merge pull request #51 from brandonkboswell/patch-1 2022-02-15 14:51:29 -05:00
Jacky Zhao 687edcb902 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-02-15 14:50:34 -05:00
Jacky Zhao 4dcf573fc5 visibility fix 2022-02-15 14:50:25 -05:00
Brandon Boswell 1e027f9ede Added to the Showcase 2022-02-12 22:35:03 -05:00
Jacky Zhao 8d10bdb5df Merge pull request #48 from earnestma/earne/configurable-page-toc 2022-02-11 17:24:54 -05:00
earnest ma 3ea23a0d1c Add disableToc parameter to not show TOC on a page 2022-02-11 17:15:28 -05:00
Jacky Zhao c867a6f0af Merge pull request #46 from adube/patch-1 2022-01-31 12:28:40 -08:00
Alexandre Dubé ef6dce93da 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 18ec469e1f link fixing 2022-01-27 09:38:28 -08:00
Jacky Zhao f268b9728f underscore fix, fix relative path being weird for graph 2022-01-10 13:08:50 -08:00
Jacky Zhao 9106a1605f fix popover regex 2022-01-10 09:00:45 -08:00
Jacky Zhao 1f3cad2afa revert baseurl fix 2022-01-10 08:51:00 -08:00
Jacky Zhao 2caba8f250 various path fixes 2022-01-10 08:49:29 -08:00
Jacky Zhao 3de584c78c set relativeUrls to true 2022-01-05 19:42:13 -05:00
Jacky Zhao fc5748ffa4 docs update 2022-01-04 11:39:22 -05:00
Jacky Zhao 06c7923ad3 update featurelist 2022-01-03 16:37:24 -05:00
Jacky Zhao d39691e43a fix copy selection 2022-01-03 15:36:58 -05:00
Jacky Zhao e8327048bd made link preview optional 2022-01-03 13:22:04 -05:00
Jacky Zhao 671fe795b2 popover implementation 2022-01-03 13:18:31 -05:00
Jacky Zhao 51308b20a0 fix flex gap 2022-01-02 20:02:47 -05:00
Jacky Zhao 470cce1866 fix search styling 2022-01-02 19:49:41 -05:00
Jacky Zhao 5359ffe35f fix render link for apostrophe 2021-12-28 14:28:08 -05:00
Jacky Zhao fac4950315 bump hugo-obsidian 2021-12-27 20:52:30 -05:00
Jacky Zhao 722a8c645b add pagination to section, fix graph linking 2021-12-27 20:16:21 -05:00
Jacky Zhao bc218f3d61 remove console.log 2021-12-27 19:43:01 -05:00
Jacky Zhao 05bee3c878 add taxonomy and term lists 2021-12-27 19:35:42 -05:00
Jacky Zhao f664d5e49e fix last modified not working for capitalized pages 2021-12-27 17:53:33 -05:00
Jacky Zhao 22830be78a fix capitalization 2021-12-27 17:44:39 -05:00
Jacky Zhao ab192437dc fix casing 2021-12-27 17:43:27 -05:00
Jacky Zhao 2e7801d20b modify obsidian 2021-12-27 17:34:53 -05:00
Jacky Zhao 8b1cc8ffc1 enable last modified info 2021-12-27 17:28:53 -05:00
Jacky Zhao 64596c3742 content section 2021-12-27 15:59:19 -05:00
Jacky Zhao 6b5baa4f61 dedupe backlinks 2021-12-27 13:15:10 -05:00
Jacky Zhao 000611b2ea add graph depth config 2021-12-27 13:06:58 -05:00
Jacky Zhao 8fd011ac31 base tags 2021-12-26 21:13:21 -05:00
Jacky Zhao 3891f13e9e various font and colour fixes 2021-12-26 00:09:15 -05:00
Jacky Zhao 42a11e3f39 add makefile, fix link padding, test capitalization 2021-12-25 23:45:30 -05:00
Jacky Zhao c9400d06fa fix untitled #36 2021-12-24 15:51:37 -05:00
Jacky Zhao 7858bc70cf Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2021-12-24 09:48:41 -05:00
Jacky Zhao b5643bf747 add toLowerCase to id 2021-12-24 09:48:22 -05:00
Jacky Zhao c6412ea6e4 fix config setting, fix font size for h1 in article 2021-12-23 14:40:59 -08:00
Jacky Zhao 74e1092b44 actually display site title 2021-12-23 14:32:47 -08:00
Jacky Zhao ed93fc8b7b update subdomain docs 2021-12-23 14:21:39 -08:00
Jacky Zhao cca56fbd2b 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 1ccfb6e8d3 Create CODE_OF_CONDUCT.md 2021-12-23 13:37:29 -08:00
Jacky Zhao 9e54be2403 Update issue templates 2021-12-23 13:22:22 -08:00
Jacky Zhao 9aa78a6c98 Create FUNDING.yml 2021-12-23 13:18:03 -08:00
Jacky Zhao f36f9b11dd Merge pull request #28 from juaoose/overflow 2021-12-02 20:06:18 -08:00
Juaoose b63d9c1abd remove horizontal scrollbar 2021-12-02 22:58:34 -05:00
Jacky Zhao e332d5f9a6 remove bad wikilink 2021-11-20 22:55:53 -08:00
Jacky Zhao ab17ca5816 better search, fix spacing support, bump hugo-obsidian 2021-11-20 22:53:26 -08:00
Jacky Zhao b80562bc37 search styling 2021-11-15 15:54:18 -08:00
Jacky Zhao e55361d476 search patch 2021-10-31 09:59:38 -07:00
Jacky Zhao 555f293801 more search improvements 2021-10-30 23:27:33 -07:00
Jacky Zhao 7f9444c0e8 css fixes 2021-10-27 20:10:04 -07:00
Jacky Zhao a7669d317f update graph redir 2021-10-26 17:06:00 -07:00
Jacky Zhao d4a7456fd6 Merge pull request #23 from bur3ku/hugo 2021-10-26 17:03:07 -07:00
Blake Allen 657e3b6380 Merge branch 'hugo' of https://github.com/bur3ku/quartz into hugo 2021-10-26 16:58:37 -07:00
Blake Allen c457f0af60 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen 8f2e5f1bdb Merge branch 'hugo' into hugo 2021-10-26 12:46:03 -07:00
Blake Allen 7f9f9dca8a fix conflict fix 2021-10-26 12:44:25 -07:00
Blake Allen 4e2f8eb96a fix conflict 2021-10-26 12:43:55 -07:00
Blake Allen 786d5d84f2 change %20 in node labels to whitespace, change %20 in node hrefs to hyphen 2021-10-26 12:36:20 -07:00
Jacky Zhao a805f19f38 normalize search styling 2021-10-25 15:06:29 -07:00
Jacky Zhao 8c74061ea2 search fix 2021-10-25 15:00:55 -07:00
Jacky Zhao 5c4b6046b2 better homepage 2021-10-24 23:45:55 -07:00
Jacky Zhao afaf25ba45 forgot string lol 2021-10-24 23:32:55 -07:00
Jacky Zhao 8e27c78c1f docs updates, add search to main page, fix redir bug 2021-10-24 23:31:09 -07:00
Jacky Zhao 1150feb378 bump docs 2021-10-24 23:17:20 -07:00
Jacky Zhao bbfbe2ed90 search improvements 2021-10-24 23:17:13 -07:00
Jacky Zhao 5577b46db3 bump hugo-obsidian version 2021-10-24 23:17:00 -07:00
Blake Allen a50c87d1cd fix accidental code 2021-10-22 18:56:26 -07:00
Blake Allen b1b2913834 fix last commit 2021-10-22 18:32:57 -07:00
Blake Allen c942c5e09d fix for notes with spaces not linking properly 2021-10-22 14:04:09 -07:00
Jacky Zhao 40fef3fe61 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 84b4ee9119 fix product typo in external hosting section 2021-08-31 16:40:31 -05:00
jackyzha0 7d34dfd501 update showcase 2021-08-28 20:58:14 -04:00
jackyzha0 efe3932bfb Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2021-08-27 14:08:18 -04:00
Jacky Zhao 943858ded5 Merge pull request #9 from brechtcs/template
Execute darkmode script before first render
2021-08-13 17:45:32 -04:00
Brecht Savelkoul 9d47dc942e Execute darkmode script before first render 2021-08-13 22:50:02 +02:00
Jacky Zhao b5ed5aa14b Merge pull request #8 from SlRvb/patch-1
Add SlRvb Site to Showcase
2021-08-12 23:49:05 -04:00
SlRvb 1d1ac23ff8 Add SlRvb Site to Showcase 2021-08-12 20:46:23 -07:00

Diff Content Not Available