Skip to content

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

Open
charmbracelet/glamour
#421
@ErebusBat

Description

@ErebusBat

Describe the bug

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions