Markdown formatting

JohnGoldsmith
edited September 15 in General

In markdown preview (.md) and when using Util.Markdown the space characters get stripped from the following sample:

00b3ade/                          # VS Code storage bucket for one workspace folder
├── workspace.json                # Identifies the real workspace this bucket belongs to
├── state.vscdb                   # VS Code workspace state database
├── state.vscdb.backup            # Backup copy of the workspace state database
├── chatSessions/                 # VS Code chat session timelines
│   ├── 8b23d5f3.jsonl            # One Copilot chat session log; filename is the session ID
│   ├── e0806f1c.jsonl            # Another chat session log
│   └── ...                       # Other saved chat sessions for this workspace

and render like this:

If you use Util.SyntaxColorText(mdStr, SyntaxLanguageStyle.Markdown).Dump(); then the spaces are retained and comments are aligned.

Is this an easy fix for the preview and Util.Markdown?

This is based on 9.11.8