-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Quarto #924
Comments
If I understand Foam design, then they will work together. Nothing needs be done that I can see now. Caveat: I am a fairly new Foam user. Not yet a contributor. |
I agree, they should be able to coexist, probably the only thing that might need improving is support for the |
@riccardoferretti support for the |
Foam is meant to be unopinionated about this like Quarto. Considering notes beyond the |
Makes sense @riccardoferretti. Perhaps supported extensions could be defined as a Foam preference, to allow for more flexibility. |
FYI we now have a Quarto VS Code extension that provides various facilities for |
Quarto support could indeed greatly broaden foam community due to its complementary features. |
Broadening this slightly after Discord conversation with @riccardoferretti . My use case is for MDX files, which @riccardoferretti suggests we add in here to make this an issue about how different file extensions are handled. For clarity, I am not (in this issue) asking for MDX preview inside VS Code, for my purposes I am happy for rendering of the MDX components to be solely an issue for my website publishing code. However I do want the freedom to use
many Foam functions don't work against these files:
|
Your comment also made me think that right now we are a bit too strict in the way we activate Foam with markdown. Our selector is
and probably something like
would do. or even just I see the Quarto has a document selector of type So probably a way to solve both problems would be to allow additional selectors for which Foam should be enabled exposing them in the configuration, e.g to allow the following selector: |
@riccardoferretti that sounds plausible but you know far more about workings of VS Code than me, just getting started on my first extension. I'm slightly confused though, given in my config I have:
and when I open a so why do you think VS Code is not already treating MDX files as selected by |
That's a limitation of Foam, as it explicitly only looks for .md files. We need to be smarter, or at least more flexible with configuration, to support other extensions |
Hi-- how could I help do this? I'm interested in adding MDX to foam. |
hi @randallb happy to provide support on the task, thanks for looking into it! My initial step here would be to look at the places where This is just a off-the-top-of-my-head approach, happy to discuss alternatives you might think of. Let me know if you have any question, you can also ping me on our discord server. |
I tried using foam with quarto and my experience so far has been (perhaps I didn't set up things correctly):
Anyone experienced the same or has a good workaround for it? Cheers, |
Quarto front-matter validation should be tolerant of YAML it doesn't recognize. Specifically which front-matter is tripping things up? Note that you can also specify |
I had issues with the |
Another issue - if i want to create notes with executable code in them, they must use the |
At the moment Foam uses |
This PR will introduce support for Quarto #1235 |
We've started to use Quarto to create dynamic documents – weaving together narrative and code in plain text. With plans for a Quarto vscode extension it would be amazing to have Foam support for
.qmd
files in preparation for potentially tighter integration.Interested to hear thoughts on this.
The text was updated successfully, but these errors were encountered: