Commit Graph

77 Commits

Author SHA1 Message Date
c4b756c817 style: remove redundant webkit prefix 2024-01-27 23:13:17 -08:00
d90199c8db fix: code block overflow scroll (#729) 2024-01-25 09:56:26 -08:00
d5b40279bd feat: Enable custom callout (#724)
* Enable custom callout

make a callout custom defaulted to a note one.

* Add a comment

* remove comment from quartz/plugins/transformers/ofm.ts

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

* Update quartz/plugins/transformers/ofm.ts

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

---------

Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-01-24 23:54:24 -08:00
5fb203a6df fix(style): make a not inline-block 2024-01-23 17:08:56 -08:00
af811d824f style: make internal link have less visual padding (closes #706) 2024-01-17 20:03:14 -08:00
107d9b8dff fix: external link icon shouldn't be vertical aligned (#699) 2024-01-16 08:18:55 -08:00
fa7d139ce5 feat: External link icons (#697) 2024-01-15 23:55:32 -08:00
40cfccdc77 style: relative back on pre 2023-12-28 15:07:59 -08:00
63bf1e14b5 style: remove relative from base pre 2023-12-20 19:55:28 -08:00
9b9d86474b fix: mermaid rendering fix from upstream 2023-12-19 11:01:55 -08:00
443cd53a1a fix: mermaid rendering broken after rehype-pretty-code bump (closes #638) 2023-12-18 23:09:49 -08:00
ea6208c1f0 deps: bump everything (closes #635) (#636)
* deps: bump ws

* deps: bump lightningcss

* deps: workerpool

* deps: various types

* deps: chalk

* deps: globby

* deps: preact

* deps: tsx

* deps: @floating-ui/dom

* deps: esbuild

* deps: types + prettier

* deps: rimraf, typescript

* deps: remark/rehype/unified ecosystem

* format
2023-12-18 09:48:40 -08:00
a464ae5029 fix: format 2023-12-13 16:47:22 -08:00
66e297c0ea css: make article no longer relative to prevent z-fighting 2023-12-13 16:40:24 -08:00
4442847b37 fix: internal link selector specificity 2023-12-13 16:07:44 -08:00
8223465bda fix: make :has img selector direct 2023-11-12 14:33:19 -08:00
74c63e448e fix(style): dont internal-link highlight when image (closes #581) 2023-11-11 21:13:10 -08:00
50a87d0d86 style: scrollable tables 2023-11-11 11:39:56 -08:00
af9ddadc4d fix(css): import base from custom instead of the other way around (#536) 2023-10-14 13:45:56 -07:00
3268d45a20 css: make article relative 2023-10-05 13:48:52 -07:00
afa163f2fe style: styling for codeblocks without langs (#527) 2023-10-05 13:30:06 -07:00
ea5742c328 fix: mermaid copy source position 2023-09-24 10:31:54 -07:00
16d33fb771 feat: display name for folders, expand explorer a little bit (#489)
* feat: display name for folders, expand explorer a little bit

* update docs
2023-09-20 16:08:54 -07:00
91f9ae2d71 feat: implement file explorer component (closes #201) (#452)
* feat: add basic explorer structure„

* feat: integrate new component/plugin

* feat: add basic explorer structure

* feat: add sort to FileNodes

* style: improve style for explorer

* refactor: remove unused explorer plugin

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

* refactor: clean css, respect displayClass

* style: add styling to chevron

* refactor: clean up debug statements

* refactor: remove unused import

* fix: clicking folder icon sometimes turns invisible

* refactor: clean css

* feat(explorer): add config for title

* feat: add config for folder click behavior

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

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

* fix: bug where nested folders got incorrect height

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

* feat: introduce `folderDefaultState` config

* feat: store depth for explorer nodes

* feat: implement option for collapsed state + bug fixes

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

* fix: default folder icon rotation

* fix: hitbox problem with folder links, fix style

* fix: redirect url for nested folders

* fix: inconsistent behavior with 'collapseFolders' opt

* chore: add comments to `ExplorerNode`

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

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

* feat: set folder state from localStorage

needs serious refactoring but functional (except folder icon orientation)

* fix: folder icon orientation after local storage

* feat: add config for `useSavedState`

* refactor: clean `explorer.inline.ts`

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

* refactor: clean explorer

merge `isSvg` paths, remove console logs

* refactor: add documentation, remove unused funcs

* feat: rework folder collapse logic

use grids instead of jank scuffed solution with calculating total heights

* refactor: remove depth arg from insert

* feat: restore collapse functionality to clicks

allow folder icon + folder label to collapse folders again

* refactor: remove `pointer-event` jank

* feat: improve svg viewbox + remove unused props

* feat: use css selector to toggle icon

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

* refactor: remove unused cfg

* feat: move TOC to right sidebar

* refactor: clean css

* style: fix overflow + overflow margin

* fix: use `resolveRelative` to resolve file paths

* fix: `defaultFolderState` config option

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

* fix: use `QuartzPluginData` type

* docs: add explorer documentation
2023-09-15 09:39:16 -07:00
cce389c81d feat: note transclusion (#475)
* basic transclude

* feat: note transclusion
2023-09-13 11:28:53 -07:00
74c3ebb7bd style: fix mulitline callout styling 2023-08-26 10:48:34 -07:00
953ef29f4e format, ensure ci runs on prs 2023-08-24 12:31:15 -07:00
94ce0883e7 style: integrate tertiary color to text-select (#413) 2023-08-24 12:28:06 -07:00
8c943f47d6 format, update default sidepanel width 2023-08-21 09:00:13 -07:00
236130ac22 css fixes, add recent notes, more robust quartz update 2023-08-20 12:46:37 -07:00
cfb7d1232e docs: update notes for tag and folder listings 2023-08-20 00:52:49 -07:00
eb4d3dc5b4 css: fix scrollbars on windows 2023-08-19 21:55:09 -07:00
d6e73f221c fix relative path resolution logic, add more path tests 2023-08-12 21:16:43 -07:00
6d9ffd6da5 404 page styling on local 2023-08-12 21:16:43 -07:00
c89f8b1a9a fix nested callout folding 2023-08-12 21:16:43 -07:00
c55d54f068 enable rich text in callout title 2023-08-12 10:16:55 -07:00
ee9ed4f287 fix head.tsx 2023-08-08 20:36:24 -07:00
09d4eb0684 fix notes 2023-08-07 23:57:24 -07:00
533d68e642 most of creating components, increase legibility of bold in article and callouts 2023-08-07 23:56:50 -07:00
527ce6546e various css fixes, fix new image loading bug when previewing, path docs 2023-08-07 21:41:18 -07:00
cd9dc6ecb5 fix css transforms for mobile 2023-08-06 22:07:08 -07:00
d8d9dd22c9 fix shortest path for non-md files, mobile fix 2023-08-06 20:52:17 -07:00
3adc73a703 docs upgrade, ci changes 2023-08-06 19:52:30 -07:00
028bcec62c mobile fixes, fix bug when linking to anchor on home, docs 2023-08-06 17:09:29 -07:00
9e76b257d4 fix mermaid initialization 2023-08-04 22:35:21 -07:00
cbae88fc4e Removing redundant properties (#356) 2023-07-30 21:08:32 -07:00
45f9087f03 fix checkbox/tasklist styling 2023-07-25 22:27:59 -07:00
c0278a8c65 font loading options, optimize css 2023-07-24 21:54:47 -07:00
351b4ab13b styling fixes for stacking order and overflow 2023-07-23 21:41:09 -07:00
fd7c33c537 style fixes for search bar and title on mobile 2023-07-23 11:19:15 -07:00