MarkupString.Pueblo 2.3.0

dotnet add package MarkupString.Pueblo --version 2.3.0
                    
NuGet\Install-Package MarkupString.Pueblo -Version 2.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MarkupString.Pueblo" Version="2.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MarkupString.Pueblo" Version="2.3.0" />
                    
Directory.Packages.props
<PackageReference Include="MarkupString.Pueblo" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MarkupString.Pueblo --version 2.3.0
                    
#r "nuget: MarkupString.Pueblo, 2.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MarkupString.Pueblo@2.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MarkupString.Pueblo&version=2.3.0
                    
Install as a Cake Addin
#tool nuget:?package=MarkupString.Pueblo&version=2.3.0
                    
Install as a Cake Tool

MarkupString.Pueblo

Pueblo for MarkupString: writes core's shared vocabulary — sounds, pictures, panes, clearing the screen and prefetching — in the Pueblo client's own HTML extensions.

You say a thing once; this package is how a Pueblo client hears it. The same text goes to an MXP client through MarkupString.Mxp, to a browser through MarkupString.Html, and to a terminal, which gets a picture's description, a pane's text, and nothing for a sound.

dotnet add package MarkupString.Pueblo

Usage

using MarkupString;
using MarkupString.Ansi;
using MarkupString.Html;
using MarkupString.Pueblo;

var registry = MarkupRegistry.Empty.WithAnsi().WithHtml().WithPueblo();

var line = MarkupText.Concat([
  MarkupText.Sound("door.wav", volume: 80),
  MarkupText.Pane(MarkupText.Plain("North: the gate"), "map", "The Map")]);

line.Render(MarkupFormat.Pueblo, registry);
// <img xch_sound="play" href="door.wav" xch_volume="80"><xch_pane action="redirect" name="map" panetitle="The Map">North: the gate<xch_pane action="redirect" name="_previous">

Elements

Factory Written as
MarkupText.Sound(source, volume, repeats), Music(...) <img xch_sound="play" href= xch_volume=>, or "loop" for repeats: SoundMarkup.Forever
MarkupText.StopSound(channel) <img xch_sound="stop" xch_device="wave"\|"midi">
MarkupText.Image(source, description, width, height, align) <img src= alt= width= height= align=>
MarkupText.Pane(content, name, title) <xch_pane action="redirect" name= panetitle=>content<xch_pane action="redirect" name="_previous">
MarkupText.ClearScreen() <xch_page clear="text">
MarkupText.Prefetch(source) <xch_prefetch href= xch_prob="100">

Pueblo has two players, one for wave files and one for MIDI, and picks between them by the file; it has no music channel as such, and plays a sound once or loops it, without a count. It has no gauges, status bar or variables, and those write their text.

The Pueblo handshake — PUEBLOCLIENT, and the sequence that moves a client into HTML — belongs to the telnet layer, not to text. Names and attributes are the client's own, from its source (uecasm/pueblo: ChSound.cpp, ChPaneTag.cpp, ChHtmlPane.cpp, ChHeadElement.cpp).

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.0 37 9/22/2026