Skip to content

Commit

Permalink
Let emoji wrap by themselves
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Aug 31, 2024
1 parent 74f3aa1 commit a0abb3c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions PwshSpectreConsole/public/demo/Get-SpectreDemoFeatures.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 @("", "")
Expand Down

0 comments on commit a0abb3c

Please sign in to comment.