1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-27 08:41:34 +00:00
Commit Graph

337 Commits

Author SHA1 Message Date
Aaron Pham
1ab9c91df1 feat(mermaid): improvement navigation ()
* feat(mermaid): custom stuff

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: use mermaid and update clipboard content

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* fix: explicitly use center div

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-11-10 18:13:12 -05:00
David Fischer
31e0b7c6f8 feat(comments): conditional display via frontmatter () 2024-11-09 04:44:32 -05:00
Emile Bangma
314a88d5c6 feat(transformer): allow inline CSS styling ()
* feat(transformer): allow inline CSS styling

* Updated docs

* Default to inline: false

* Removed redundant inline: false
2024-10-30 23:57:39 +01:00
Thomas Hack
1d2dc167f4 feat(folder): add intermediate folders pages ()
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-10-25 12:52:33 -04:00
Emile Bangma
ad52d09567 Feat(filters): Support "true" as valid for draft and publish frontmatter values (b3a02909ba) 2024-10-22 20:33:54 +00:00
Jacky Zhao
b3a02909ba fix: make filter checks more strict (closes ) 2024-10-15 09:34:46 -07:00
Pierre Lairez
0d1f15d37c feat(ofm): Allow for dashes in custom callout label ()
* [OFM] Allow for dashes in custom callout label

For compatibility with Obsidian's behavior, a custom callout like
[!see-also] is possible. Previously, this was parsed by Quartz as a
callout “see” with metadata “-also”. Instead, this is should be a
callout “see-also” with title “See also” (capitalization + replace
dashes by spaces).

* prettier
2024-10-10 07:15:23 -04:00
Aaron Pham
8a95c865c8 chore(citations): passthrough options () 2024-10-09 14:14:44 -04:00
Malcolm Mielle
b8c46ba81a feat(analytics): clarity ()
Add the code necessary for support of Microsoft clarity
2024-09-30 10:06:37 -07:00
Gustavo de Paula
4aaeb768d8 update cabin url () 2024-09-20 09:23:19 -07:00
Emile Bangma
cd3bb25626 fix: account for subtags in numerical tags (closes ) () 2024-09-15 11:25:31 -04:00
bfahrenfort
eb9bbd1666 fix: constrain link icon size () 2024-09-14 10:10:01 -07:00
Matt Vogel
d2414b3903 feat(markdown): Roam Research flavour ()
* feat: Roam Research flavor markdown

* docs: Roam Research transformer

* use markdownPlugins

* fix roam matching

* cleanup: Roam Plugin

---------

Co-authored-by: Matt Vogel <>
2024-09-11 03:29:07 -04:00
Andrew
d27c292736 feat: Mark the external link icon as aria-hidden () 2024-08-12 20:06:19 -07:00
Jacky Zhao
39eebca3cf chore: ts fixes 2024-08-08 18:28:13 -07:00
Jacky Zhao
9acaa1c8ac feat: custom global latex macros (closes ) 2024-08-08 18:19:45 -07:00
Jacky Zhao
3938904cd0 fix: embed pdf aspect ratio (closes ) 2024-08-05 19:31:54 -07:00
Jacky Zhao
ca3943b500 fix: responsive youtube embed (closes ) 2024-08-05 19:14:14 -07:00
Jacky Zhao
6264f5685c fix: comments on spa should work (closes ) ()
* fix comments on spa

* fix giscus
2024-07-30 01:13:13 -07:00
Emile Bangma
f37dbe1a59 fix(translusion): block reference not being recognized. () 2024-07-14 03:06:52 -07:00
Jacky Zhao
247625c4f5 feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Jacky Zhao
965425d54d docs + chore: cleanup custom sort ordering for folder + tag listings, add docs 2024-07-09 17:55:19 -07:00
Cao Mingjun
ea92ed4f45 feat: Allow custom sorting of FolderPage and TagPage () 2024-07-09 17:42:33 -07:00
Alex Nordstrom
c95f1d2336 feat: add alias/metadata to transclude tag () 2024-07-09 17:26:32 -07:00
Jacky Zhao
2154d36d99 chore: use regex flag instead of string in regexp ctor 2024-07-09 17:20:13 -07:00
Seohyun Kim
21e75acc8d fix: "draft" true or false in frontmatter still removes from publishing ()
* fix: draft bug 

* 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 ()
* add cabin analytics

* fix formatting
2024-06-18 13:38:45 -07:00
Paul Trotter
42640bceb5 Check link isExternal before adding target="_blank" ()
Fixes  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 () 2024-06-14 09:17:46 -07:00
Emile Bangma
81d00fc9c0 .callout-content support ()
* .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
Alex Nordstrom
9ff4626d25 fix: change callout metadata regex to include non-letter characters ()
* 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 () 2024-05-28 15:23:28 -07:00
John Bowdre
d03fdc235a feat(analytics): Tinylytics support ()
* add tinylytics support

* fix formatting

* add trailing semicolon for consistency
2024-05-06 09:30:21 -07:00
kwyuan
1f032f538b feat(analytics): PostHog support () 2024-04-08 18:43:09 -07:00
Emile Bangma
5ec61468d5 fix(wikilinks): proper escaping of pipe character in wikilinks inside tables () 2024-03-31 09:44:50 -07:00
Emile Bangma
7e22c38f8e fix(wikilinks): handle wikilinks inside tables seperately from other wikilinks ()
* 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
Emile Bangma
4691369abf fix(wikilinks): only escape alias in wikilinks inside tables () 2024-03-16 09:23:08 -04:00
Aaron Pham
7164857f6e chore(ofm): remove unused ()
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
2024-03-15 18:17:42 -07:00
catcodeme
8be51a0504 fix: wikiLink in table ()
* 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 ()
* 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
kabirgh
b4236e5142 feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter ()
* 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
94a54698ab fix(resources): Use full path to font when cdnCache is false () 2024-03-09 11:59:55 -05:00
Emile Bangma
2e9a0c21db fix(description): first sentence no longer repeats until max length () 2024-03-09 08:43:40 -08:00
Aaron Pham
b30a200bd4 fix(i18n): make sure to use correct fileData for manual localization ()
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 ()
* 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 ()
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 ()
* 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
Aaron Pham
f44e4d25e6 fix(tag): remove hash on main page ()
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 () 2024-03-06 20:25:39 -05:00
Emile Bangma
e13cafe070 feat: support youtube playlist iframe ()
* feat: support youtube playlist iframe

* chore: updated Youtube embed documentation to include playlists
2024-03-06 09:45:31 -08:00