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

Code folding for ``` fenced blocks #15

Open
TS-CUBED opened this issue Nov 16, 2022 · 2 comments
Open

Code folding for ``` fenced blocks #15

TS-CUBED opened this issue Nov 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@TS-CUBED
Copy link

Hello, is there a feature to allow folding tripe backtick fenced blocks?

When writing a paper I can fold all the structure elements, but not the code blocks. Is that something that will be in quarto-mode or something we need to get from another package?

@cscheid
Copy link
Contributor

cscheid commented Nov 16, 2022

That feature is not in quarto-mode currently (and I don't have any time availability in the short term to work on it), but this would be cool to do and pull requests are definitely welcome!

@cscheid cscheid added the enhancement New feature or request label Nov 16, 2022
@TS-CUBED
Copy link
Author

Played around with the usual suspects:

hideshow.el doesn't work in polymode, since it doesn't cope with the virtual buffers that switch between markdown-mode and code-mode.

But https://github.com/matsievskiysv/vimish-fold does work nicely.

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

No branches or pull requests

2 participants