Files
marqdo/tests/ext/web-assets-live-server.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

37 lines
860 B
Markdown

---
title: web assets live server
description: Live favicon + head icon + images_html on home page.
import web:ext/web/web.mq.md
---
# main
`icons_table` =
|path|rel|type|url|
|---|---|---|---|
|"web-fixtures/public/favicon.png"|icon|"image/png"|"/favicon.ico"|
`head_table` =
|rel|href|type|
|---|---|---|
|apple-touch-icon|"/static/favicon.png"|"image/png"|
`images_table` =
|src|alt|class|loading|
|---|---|---|---|
|"/static/favicon.svg"|mark|brand|eager|
**home = > web.page title="Live assets" intro="<p>assets live</p>"**
**home = > `home`.head table=`head_table`**
**home = > `home`.images table=`images_table`**
**app = > web.app page=`home` host=127.0.0.1 port=18092**
**app = > `app`.static dir="web-fixtures/public" mount="/static"**
**app = > `app`.icons table=`icons_table`**
> print text=marqdo web assets live starting
> `app`.listen