mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
All 181 docs markdown files translated into 20 languages (apps/docs/<locale>/**). Companion to the i18n code PR; admin-merged because the file count exceeds GitHub's per-PR CI trigger limit. Validated by pnpm i18n:check (all surfaces, 0 stale/missing) and a clean all-locale docs build.
1.5 KiB
1.5 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| Markdown ファイルをスタンドアロンの HTML ページに変換します。 | 3ef805e8fc8c | human | 87daa2f75bab |
Markdown to HTML
Markdown ファイルをスタンドアロンの HTML ページに変換します。ソースで参照されているリモート画像は、出力内でそのまま残されます。
API Endpoint
POST /api/v1/tools/files/markdown-to-html
Markdown ファイルを含む multipart フォームデータを受け付けます。
Parameters
このツールには設定可能なパラメータはありません。Markdown ファイルをアップロードすると HTML に変換されます。
Example Request
curl -X POST http://localhost:1349/api/v1/tools/files/markdown-to-html \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@notes.md"
Example Response
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/notes.html",
"originalSize": 3200,
"processedSize": 5800
}
Notes
- 受け付ける入力形式:
.md、.markdown。 - これは結果を直接返す高速(同期)ツールです。
- 出力はインラインスタイルを含む自己完結型の HTML ページです。
- Markdown ソース内のリモート画像 URL はそのまま保持され、取得されません。