Skip to content

Trouble with quarto-preview, and also with python code blocks #18

@claytharrison

Description

@claytharrison

Hi, I've just set up quarto-mode in my Doom Emacs config by including (package! quarto-mode) and the other dependencies in my packages.el, and then (use-package! quarto-mode) in my config.el, as I believe is usual for Doom packages.

It seems to have somewhat worked, as polymode seems to recognize different languages when I move my cursor into the YAML header, or into a code block (since the Major mode in the bottom corner changes accordingly), but I'm having a hard time actually getting anything done. When I do M-x quarto-preview, I get a quarto preview buffer but nothing shows up:
image

It becomes difficult to troubleshoot because I'm not even sure how this is supposed to look. I tried running M-x quarto-menu to see if I got any more options but that just gives me the message command-execute: quarto-menu must be bound to an event with parameters.

My next problem is that, when I try and send code blocks to be evaluated using C-c C-c, it works just fine with R/ESS, but with python code, the entire buffer gets sent to the Inferior Python process, where the document header immediately causes a syntax error.
image

Is there anything wrong with how I've set this up? Do I need to add any use-package! lines for the dependencies in my config.el? I'm new to Emacs so I really appreciate the help. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions