Seohyun Kim
21e75acc8d
fix: "draft" true or false in frontmatter still removes from publishing #1244 ( #1249 )
...
* fix: draft bug #1244
* update: contents in folder before creating PR
* Update draft.ts
2024-06-30 20:59:08 -07:00
John Bowdre
3faf2ff6f5
feat(analytics): Cabin analytics support ( #1221 )
...
* add cabin analytics
* fix formatting
2024-06-18 13:38:45 -07:00
Jacky Zhao
1d94e9c303
css: use fit-content ( closes #1194 )
2024-06-17 22:13:31 -07:00
Jacky Zhao
265faef4e8
fix: properly compute relative path for explorer ( closes #1055 , #1066 )
2024-06-17 21:43:32 -07:00
Jacky Zhao
541b470cfc
fix: overflow fade for good ( closes #1218 )
2024-06-17 21:33:53 -07:00
Paul Trotter
42640bceb5
Check link isExternal before adding target="_blank" ( #1211 )
...
Fixes #1186 openLinksInNewTab opens ALL links in new tabs. Fixed to reflect documented behavior here: https://quartz.jzhao.xyz/plugins/CrawlLinks
2024-06-16 22:33:28 -07:00
Emile Bangma
3e14b2b89b
fix(wikilinks): pdf page linking ( #1207 )
2024-06-14 09:17:46 -07:00
Emile Bangma
81d00fc9c0
.callout-content support ( #1188 )
...
* .callout-content support
* Use BlockContent | FootnoteContent for callout body
* Update quartz/plugins/transformers/ofm.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Refactor
* Combine child selectors
* Fix multiple callout members
* Empty check
* Replace splice
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-06-13 16:02:00 -07:00
Callum Barker
a12d76afdb
fix: fix explorer view gradient positioning on mobile ( fixes #906 ) ( #1206 )
2024-06-13 12:47:22 -07:00
Leo Lazou
0472daa003
homepage coloured as visited in the Graph ( #1128 )
...
simplifies slug from FullSlug to SimpleSlug before storing it in the visited pages list in memory
this leads to "index" page and "folder/index", "tags/tag/index" being stored a "/", "folder/" and "tags/tag/" respectively in the list of visited pages.
this ensures that the homepage is rightfully coloured as a visited page in the "color" function of the graph
2024-06-12 09:39:49 -07:00
Leo Lazou
244801af65
idea: Tags appear as hollow circles on the graph ( #1129 )
...
* Tags appear as hollow circles on the graph
Added a few lines to make tags appear as hollow circles on the graph, as opposed to pages which are plain circles, for better visual separation.
* Applied Prettier code style
2024-05-30 10:42:22 -07:00
Dinu Blanovschi
0b9f79e1b7
feat(graph): obsidianLikeFocusOnHover ( #1017 )
...
* feat(graph): obsidianLikeFocusOnHover
* fix: prettier
* fix: remove option from config
* fix: for when opacityOld < 0.2
* fix: prettier
2024-05-29 12:53:23 -07:00
Alex Nordstrom
9ff4626d25
fix: change callout metadata regex to include non-letter characters ( #1174 )
...
* fix: change callout metadata regex to include non-letter characters
* fix: make metadata regex non-greedy
This allows for users to have callouts such as
> [!NOTE|left foo-bar 123] a ]+ title with square brackets [s] a
> Contents
2024-05-29 12:48:39 -07:00
Alex Nordstrom
77d6d9623f
feat: add callout metadata parsing ( #1172 )
2024-05-28 15:23:28 -07:00
James Bennion-Pedley
9c726efa33
feat(i18n): homepage link for 404 pages ( #1117 )
...
* Add homepage link with internationalization
* Construct pathname from baseUrl config value
* More robust URL manipulation
* Add Farsi (#1133 )
* Fix bad rebase
2024-05-22 16:44:54 -04:00
Yohann Bacha
81a4e20236
feat: ability to hide tags in the recent notes component ( #1147 )
...
* feat: ability to hide tags in the recent notes component
* docs: recent notes custom parameters in a table
* docs: revert recent notes doc to bullet points
* fix: linter issues
* Update docs/features/recent notes.md
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-05-21 09:50:58 -07:00
Bartłomiej Garbiec
a97e72f219
i18n: add Polish translation ( #1148 )
...
* Create pl-PL.ts
* add pl-PL to index.ts
* import pl-PL in index.ts
2024-05-20 12:36:32 -07:00
Eledah
3c4d54352d
feat(i18n): add Farsi ( #1133 )
...
* Add fa-IR translation via upload
* Add files via upload
* Ran npm run format
2024-05-13 09:12:06 -07:00
John Bowdre
d03fdc235a
feat(analytics): Tinylytics support ( #1118 )
...
* add tinylytics support
* fix formatting
* add trailing semicolon for consistency
2024-05-06 09:30:21 -07:00
Lucas-BRT
6a019dae13
fix: unnecessery 'm' letter removed in pt-BR ( #1100 )
2024-04-16 18:02:59 -07:00
kwyuan
1f032f538b
feat(analytics): PostHog support ( #1072 )
2024-04-08 18:43:09 -07:00
Emile Bangma
5ec61468d5
fix(wikilinks): proper escaping of pipe character in wikilinks inside tables ( #1040 )
2024-03-31 09:44:50 -07:00
Hydrophobefireman
aa4f5294a3
fix: do not render <p> inside FolderContent article ( #1044 )
...
it can lead to nested <p>'s which is actually [invalid html](https://www.w3.org/TR/html401/struct/text.html#h-9.3.1:~:text=The%20P%20element%20represents%20a%20paragraph.%20It%20cannot%20contain%20block%2Dlevel%20elements%20(including%20P%20itself) .)
2024-03-31 09:44:20 -07:00
Emile Bangma
d75928ad5c
fix(assets): pdf page linking support. ( #1025 )
...
* github-slugger pdf workaround
* Skip sluggifying on pdf file extension
* Account for pdf files without anchor
* Address feedback
2024-03-24 16:23:25 -07:00
Jacky Zhao
0a2b52f618
simpler katex fix
2024-03-24 15:50:38 -07:00
Emile Bangma
8437d9da72
fix(style): LaTex/KaTeX overflow ( #1027 )
...
* LaTex/KaTeX overflow fix
* prettier
* Add !important modifier
* Added overflow-x override
* Refactor without !important
* Refactor scss notation
* Formatting scss
2024-03-24 15:43:36 -07:00
Jorge Marcelo Risco
70d86ff096
i18n: pt-BR translation ( #1024 )
...
* i18n: pt-br
* i18n: pt-br translation
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-03-24 09:40:01 -07:00
Kun-Szabó Kristóf
6efc4dd724
i18n: add Hungarian translations ( #1023 )
...
* add Hungarian translations
* typo: _ instead of - in hu-HU
* run prettier
* revert prettier messing up tsconfig
* Update hu-HU.ts
2024-03-24 09:35:07 -07:00
Emile Bangma
7e22c38f8e
fix(wikilinks): handle wikilinks inside tables seperately from other wikilinks ( #1005 )
...
* fix(wikilinks): handle wikilinks inside tables seperately from other wikilinks
* Prettier
* Cleaned up duplicate code
* Remove test logging
* Refactored and fixed for non-aliased wikilinks inside table
* Updated naming and comments
* Updated comment of wikilink regex
* Updated regex to match previous formatting
* Match table even if EOF is immediately after the table.
* Update quartz/plugins/transformers/ofm.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Change table escape replace to non-regex version
* Prettier
* Prettier
---------
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-03-17 18:16:04 -07:00
Jacky Zhao
daa8796554
fix: format
2024-03-17 18:15:42 -07:00
Jacky Zhao
91f0a2abb2
feat: support rich descriptions in tag listing page ( closes #908 )
2024-03-17 18:00:04 -07:00
makondratev
38d9d52137
feat(search): add search by title/content index and tag at the same time ( #978 )
...
* feat(search): add search by title/content index and tag at the same time
* fix(search): set search type to basic and remove tag from term for proper highlightning and scroll when searched by tag and title/content index
* fix(search): use indexOf to find space so it is easier to read
* fix(search): trim trailing whitespaces before splitting
* fix(search): set limit to 10000 for combined search mode (to make filter by tag more accurate)
2024-03-17 17:48:00 -07:00
Emile Bangma
4691369abf
fix(wikilinks): only escape alias in wikilinks inside tables ( #1000 )
2024-03-16 09:23:08 -04:00
Aaron Pham
7164857f6e
chore(ofm): remove unused ( #999 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-15 18:17:42 -07:00
Mara-Li
b98e4be665
feat(i18n): Add French translation for reading time ( #998 )
...
Signed-off-by: Mara-Li <lili.simonetti@outlook.fr>
2024-03-15 18:28:31 -04:00
catcodeme
8be51a0504
fix: wikiLink in table ( #993 )
...
* fix: wikiLink in table
- update regexp to make '\' to group in alias
- handle alias using block_id
* style: format with prettier
* style: add comment for block_ref(without alias) in table
---------
Co-authored-by: hulinjiang <hulinjiang@58.com>
2024-03-14 23:25:01 -07:00
Linus Sehn
92cc23dc45
feat(plugin): citations ( #984 )
...
* feat: add rehype-citations
* feat: add citations transformer plugin
* feat: add rehype-rewrite
* feat: add csl option and add no-popover to citation links
* revert: add rehype-rewrite
04b2692 'feat: add rehype-rewrite'
* feat: use existing package for html manipulation
* fix: remove `console.log()`
2024-03-13 03:59:37 -04:00
Mara-Li
9fff6d7d0d
fix: spelling error ( #987 )
...
I really don't know why I translated this like that into "pas trouvé", and it bugged me a lot. I finally fixed it…
Signed-off-by: Mara-Li <lili.simonetti@outlook.fr>
2024-03-11 09:46:53 -07:00
Matt Vogel
0f5a9d7b66
feat: separated content meta ( #929 )
...
to allow for CSS styling
2024-03-10 09:57:10 -07:00
kabirgh
b4236e5142
feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter ( #977 )
...
* Stop mutating resources param in ComponentResources emitter
* Add done rebuilding log for fast rebuilds
* Move google font loading to Head component
* Simplify code and fix comment
2024-03-09 16:42:23 -08:00
Emile Bangma
6e0c102970
fix(transclusion): prevent duplicate transclusion if multiple transclusions are present. ( #982 )
2024-03-09 16:14:31 -08:00
Emile Bangma
94a54698ab
fix(resources): Use full path to font when cdnCache is false ( #976 )
2024-03-09 11:59:55 -05:00
Emile Bangma
2e9a0c21db
fix(description): first sentence no longer repeats until max length ( #981 )
2024-03-09 08:43:40 -08:00
Aaron Pham
b30a200bd4
fix(i18n): make sure to use correct fileData for manual localization ( #975 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-08 09:14:22 -08:00
Emile Bangma
6d59aa8201
fix(description): counts characters instead of words ( #972 )
...
* fix(description): make sure description counts characters instead of words
* ref: removed duplicate ternary
2024-03-08 04:04:44 -05:00
Aaron Pham
141dd3b51f
fix(description): make sure to we join space correctly ( #970 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-06 19:45:02 -08:00
Tyler Funk
3d4a94dda3
feat(analytics): Goatcounter support ( #956 )
...
* Add options to support goatcounter analytics
* goatcounter: support self-hosted
* Add to configuration docs for goatcounter settings
* use https instead of protocol-relative link for goatcounter js
2024-03-06 19:44:34 -08:00
Jacky Zhao
ba6c7a73d1
fix: remove extra # from tag content
2024-03-06 19:00:37 -08:00
Aaron Pham
f44e4d25e6
fix(tag): remove hash on main page ( #969 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-06 18:24:50 -08:00
Matt Vogel
001c166825
fix(tag): move hash to sass styling only ( #930 )
2024-03-06 20:25:39 -05:00
Emile Bangma
e13cafe070
feat: support youtube playlist iframe ( #968 )
...
* feat: support youtube playlist iframe
* chore: updated Youtube embed documentation to include playlists
2024-03-06 09:45:31 -08:00
Jacky Zhao
0ca8a2ac7c
chore: transclude subsection without dynamic regex construction
2024-03-05 22:17:58 -08:00
Emile Bangma
5163504517
fix: transclude all subsections for embedded call ( closes #963 ) ( #964 )
2024-03-06 00:53:35 -05:00
Aaron Pham
cec3662c74
feat(graph): focusOnHover ( #954 )
...
by default, globalGraph will enable focusOnHover, similar to Obsidian.
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-04 15:09:20 -05:00
Emile Bangma
bcb5b2df09
feat(frontmatter): configure max length for description ( #946 )
...
* Sentence length check
* Replace external links with domain name.
* Updated documentation.
* Updated replacement values.
* Updated Regex based on feedback.
* Check description for undefined
* Updated external url transform regex.
* Updated formatting
2024-03-04 09:52:28 -08:00
Jacky Zhao
2a7e61ae2a
feat: support transcluding codeblocks and blockquotes ( closes #940 )
2024-03-03 12:31:55 -08:00
HakuGuen
1c42b6365c
feat(i18n): add Vietnamese translation ( #950 )
2024-02-29 19:14:20 -05:00
kon-foo
f200a0be22
fix: correct umami host for self-hosted ( #939 )
...
* fixed umami script path for self-hosted version
* Update quartz/plugins/emitters/componentResources.ts
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
---------
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
2024-02-27 11:05:28 -05:00
Aaron Pham
6b90d03ca6
chore(type): export attribute for theme key ( #933 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-26 09:53:45 -08:00
Aaron Pham
d6e79d1ea6
chore(types): update correct annotations for pages ( #928 )
2024-02-25 16:58:21 -08:00
kabirgh
a6417c447a
fix(fast rebuild): handle added an deleted markdown correctly ( #921 )
...
* Handle added files correctly
* Handle deletes properly
* addGraph renamed to mergeGraph
2024-02-23 18:40:42 -08:00
Jacky Zhao
421718958f
fix(callouts): use user provided title instead of canonical for default title
2024-02-23 11:20:35 -08:00
Aaron Pham
129e878b29
chore(img): return targetUrl as given href ( #916 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-22 21:55:35 -08:00
Aaron Pham
96c7076fb5
feat(popover): add support for PDF ( #913 )
...
* feat(popover): add support for PDF
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: split pdf by ';'
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* fix: remove unnecessary check
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-22 22:16:40 -05:00
Aaron Pham
345c347a56
chore: passing additional buildCtx to componentData ( #914 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-22 17:51:07 -08:00
Eiko Wagenknecht
1c3f3d03e1
fix(toc): correct type for minEntries param ( #909 )
2024-02-20 09:06:53 -08:00
Eiko Wagenknecht
3b266ee7d0
fix: add space and missing dot for listing pages ( #907 )
2024-02-20 09:45:10 -05:00
JONG HWAN KIM
fc5fa48bf1
feat(i18n): change itemsUnderFolder, itemsUnderTag translation of ko-KR ( #905 )
...
* feat(i18n): add Korean
* feat(i18n): add Korean
* feat(i18n): change itemsUnderFolder, itemsUnderTag translation of ko-KR
2024-02-19 22:36:54 -08:00
Eiko Wagenknecht
b6cf3df84f
fix: correctly parse falsy js as title ( #900 )
2024-02-19 13:49:07 -08:00
kon-foo
0493942c79
fix: remove assets via globs to avoid volume mount lock ( #877 )
...
* Fix docker volume lock issue by altering asset cleanup method
Modified build process to prevent the deletion of the output directory.
* Add fsOps utility for filesystem operations
* Use cleanDirectory in build process to fix volume lock issue
* applied prettier
* handle ENOENT error when output dir does not exist
* remove native function in favor of rimraf
* use path.join to concatenate paths
2024-02-19 11:04:27 -08:00
kabirgh
a67a8d7aa9
feat: implement getDependencyGraph for TagPage ( #872 )
...
* feat: implement getDependencyGraph for TagPage
* Only add file to dg if it has at least 1 tag
2024-02-19 13:58:15 -05:00
KylinDC
e85ea49000
feat(i18n): add Simplified Chinese ( #896 )
2024-02-19 13:31:09 -05:00
Leonardo Ledda
d9e8ffc78c
feat(i18n): Add Italian ( #893 )
...
Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
2024-02-19 12:50:01 -05:00
Eiko Wagenknecht
efd46f84de
fix(frontmatter): delimiters parameter was not passed ( #885 )
...
* fix: delimiters parameter was not passed
Signed-off-by: Eiko Wagenknecht <git@eiko-wagenknecht.de>
* fix: remove unneeded undefined
---------
Signed-off-by: Eiko Wagenknecht <git@eiko-wagenknecht.de>
2024-02-19 00:08:36 -08:00
s-crypt
739c2e2cc8
perf(cdn): CDNJS instead of JSDelivr ( #891 )
2024-02-18 20:26:04 -08:00
JONG HWAN KIM
b1a105371b
feat(i18n): add Korean ( #889 )
...
* feat(i18n): add Korean
* feat(i18n): add Korean
2024-02-18 17:37:59 -05:00
makondratev
8c5c5f9130
feat(i18n): add Russian ( #886 )
2024-02-18 13:54:37 -05:00
Jacky Zhao
aa24a62ae7
fix(breadcrumbs): calculate trailing slash for tag hierarchies ( closes #873 )
2024-02-17 11:12:35 -08:00
Jacky Zhao
a6690c6503
fix(style): bold should use semibold
2024-02-17 10:57:59 -08:00
Jacky Zhao
06e3f8b93d
fix(style): introduce semiBoldWeight and various improvements to reduce CLS
2024-02-17 10:34:51 -08:00
Silviu Lorenț
fa2ea2896f
feat: add user-defined config for syntax highlighting plugin ( #869 )
...
* feat: add user-defined options to syntax highlighting plugin
* feat: add default syntax highlighting config to `quartz.config.ts`
* chore: refactor according to @aarnphm's review
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
* chore: run Prettier on `quartz/plugins/transformers/syntax.ts`
* Update quartz/plugins/transformers/syntax.ts
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* Update syntax.ts
---------
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-17 10:23:45 -08:00
kabirgh
5af707ea20
fix/feat(fast rebuild): re-render transclusions in normal and fastRebuild mode ( #842 )
...
* Re-render transclusions in normal watch mode
* Include transclusions in ContentPage getDependencyGraph
* Address PR comments
2024-02-17 09:45:01 -08:00
kabirgh
823d952922
feat: implement getDependencyGraph for AliasRedirects emitter ( #860 )
2024-02-15 19:50:48 -05:00
kabirgh
78a408c96a
feat: implement getDependencyGraph for FolderPage ( #849 )
2024-02-15 19:50:33 -05:00
David Fischer
6c8023463d
Add support for image popovers ( #854 )
...
* feat(popover): Add support for images
* fix: run prettier
* feat(popover): use switch logic for content types & adjust styles
* feat(popover): Add content type data tag for popover-inner class
2024-02-14 15:41:13 -05:00
Aaron Pham
21c6bbf302
chore(types): add additional hint for LSP support ( #864 )
...
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-13 23:53:44 -05:00
Jacky Zhao
b87a701ff7
fix: base.com not being resolved properly with joinSegments
2024-02-13 01:27:27 -08:00
Lin
880a9511b6
fix: incorrect link resolution for transclusion in root index file ( #853 )
...
Co-authored-by: Lauréline Nevin <laureline.nevin@unicaen.fr>
2024-02-13 03:11:16 -05:00
Jacky Zhao
a7325eadc1
fix(analytics): umami custom host should be a string ( closes #852 )
2024-02-12 09:01:05 -08:00
Emile Bangma
5dc4f21a4b
feat(i18n): localize the min read string for the nl-NL locale ( #850 )
...
* Update min read translation
* Added nl_BE to Dutch
Added Flemish (nl_BE) to point to nl.
* Removed period to match other translations
2024-02-12 08:58:00 -08:00
Jacky Zhao
76f295620c
feat: add transclude-src to transclude 'link to original'
2024-02-12 08:52:00 -08:00
kabirgh
226891b9b1
fix(fast rebuild): call only required emitters, don't always copy assets ( #845 )
...
* fix(fast rebuild): call only required emitters, don't always copy assets
* Type function
2024-02-11 12:20:44 -08:00
Jacky Zhao
389f2e8bee
fix(ofm): allow diacretic marks in tag regex ( closes #830 )
2024-02-11 12:12:01 -08:00
Jacky Zhao
4a6a44950f
fix(breadcrumbs): folder index by full path rather than folder name ( closes #676 )
2024-02-11 11:26:24 -08:00
Silviu Lorenț
2b39bd93f3
feat(i18n): localize the min read
string for the ro-RO
locale ( #847 )
...
* feat(i18n): localize `min read` string for `ro-RO` locale
* chore: run Prettier on `quartz/i18n/locales/ro-RO.ts`
2024-02-11 11:23:58 -08:00
Neel Shah
b5295e0f26
fix: breadcrumbs displayName issue for file names ending with index ( #839 )
2024-02-11 11:08:12 -08:00
Jacky Zhao
ab0e20b4d0
chore: refactor out and export endsWith
2024-02-11 10:57:24 -08:00
Alq
3518ca9e2a
feat(i18n): localize the min read string ( #838 )
...
* feat(i18n): localize the min read string fixes #825
* chore: format
2024-02-11 10:43:08 -08:00
Aaron Pham
ab80eba794
chore(callouts): remove unnecessary whitespaces after class name ( #833 )
...
Though we should have a plugins that just strip whitespace in all node
class.
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-02-10 17:19:17 -05:00
Aaron Pham
6ae0bb0908
chore: move fonts all into static folder ( #835 )
...
* chore: move fonts all into static folder
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
* chore: update formatter
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-02-10 17:17:41 -05:00