polacode icon indicating copy to clipboard operation
polacode copied to clipboard

FR: Highlight sections of the code to draw attention and dim rest

Open jeffjose opened this issue 8 years ago • 4 comments

Often times when you present the code you want to draw attention to a particular part of the code. The best way to do this is to "dim" the rest of the code (but not remove completely) and retain syntax highlight for the section we want folks to look at.

polacode should support this usecase.

See screenshot for an instance of this in action - https://imgur.com/hHc16Vw.png

jeffjose avatar Feb 16 '18 22:02 jeffjose

What you are asking could easily complicate the UX. If you can link to some real-world presentations and convince me this is indeed a common use case, I can look into how to support it while avoiding complicating UX.

octref avatar Feb 18 '18 05:02 octref

Feel free to reopen if you can link to real-world presentations using this type of image.

octref avatar Feb 21 '18 03:02 octref

OK it's just I didn't realize, but this seems to be quite a common use case.

octref avatar Apr 12 '18 16:04 octref

Here's the link and use case https://www.slideshare.net/LookAtMySlides/codeware

bovas85 avatar Apr 13 '18 06:04 bovas85