charmbracelet / glow

Render markdown on the CLI, with pizzazz! 💅🏻
MIT License
16.3k stars 356 forks source link

Glow is not rendered when it is assigned (in PowerShell) #528

Open StartAutomating opened 1 year ago

StartAutomating commented 1 year ago

Describe the bug

Glow is not rendered when it is assigned in PowerShell.

Setup Please complete the following information along with version numbers, if applicable.

This blocks https://github.com/StartAutomating/Posh/issues/227

outofrange commented 6 months ago

I had a similar issue where I wanted to use glow output as a preview for fzf, or piping to something like glow ... | cat.

It seems like you can force rendering with specifying a style like this: glow -s dark ... | cat

korpa commented 5 months ago

Same as #545 ?

mattcargile commented 4 months ago
$x = "# Hello" | glow --style auto; $x

works too.

StartAutomating commented 4 months ago
$x = "# Hello" | glow --style auto; $x

works too.

Good to know! Feel free to file an issue or PR in either EZOut or Posh