Three requests for the command line and command history windows
I have three related requests for the Rhino command line and command history windows:
- Make them Markdown-compatible.
- Support GitHub-style notification blocks.
- Allow the output to contain clickable actions that execute Rhino commands or macros.
1. Make the windows Markdown-compatible
Please make the Rhino command line and command history windows Markdown-compatible.
A command could then display structured output using simple formatting such as headings, bold text, lists, tables, code blocks, and links.
I understand that commands needing an elaborate interface can use Eto, but these two windows still feel very limited and dated. Adding Markdown rendering would make them immediately useful for many simple commands without requiring every developer to build and maintain a custom UI.
For example, today a command might print a report as plain text:
A12 Clip 128 0.08 kg
BRACKET-LEFT-HAND-EXTENDED Stainless-steel reinforcement bracket 4 12.6 kg
P7 Cover plate for upper rail 23 1.42 kg
ASSEMBLY-204 Complete entrance framing assembly 1 486.75 kg
With Markdown support, the same command could display:
Part Description Count Weight A12 Clip 128 0.08 kg BRACKET-LEFT-HAND-EXTENDED Stainless-steel reinforcement bracket 4 12.6 kg P7 Cover plate for upper rail 23 1.42 kg ASSEMBLY-204 Complete entrance framing assembly 1 486.75 kg
The different lengths of the part numbers, descriptions, quantities, and weights make the current plain-text output difficult to scan. A rendered table solves that immediately.
2. Support GitHub-style notification blocks
Please also support GitHub-style Markdown alerts for consistent notifications.
GitHub extends Markdown with blocks such as:
> [!NOTE]
> This object is already on the target layer.
> [!WARNING]
> Three open curves were skipped.
> [!CAUTION]
> This operation cannot be undone.
Rhino could implement a similar convention and define the appearance of each notification type, including its icon, colors, spacing, and light- or dark-mode presentation.
Native commands and third-party plug-ins could then use the same semantic notification styles instead of each developer inventing a different format.
3. Allow clickable command actions
Please also add a small Rhino-specific extension that allows Markdown output to contain clickable actions.
These actions could use normal Markdown link syntax with a Rhino-specific destination. For example:
[Open drawing](rhinomacro:_Open "path")
Rhino could render links using the rhinomacro: scheme as buttons, including an optional icon, and execute the associated command or macro when clicked.
A command could then display an interactive table such as:
Part Description Count Weight Action A12 Clip 128 0.08 kg Open drawing BRACKET-LEFT-HAND-EXTENDED Stainless-steel reinforcement bracket 4 12.6 kg Open drawing P7 Cover plate for upper rail 23 1.42 kg Open drawing
This would suddenly make the command line and command history interactive. A command could display results and let the user immediately open a drawing, select an object, zoom to an item, correct a problem, rerun an operation, or request more details.
Markdown alone would substantially improve the presentation of command output. Markdown plus a small, controlled mechanism for command links would open many additional possibilities for both native commands and plug-ins, without requiring a complete (and very likely inconsistent) Eto interface for every simple workflow.
