Comments (6)
Currently, there's no reference tracing in Quartz to support this so this is 'working as intended' and not a bug but I agree that it would be a good enhancement to have
from quartz.
As a small update, I've tried to make a workaround/solution following the instructions on this stack exchange to create a glob pattern to filter out every non markdown file out of the vault except the attachments folder. This led me to the pattern{!(*.md),!(attachments)/**/!(*.md)}
, however this will filter out ALL files in the root folder, including .md files regardless of their published status. I checked this on digital ocean's glob tool and it looks like it should've worked. Maybe I'm misunderstanding something? I hope this helps.
edit:
Using just !(attachments)/**/!(*.md)
Almost works, but doesn't filter out any non-markdown content on the root level. This is enough of a workaround for the moment but the main issue still stands
from quartz.
Oh alright!! In that case I still believe the documentation should mention it on the private pages page. Should I make a PR?
from quartz.
Yes! Feel free to make a docs fix for it :) Oversight on my part haha thank you
from quartz.
(btw, Quartz uses fast-glob
for globbing and it's slightly different from the unix glob: https://github.com/mrmlnc/fast-glob?tab=readme-ov-file#pattern-syntax)
from quartz.
(btw, Quartz uses
fast-glob
for globbing and it's slightly different from the unix glob: https://github.com/mrmlnc/fast-glob?tab=readme-ov-file#pattern-syntax)
OK THAT EXPLAINS SO MUCH... I'll also update the part of the docs mentioning "any valid glob works" to say "any valid fast-glob works", since despite it linking there I just went straight to the pattern tester hahaha
thank you 🙏
edit: FINALLY GOT SOMETHING WORKING. The following two glob patterns will filter out any non-markdown items except for those in attachments. The reason it has to be split up into two patterns is because I couldn't figure out how to match both root-level files and sub-directories while including an exception for the attachments folder.
"!(attachments)**/!(*.md)", "!(*.md)"
and if you have more than one attachments folder, use this instead
"**/!(attachments)**/!(*.md)", "!(*.md)"
Alright now it's time to update the docs 👍
from quartz.
Related Issues (20)
- Pound sign must be URL-encoded
- Transclusion/Transclude does not work when note has dots in its name. HOT 1
- Allow FrontMatter title to be shown as link name
- Inclusion of Transclusions in Reading Length Estimation
- Scrollable Sidebar for Enhanced User Navigation HOT 5
- Enhancing Interactive Learning with In-Browser Code Execution Capability HOT 1
- Enhancing User Experience with Distinctive External Link Indicators and Automatic New Tab Opening HOT 10
- Clicking on a document in a folder where the catalogue does not automatically expand will automatically shrink it. HOT 8
- Formatted callout title is yet to be supported
- Adding Links to Search Results HOT 6
- `defaultDateType: created` works locally but fails when deploy on github pages HOT 1
- Request for Enhanced Link Previews with Customizable Descriptions HOT 4
- Build new changes without cleaning the output HOT 1
- Enhance Internal Link Readability
- `AliasRedirects` fails for the aliases that can't be a file name HOT 1
- Direct Page Editing via GitHub Link for Streamlined Collaboration
- Block Reference does not recognize block when block name contains dashs
- feat(search): UI layout for preview HOT 2
- Latex in header breaks links and TOC
- Search function (CTRL+K) search also css styles HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quartz.