Skip to content

Feature Request: more details in fold text #3247

@aquohn

Description

@aquohn

Describe the solution you'd like
When folding \begin{...} blocks, the fold text just states the \begin{...} part, not any of the arguments. It may sometimes be helpful to display the arguments, for example in the case of \begin{frame} in Beamer. Of course, some environments have horrendously long arguments that would not be useful in fold text, so perhaps this could be implemented as a configurable list of opt-in environments (or maybe a dictionary of environments to the number of arguments to show in fold text).

Describe alternatives you've considered
I could override the foldtext function as per #2532 but this seems like it would be quite beneficial to be upstreamed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions