• exec/load/md2asc.js exec/typemd.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Mon Apr 27 19:56:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/142f094a6ae8503831e1b30f
    Added Files:
    exec/load/md2asc.js exec/typemd.js
    Log Message:
    Add Markdown viewer (typemd.js / md2asc.js)

    Mirrors the typehtml.js / html2asc.js pair: a thin command script
    in exec/ handles file I/O, while exec/load/md2asc.js does the
    conversion to plain text with optional Synchronet Ctrl-A attribute
    codes. Supports headings, bold/italic, strikethrough, code spans
    and fenced/indented code blocks, ordered and unordered lists,
    blockquotes, links, images, autolinks, horizontal rules, and
    strips inline HTML (with <details>/<summary> handled specially).

    Usage: typemd [-mono | -color] <filename>

    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)