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

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, April 27, 2026 19:56:32
    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>
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net