Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style.ToMarkup() does not include the link #1642

Open
trackd opened this issue Sep 14, 2024 · 0 comments
Open

Style.ToMarkup() does not include the link #1642

trackd opened this issue Sep 14, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@trackd
Copy link

trackd commented Sep 14, 2024

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 👍 this issue if you are interested in it.

@trackd trackd added bug Something isn't working needs triage labels Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: Todo 🕑
Development

No branches or pull requests

1 participant