glow icon indicating copy to clipboard operation
glow copied to clipboard

Using a custom style with conceal:true does not hide element

Open ErebusBat opened this issue 5 months ago • 0 comments

Describe the bug

  • I downloaded the stock "dark" theme from here: https://github.com/charmbracelet/glamour/blob/master/styles/dark.json
  • I added "conceal": true to the link element
  • glow --style mine.json still rendered the link

I also tried removing everything from the link element and while the style changed (indicating it was reading the style file) it still displayed the link.

Setup

> glow --version
glow version 2.0.0

To Reproduce Steps to reproduce the behavior:

  1. Add "conceal": true to the link element in a custom style
  2. View file with links.. the links (http...) still display

Expected behavior Just the link text should be displayed

Screenshots Blue is stock dark theme, Red is with the conceal attribute. zsh

ErebusBat avatar Aug 27 '24 17:08 ErebusBat