glow icon indicating copy to clipboard operation
glow copied to clipboard

Link URLs not displayed when link is inside emphasis

Open gardenappl opened this issue 5 years ago • 2 comments

Not sure whether this is an issue with glow or with glamour, sorry if I got this wrong.

When parsing a file with the following line:

**Hello [world](https://example.com), testing**

I expect output similar to:

Hello world https://example.com, testing

(where "world" has a different color)

What I get instead is just:

Hello world, testing

(where "world" is the same color as the rest of the line)

Same issue happens with italics. Note that Github does support links with emphasis:

Hello world, testing

I'm using glow 1.2.1 (more specifically, the glow-bin package from AUR)

gardenappl avatar Dec 23 '20 16:12 gardenappl

Yeah, this issue still persists! :/

anshul-march avatar Jun 28 '21 11:06 anshul-march

Sorry about that, but it's a slightly more involved change in the renderer. We're working on a bit of a refactor to improve handling nested elements.

muesli avatar Jun 28 '21 11:06 muesli