Skip to content
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

Does it work? #6

Open
lahwaacz opened this issue Feb 17, 2024 · 5 comments
Open

Does it work? #6

lahwaacz opened this issue Feb 17, 2024 · 5 comments

Comments

@lahwaacz
Copy link

I created a clean virtual environment where I installed JupyterLab and Quarto:

pip install jupyterlab jupyterlab-quarto

However, it still does not seem to work - notably the frontmatter is not rendered as in the screenshot in README:

screenshot-2024-02-17@10:01:33

@dragonstyle
Copy link
Contributor

Hello - thanks for opening this issue! It looks to me like the front matter cell is a raw cell (which isn't rendered as markdown in jupyterlab). Try switching that cell to a markdown cell and things should work as you'd expect.

Let us know if that clears this up!

@lahwaacz
Copy link
Author

lahwaacz commented Feb 17, 2024

Well, the Get Started guide instructs to create a "raw" cell. I downloaded the notebook from this page and changed slightly (I think only author was added).

@dragonstyle
Copy link
Contributor

You're correct- we'll either update that doc or I'll figure out how to make raw cell rendering working in a JL extension...

@tmatthias29
Copy link

Might be good to change the documentation here, or at least leave this issue open, until you fix this or chnange the Quarto docs page. I had the same issue as the OP and had to open a closed issue to find the solution.

@dragonstyle dragonstyle reopened this Mar 5, 2024
@dragonstyle
Copy link
Contributor

Good suggestion, I re-opened this. A couple of notes from my research:

  • We currently document using a raw block as the front matter in our documentation largely because for viewers of a notebook without the extension installed, this will look significantly better. It is unrendered, but at least you can see it is front matter. With a non-raw block, It just ends up a jumble of badly rendered markdown (since the renderer doesn't recognize the raw block).
  • I looked into a rendering the raw block, but I could only find a way to completely take over rendering of the raw block (including managing edit vs non-edit mode, etc...). I wasn't quite willing to take a bit that big, so we ended up here for now. This branch https://github.com/quarto-dev/jupyterlab-quarto/tree/feature/raw-cell contains the proof of concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants