spectre.console icon indicating copy to clipboard operation
spectre.console copied to clipboard

Style.ToMarkup() does not include the link

Open trackd opened this issue 5 months ago • 0 comments

Information

  • OS: Windows
  • Version: 0.49.1
  • Terminal: Windows Terminal

Describe the bug

when you convert a Style object with ToMarkup() it does not include any link property. it only adds foreground + background + decoration.

relevant code

To Reproduce

[Spectre.Console.Style]::new(
    [Spectre.Console.Color]::Blue, 
    [Spectre.Console.Color]::Default, 
    [Spectre.Console.Decoration]::Underline, 
    'https://spectreconsole.net/'
    ).ToMarkup()

underline blue

Expected behavior

underline blue link=https://spectreconsole.net/

Please upvote :+1: this issue if you are interested in it.

trackd avatar Sep 14 '24 19:09 trackd