android-md-reader — Android 离线 Markdown 阅读器
Copyright 2026 白志明 (Bai Zhiming)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
----------------------------------------------------------------------
第三方组件声明 / Third-Party Components
----------------------------------------------------------------------
本项目在 app/src/main/assets/ 下内置了以下第三方前端组件(离线内置,不联网):
* mermaid.min.js — Mermaid 图表渲染引擎
许可证: MIT License
版权: Copyright (c) 2014-present Mermaid Contributors
主页: https://github.com/mermaid-js/mermaid
用途: WebView 内把 ```mermaid 围栏块渲染为 SVG
* lamejs.js — LAME MP3 编码器的 JavaScript 移植(lamejs)
许可证: LGPL-3.0
版权: Copyright (c) 2017 zhuker
主页: https://github.com/zhuker/lamejs
用途: WebView 内把 PCM 编码为 MP3(仅「导出 MP3」特性使用)
说明: 该文件为上游压缩版原始文件,**本项目未做任何修改**,作为独立组件
经由 WebView 与主程序交互(静态资源加载,非静态链接)。若不需要
「导出 MP3」特性,删除 assets/lamejs.js 与 assets/mp3enc.html 即可,
其余功能不受影响。
构建期依赖(通过 Maven 拉取,不随源码分发):
* AndroidX / Jetpack Compose(androidx.compose.*、androidx.activity、
androidx.lifecycle、androidx.core、androidx.webkit)
许可证: Apache License 2.0
版权: Copyright (c) The Android Open Source Project
----------------------------------------------------------------------
说明
----------------------------------------------------------------------
本项目是 harmonyos-md-reader(ArkTS 版)的 Android 移植实现,由 HarmonyOS
1.1.4 版本逐项对齐;Markdown 解析规则、表格列宽常量、图形渲染策略与鸿蒙端、
WEB 端保持一致。项目为纯离线工具:不申请任何系统权限、不访问网络、不采集数据。