add html file hosting

This commit is contained in:
2026-05-11 20:00:31 +08:00
parent aa9b9846ca
commit 859c7d9e7c
6 changed files with 464 additions and 2 deletions

View File

@@ -52,6 +52,10 @@ function getHtml(): string {
Daily Update
<span class="tool-desc">Compose &amp; copy a daily status</span>
</button>
<button class="tool-btn" data-cmd="hplToolbox.openSendToMobile">
Send To Mobile
<span class="tool-desc">Share HTML to a phone via LAN + QR</span>
</button>
<script>
const vscode = acquireVsCodeApi();
document.querySelectorAll('.tool-btn').forEach((btn) => {