From a0abb3c8f4fe1986428b03e90afbcaf29ded5005 Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sun, 1 Sep 2024 01:40:05 +1200 Subject: [PATCH] Let emoji wrap by themselves --- PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1 b/PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1 index 8efb5ce..db60ff7 100644 --- a/PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1 +++ b/PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1 @@ -82,10 +82,7 @@ function Get-SpectreDemoFeatures { $table = Add-SpectreTableRow -Table $table -Columns @("", "") # Markup - $markup = @( - (Write-SpectreHost "[violet]Spectre.Console[/] supports a simple bbcode like [bold]markup[/] for [yellow]color[/], [underline]style[/], and emoji! :thumbs_up: :red_apple:" -PassThru), - (Write-SpectreHost ":ant: :bear: :baguette_bread: :bus:" -PassThru) - ) | Format-SpectreRows + $markup = Write-SpectreHost "[violet]Spectre.Console[/] supports a simple bbcode like [bold]markup[/] for [yellow]color[/], [underline]style[/], and emoji! :thumbs_up: :red_apple: :ant: :bear: :baguette_bread: :bus:" -PassThru $table = Add-SpectreTableRow -Table $table -Columns @((Write-SpectreHost "[red]Markup[/]" -PassThru), $markup) $table = Add-SpectreTableRow -Table $table -Columns @("", "")