Source minimize/maximize

Issue #525 wontfix
Former user created an issue

In !MoinMoin (uses pygments for syntax highlighting) I must add huge parts of source on pages. Sometimes source is so huge , that it disturbs to view page. So, it's possible add to pygments following feature. For example, we have code on 5 strings. I wanna button [+/-], which maximizes to full source/minimizes to 1 string. Like folding in programmer editors, but to full source.

Reported by guest

Comments (1)

  1. Georg Brandl repo owner

    I don't think this is something that Pygments needs to support out of the box. It can be easily added either by the code that renders code in Moin, or a custom plugin layer.

  2. Log in to comment