feat(parse): use nested YAML import: maps instead of one-liner binds

Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-10-23 19:33:58 +08:00
1 parent 8bbe017a5e
commit 687c168014
364 files changed
+1870 -1004

No files matched your search

+7 -6
View File
@@ -1,12 +1,13 @@
---
title: agent-okf-flywheel (Wave B0)
description: Promote solidified workbook; second plan is cache=hit — document as knowledge base (OKF).
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
import fs:lib/fs.mq.md
import json:lib/json.mq.md
import plugin:lib/plugin.mq.md
import sys:lib/sys.mq.md
import:
llm: ext/ai/llm.mq.md
agent: ext/ai/agent.mq.md
fs: lib/fs.mq.md
json: lib/json.mq.md
plugin: lib/plugin.mq.md
sys: lib/sys.mq.md
---
# main
+7 -6
View File
@@ -3,12 +3,13 @@ title: agent-pong (Wave B0)
description: >-
Constitution demo — call_site + source in step context; optional live CALL via .env.
Code is documentation; tools are ## in this same file.
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import plugin:lib/plugin.mq.md
import sys:lib/sys.mq.md
import time:lib/time.mq.md
import:
llm: ext/ai/llm.mq.md
agent: ext/ai/agent.mq.md
json: lib/json.mq.md
plugin: lib/plugin.mq.md
sys: lib/sys.mq.md
time: lib/time.mq.md
---
## 获取时间
+3 -2
View File
@@ -2,8 +2,9 @@
title: agent-sandbox-okf — trial then commit
description: >
O1 example: opt-in sandbox trial with GFM-table returns and link-index reads.
import agent:ext/ai/agent.mq.md
import fs:lib/fs.mq.md
import:
agent: ext/ai/agent.mq.md
fs: lib/fs.mq.md
---
# main
+3 -2
View File
@@ -2,8 +2,9 @@
markup: occlusion
title: components/feed
description: 帖子列表 / 新闻时间线 / 板块栏 HTML 片段(对齐 Django feed 与 home 局部模板)。
import table:lib/table.mq.md
import text:lib/text.mq.md
import:
table: lib/table.mq.md
text: lib/text.mq.md
---
## 帖子列表HTML
@@ -1,9 +1,10 @@
---
title: components/fragments
description: AJAX 片段 — /post/ten、/news/five。
导入 网页:ext/web/网页.mq.md
import db:../db/index.mq.md
import feed:feed.mq.md
导入:
网页: ext/web/网页.mq.md
db: ../db/index.mq.md
feed: feed.mq.md
---
## 帖子十
@@ -1,10 +1,11 @@
---
title: components/home_body
description: 首页主体 HTML — hero + 公告 + 新闻时间线 + 论坛帖子(对齐 Django home.html,无外层导航)。
导入 网页:ext/web/网页.mq.md
import table:lib/table.mq.md
import text:lib/text.mq.md
import feed:feed.mq.md
导入:
网页: ext/web/网页.mq.md
table: lib/table.mq.md
text: lib/text.mq.md
feed: feed.mq.md
---
## 装配
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: components/page
description: 用原站 chrome 包一层完整 HTML 引言(bare 布局)。
import text:lib/text.mq.md
import chrome:chrome.mq.md
import:
text: lib/text.mq.md
chrome: chrome.mq.md
---
## 包装
+4 -3
View File
@@ -1,9 +1,10 @@
---
title: db/index
description: 打开库、建全表、幂等种子、帖子全文索引。
导入 网页:ext/web/网页.mq.md
import schema:schema.mq.md
import seed:seed.mq.md
导入:
网页: ext/web/网页.mq.md
schema: schema.mq.md
seed: seed.mq.md
---
## 打开
+10 -9
View File
@@ -1,15 +1,16 @@
---
title: 暗恋见君 · Marqdo
description: 对齐 Django 暗恋见君:原站 CSS/DOM、首页四段、列表详情、发帖门禁、聊天室、专题、搜索、API 指南。
导入 网页:ext/web/网页.mq.md
import table:lib/table.mq.md
import text:lib/text.mq.md
import chrome:components/chrome.mq.md
import page:components/page.mq.md
import home:components/home_body.mq.md
import feed:components/feed.mq.md
import fragments:components/fragments.mq.md
import db:db/index.mq.md
导入:
网页: ext/web/网页.mq.md
table: lib/table.mq.md
text: lib/text.mq.md
chrome: components/chrome.mq.md
page: components/page.mq.md
home: components/home_body.mq.md
feed: components/feed.mq.md
fragments: components/fragments.mq.md
db: db/index.mq.md
---
# main
+7 -6
View File
@@ -1,12 +1,13 @@
---
title: anlian-mq offline smoke
description: 不 listen:装配库表/页面/门禁/WS 路由袋,验证可读路径可构造。
导入 网页:ext/web/网页.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import foot:components/foot.mq.md
import db:db/index.mq.md
import sys:lib/sys.mq.md
导入:
网页: ext/web/网页.mq.md
shell: styles/shell.mq.md
nav: components/nav.mq.md
foot: components/foot.mq.md
db: db/index.mq.md
sys: lib/sys.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: styles/shell
description: 暗恋见君壳样式——对照 Django 原站粉玻璃 + 动效,用表格声明。
导入 网页:ext/web/网页.mq.md
import text:lib/text.mq.md
导入:
网页: ext/web/网页.mq.md
text: lib/text.mq.md
---
对照原站 `config/static/front/css/{base,feed_common,footer,index/hero}.css`:
+4 -3
View File
@@ -2,9 +2,10 @@
markup: occlusion
title: browser-app (route E+)
description: list CRUD, storage, navigate, interval, fetch_all, ws — GFM + lib/browser
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import text:lib/text.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
text: lib/text.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: browser counter (C3)
description: wire table + browser.set_text — no json glue
import browser:lib/browser.mq.md
import:
browser: lib/browser.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: browser fetch (C4)
description: fetch/after effects via lib/browser — no json glue
import browser:lib/browser.mq.md
import:
browser: lib/browser.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: browser form (D3)
description: input wire passes value; effects via lib/browser
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
---
# main
+118 -64
View File
@@ -197,6 +197,20 @@ export function eventArgsFromDom(ev, valueFromSel) {
args.fields = fields;
}
}
if (ev && (ev.type === "scroll" || ev.type === "resize")) {
try {
const doc = typeof document !== "undefined" ? document.documentElement : null;
const body = typeof document !== "undefined" ? document.body : null;
const scrollTop = (doc && (doc.scrollTop || 0)) || (body && body.scrollTop) || 0;
const height = doc ? (doc.scrollHeight - doc.clientHeight) || 1 : 1;
const ratio = Math.max(0, Math.min(1, scrollTop / height));
args.scroll_top = scrollTop;
args.scroll_max = height;
args.scroll_ratio = ratio;
} catch (_) {
/* ignore */
}
}
return args;
}
@@ -721,75 +735,88 @@ function runObserveEffect(exports, spec, onError) {
const kind = String(spec.kind || spec.type || "intersect").toLowerCase();
const sel = String(spec.sel || "");
const thenFn = spec.then;
const id = String(spec.id || `obs${++observeSeq}`);
const el = qsOne(sel);
if (!el || !thenFn) return;
const baseId = String(spec.id || `obs${++observeSeq}`);
const nodes = qsAll(sel);
if (!nodes.length || (!thenFn && !spec.add_class)) return;
const prev = observeHandles.get(id);
if (prev) {
try {
prev.disconnect();
} catch (_) {
/* ignore */
}
}
const fire = (payload) => {
try {
const result = call(exports, thenFn, payload);
if (!result.ok) {
if (onError) onError(result.error);
return;
nodes.forEach((el, idx) => {
const id = nodes.length === 1 ? baseId : `${baseId}_${idx}`;
const prev = observeHandles.get(id);
if (prev) {
try {
prev.disconnect();
} catch (_) {
/* ignore */
}
applyEffects(exports, result.value, { onError });
} catch (e) {
if (onError) onError(String(e));
}
};
if (kind === "resize" && typeof ResizeObserver !== "undefined") {
const ro = new ResizeObserver((entries) => {
const en = entries[0];
const cr = en?.contentRect;
fire({
ok: true,
kind: "resize",
id,
width: cr ? cr.width : 0,
height: cr ? cr.height : 0,
});
});
ro.observe(el);
observeHandles.set(id, ro);
return;
}
const fire = (payload) => {
try {
const result = call(exports, thenFn, payload);
if (!result.ok) {
if (onError) onError(result.error);
return;
}
applyEffects(exports, result.value, { onError });
} catch (e) {
if (onError) onError(String(e));
}
};
if (typeof IntersectionObserver !== "undefined") {
const io = new IntersectionObserver(
(entries) => {
if (kind === "resize" && typeof ResizeObserver !== "undefined") {
const ro = new ResizeObserver((entries) => {
const en = entries[0];
if (!en) return;
const cr = en?.contentRect;
fire({
ok: true,
kind: "intersect",
kind: "resize",
id,
intersecting: !!en.isIntersecting,
ratio: en.intersectionRatio,
width: cr ? cr.width : 0,
height: cr ? cr.height : 0,
});
if (spec.once && en.isIntersecting) {
try {
io.disconnect();
} catch (_) {
/* ignore */
});
ro.observe(el);
observeHandles.set(id, ro);
return;
}
if (typeof IntersectionObserver !== "undefined") {
const opts = { threshold: spec.threshold != null ? Number(spec.threshold) : 0.1 };
if (spec.rootMargin != null) opts.rootMargin = String(spec.rootMargin);
const io = new IntersectionObserver(
(entries) => {
const en = entries[0];
if (!en) return;
if (en.isIntersecting && spec.add_class) {
for (const c of String(spec.add_class).split(/\s+/).filter(Boolean)) {
el.classList.add(c);
}
}
observeHandles.delete(id);
}
},
{ threshold: spec.threshold != null ? Number(spec.threshold) : 0.1 },
);
io.observe(el);
observeHandles.set(id, io);
}
if (thenFn) {
fire({
ok: true,
kind: "intersect",
id,
intersecting: !!en.isIntersecting,
ratio: en.intersectionRatio,
target_id: el.id || "",
});
}
if (spec.once && en.isIntersecting) {
try {
io.disconnect();
} catch (_) {
/* ignore */
}
observeHandles.delete(id);
}
},
opts,
);
io.observe(el);
observeHandles.set(id, io);
}
});
}
function buildFetchInit(spec) {
@@ -921,8 +948,23 @@ function runIntervalEffect(exports, spec, onError) {
intervalHandles.set(id, handle);
}
const memoryKV = new Map();
function storageStore(scope) {
if (scope === "cookie") return null;
if (scope === "memory" || scope === "mem" || scope === "内存") {
return {
getItem(key) {
return memoryKV.has(key) ? memoryKV.get(key) : null;
},
setItem(key, value) {
memoryKV.set(key, String(value));
},
removeItem(key) {
memoryKV.delete(key);
},
};
}
if (typeof localStorage === "undefined") return null;
return scope === "session" ? sessionStorage : localStorage;
}
@@ -1371,12 +1413,24 @@ export async function autoMount(doc) {
const g = typeof globalThis !== "undefined" ? globalThis : undefined;
if (g && g.document) {
// Defer WASM boot until after first paint / load so LCP images are not
// contending with a ~1.6MB wasm download on the critical path.
const start = () => {
autoMount(g.document).catch((e) => console.error("marqdo autoMount:", e));
const run = () => {
autoMount(g.document).catch((e) => console.error("marqdo autoMount:", e));
};
const schedule = () => {
if (typeof g.requestIdleCallback === "function") {
g.requestIdleCallback(() => run(), { timeout: 1500 });
} else {
g.setTimeout(run, 0);
}
};
if (g.document.readyState === "complete") {
schedule();
} else {
g.addEventListener("load", schedule, { once: true });
}
};
if (g.document.readyState === "loading") {
g.document.addEventListener("DOMContentLoaded", start);
} else {
queueMicrotask(start);
}
start();
}
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: browser-media (route F)
description: file / canvas / audio / observers / drag — GFM tables + lib/browser
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
---
# main
@@ -1,8 +1,9 @@
---
id: capability.order-pricing
type: Capability
import tax:../knowledge/tax-2026.mq.md
import order:../schema/order.mq.md
import:
tax: ../knowledge/tax-2026.mq.md
order: ../schema/order.mq.md
---
# 订单定价
@@ -1,7 +1,8 @@
---
id: document.invoice-answer
type: Answer
import pricing:../capabilities/order-pricing.mq.md
import:
pricing: ../capabilities/order-pricing.mq.md
---
# 发票回答
+2 -1
View File
@@ -2,7 +2,8 @@
type: Fact
id: libai
title: 李白
import poet:poet.mq.md
import:
poet: poet.mq.md
---
# 李白 = > 诗人
+2 -1
View File
@@ -1,5 +1,6 @@
---
import libai:libai.mq.md
import:
libai: libai.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: Least squares via lstsq
description: Overdetermined Ax≈b with ext/linalg lstsq + heatmap.
import la:ext/linalg/linalg.mq.md
import math:lib/math.mq.md
import:
la: ext/linalg/linalg.mq.md
math: lib/math.mq.md
---
# Least squares from a runnable document
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: SVD structure demo
description: Diagonal SVD + structure SVG via ext/linalg.
import la:ext/linalg/linalg.mq.md
import:
la: ext/linalg/linalg.mq.md
---
# SVD from a runnable document
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: Transpose identity (formula document)
description: (AB)^T = B^T A^T as a runnable lecture fragment.
import la:ext/linalg/linalg.mq.md
import:
la: ext/linalg/linalg.mq.md
---
# Transpose reverses products
+2 -1
View File
@@ -1,6 +1,7 @@
---
markup: occlusion
import libai:libai.mq.md
import:
libai: libai.mq.md
---
# main
+2 -1
View File
@@ -1,6 +1,7 @@
---
title: blog posts schema
import data:ext/data/db.mq.md
import:
data: ext/data/db.mq.md
---
## schema
+2 -1
View File
@@ -7,7 +7,8 @@ data_source: posts
data_order: -created_at
description: >-
Document Artifact 首页(ADR 0007):正文即文档,列表来自 data_source。
导入 网页:ext/web/网页.mq.md
导入:
网页: ext/web/网页.mq.md
---
# Marqdo 博客
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: marqdo-blog serve
description: Scan Artifact documents/endpoints and listen (ADR 0007).
import web:ext/web/web.mq.md
import posts:db/posts.mq.md
import:
web: ext/web/web.mq.md
posts: db/posts.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: styles/theme
description: 博客主题:样式即数据表格,装配即函数。
import 网页:ext/web/网页.mq.md
import text:lib/text.mq.md
import:
网页: ext/web/网页.mq.md
text: lib/text.mq.md
---
博客主题的样式即数据表格:每个 `## 段` 导出一张 GFM 样式表(`|选择器|属性|值|`,
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: 贝尔态:两个量子比特如何一起回答
description: 从一条假设开始,搭电路、看概率、画图,并用断言验收。
import quantum:ext/quantum/quantum.mq.md
import:
quantum: ext/quantum/quantum.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: 一份可执行的求导讲义
description: 公式、求导、求根、求值与绘图,在同一条叙述里完成。
import math:lib/math.mq.md
import:
math: lib/math.mq.md
---
# main
+2 -1
View File
@@ -2,7 +2,8 @@
markup: occlusion
title: 外联:把 Node 当作文档里的计算车间
description: 一次性执行、持久会话、显式传值,以及可读的结果。
import foreign:lib/foreign.mq.md
import:
foreign: lib/foreign.mq.md
---
# main
+4 -3
View File
@@ -1,9 +1,10 @@
---
title: Bell state
description: H then CX; probabilities ≈ 1/2; circuit SVG.
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
import json:lib/json.mq.md
import:
quantum: ext/quantum/quantum.mq.md
math: lib/math.mq.md
json: lib/json.mq.md
---
# Bell |Φ+⟩
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: Entanglement lab
description: Bell state — density, partial trace, Schmidt, themed SVG (Q7/Q8).
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
import:
quantum: ext/quantum/quantum.mq.md
math: lib/math.mq.md
---
# Entanglement from a runnable document
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: GHZ state
description: 3-qubit GHZ; |000⟩/|111⟩ ≈ 1/2; probs + H matrix heatmap.
import quantum:ext/quantum/quantum.mq.md
import:
quantum: ext/quantum/quantum.mq.md
---
# GHZ
+2 -1
View File
@@ -1,6 +1,7 @@
---
markup: occlusion
import table:lib/table.mq.md
import:
table: lib/table.mq.md
title: Marqdo 语法全景(v1.6 现状)
description: 一页看完全部现行语法:遮蔽、调用、取值、循环、分支、表格、契约
---
+2 -1
View File
@@ -4,7 +4,8 @@ title: Marqdo client site
route: /
method: GET
description: SSR Document + client_embed auto-mount; author zero JS (ADR 0007).
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# Marqdo client site
+2 -1
View File
@@ -1,6 +1,7 @@
---
title: web-client-site serve
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: client counter (route D)
description: wired by client_embed auto-mount; GFM + lib/browser
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: web-collab-doc
description: Two-browser collaborative plain-text editor over WS room (LWW snapshot sync)
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# main
+4 -3
View File
@@ -1,9 +1,10 @@
---
title: collab client
description: LWW text sync over WS room + presence (DOC\\t protocol)
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import text:lib/text.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
text: lib/text.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: db/index
description: 打开 sqlite、建表、幂等种子。
导入 网页:ext/web/网页.mq.md
import articles:articles.mq.md
导入:
网页: ext/web/网页.mq.md
articles: articles.mq.md
---
## 打开
+10 -9
View File
@@ -1,15 +1,16 @@
---
title: 网络扩展站(中文)
description: 首页 + /about + /new(表单)+ /tools(lib/net)+ /admin(登录鉴权)+ /live(WebSocket)。
导入 网页:ext/web/网页.mq.md
import net:lib/网络.mq.md
import text:lib/text.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import side:components/side.mq.md
import foot:components/foot.mq.md
import articles:db/articles.mq.md
import db:db/index.mq.md
导入:
网页: ext/web/网页.mq.md
net: lib/网络.mq.md
text: lib/text.mq.md
shell: styles/shell.mq.md
nav: components/nav.mq.md
side: components/side.mq.md
foot: components/foot.mq.md
articles: db/articles.mq.md
db: db/index.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: db/index
description: Open sqlite, init articles, seed once.
import web:ext/web/web.mq.md
import articles:articles.mq.md
import:
web: ext/web/web.mq.md
articles: articles.mq.md
---
## open
+10 -9
View File
@@ -1,15 +1,16 @@
---
title: web-net-site
description: Home + /about + /new (form) + /tools (net lib) + /admin (auth) + /live (WebSocket).
import web:ext/web/web.mq.md
import net:lib/net.mq.md
import text:lib/text.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import side:components/side.mq.md
import foot:components/foot.mq.md
import articles:db/articles.mq.md
import db:db/index.mq.md
import:
web: ext/web/web.mq.md
net: lib/net.mq.md
text: lib/text.mq.md
shell: styles/shell.mq.md
nav: components/nav.mq.md
side: components/side.mq.md
foot: components/foot.mq.md
articles: db/articles.mq.md
db: db/index.mq.md
---
# main
+3 -2
View File
@@ -1,8 +1,9 @@
---
title: db/index
description: 打开 sqlite、建表、幂等种子。
导入 网页:ext/web/网页.mq.md
import articles:articles.mq.md
导入:
网页: ext/web/网页.mq.md
articles: articles.mq.md
---
## open
+9 -8
View File
@@ -2,14 +2,15 @@
title: 中文站点示例
description: >-
与 examples/web-site 对等的 WWW Demo 样站:表驱动全站;作者业务 JS=0;作者 .css=0。
导入 网页:ext/web/网页.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import side:components/side.mq.md
import foot:components/foot.mq.md
import desk:components/desk.mq.md
import articles:db/articles.mq.md
import db:db/index.mq.md
导入:
网页: ext/web/网页.mq.md
shell: styles/shell.mq.md
nav: components/nav.mq.md
side: components/side.mq.md
foot: components/foot.mq.md
desk: components/desk.mq.md
articles: db/articles.mq.md
db: db/index.mq.md
---
# main
+3 -2
View File
@@ -3,8 +3,9 @@ title: styles/shell
description: >-
Literary dark theme for examples/web-site — ink / wine / gold after the
anlian.cyou Zhang Ailing topic. GFM tables only; no author .css.
import web:ext/web/web.mq.md
import text:lib/text.mq.md
import:
web: ext/web/web.mq.md
text: lib/text.mq.md
---
Authors style the site with **GFM tables** only. App pages use `shell_css=off`
+4 -3
View File
@@ -1,9 +1,10 @@
---
title: db/index
description: Open sqlite, init articles, seed once.
import web:ext/web/web.mq.md
import articles:articles.mq.md
import fs:lib/fs.mq.md
import:
web: ext/web/web.mq.md
articles: articles.mq.md
fs: lib/fs.mq.md
---
## open
+9 -8
View File
@@ -3,14 +3,15 @@ title: web-site
description: >-
WWW Demo sample — GFM tables for shell, schema, forms, styles, and admin.
Author business JavaScript: none. Author hand-written .css: none.
import web:ext/web/web.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import side:components/side.mq.md
import foot:components/foot.mq.md
import desk:components/desk.mq.md
import articles:db/articles.mq.md
import db:db/index.mq.md
import:
web: ext/web/web.mq.md
shell: styles/shell.mq.md
nav: components/nav.mq.md
side: components/side.mq.md
foot: components/foot.mq.md
desk: components/desk.mq.md
articles: db/articles.mq.md
db: db/index.mq.md
---
# main
+3 -2
View File
@@ -3,8 +3,9 @@ title: styles/shell
description: >-
Literary dark theme for examples/web-site — ink / wine / gold after the
anlian.cyou Zhang Ailing topic. GFM tables only; no author .css.
import web:ext/web/web.mq.md
import text:lib/text.mq.md
import:
web: ext/web/web.mq.md
text: lib/text.mq.md
---
Authors style the site with **GFM tables** only. App pages use `shell_css=off`
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: web-spa-app
description: Native Marqdo SPA — list/detail/edit via WASM client routes + memory store
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# main
+4 -3
View File
@@ -2,9 +2,10 @@
markup: occlusion
title: spa client
description: routes table + memory store; list / detail / edit
import browser:lib/browser.mq.md
import table:lib/table.mq.md
import text:lib/text.mq.md
import:
browser: lib/browser.mq.md
table: lib/table.mq.md
text: lib/text.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: web-tenant-saas demo
description: Dual-tenant isolation via ?t= query + tenant_scope JSON API.
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# main
+2 -1
View File
@@ -1,7 +1,8 @@
---
title: web-ws-room demo
description: Dynamic room WS with presence (G-WS1/2 bag). Open / and connect via bridge or wscat.
import web:ext/web/web.mq.md
import:
web: ext/web/web.mq.md
---
# main