# rtau_markdown_beautify **Repository Path**: tausum/rtau_markdown_beautify ## Basic Information - **Project Name**: rtau_markdown_beautify - **Description**: markdown导出的html美化 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-28 - **Last Updated**: 2026-08-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rtau_markdown_beautify

rtau_markdown_beautify — terminal simulation of the build pipeline: command input, version badge, handler tips, build logs, and a blinking cursor

> 把零散的浏览器端 JS handler **打包 + 混淆**成一个自包含的 `,写入 dist/.js │ │ 输出:combineState, preprocessFile, combineFile │ └──────────────────────────────┬──────────────────────────────────────┘ │ combineFile = dist/.js ▼ ┌─────────────────────────────────────────────────────────────────────┐ │ inject-html.js 阶段2:注入 │ │ ① 读取待注入内容 combineFile │ │ ② 读取目标 HTML(有 before_handler 时用 preprocessFile,否则用原文件)│ │ ③ 找到占位符(默认 ),在其位置拼入脚本 │ │ ④ 写出 *.rmb.html │ └─────────────────────────────────────────────────────────────────────┘ ``` --- ## 命令参数 | 脚本 | 参数 | 说明 | | --- | --- | --- | | `rtau-markdown-beautify.js` | `html=` | **必填** 目标 HTML 文件路径 | | | `version=` | 版本清单名(默认 `latest`)或绝对路径 | | | `minify=<0\|1>` | `0` 关闭混淆;`1` 强制混淆(默认 `-1` 尝试) | | | `placeholder=` | 注入占位符(默认 ``) | | | `output=` | 输出文件路径(默认 `.rmb.`) | | | `debug` | **放在末位**,启用调式模式 | | `combine.js` | `html=` | 读取目标 HTML(before_handler 需要) | | | `version=` | 同上 | | | `minify=<0\|1|-1>` | 混淆开关(默认 `-1`) | | `inject-html.js` | `inject=` | **必填** 待注入的 `