Unify frontmatter imports as import bind:target and drop > imports.

`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-13 10:03:21 +08:00
1 parent 56b9bfa5a3
commit ecc92f473a
163 files changed
+577 -593

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
---
title: legacy > import must fail
> lib/json.mq.md
---
# main
> print text=should-not-run
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: path to instance method needs receiver
> ../structure/ns/helpers.mq.md
import helpers:../structure/ns/helpers.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: agent inspect_workbook (offline)
description: Parse named writeback slots from a fixture workbook path.
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+5 -5
View File
@@ -1,11 +1,11 @@
---
title: OKF agent-kb alias lookup (offline)
description: Promote resource; patch Task aliases; variant goal hits same resource.
> ext/ai/agent.mq.md
> lib/fs.mq.md
> lib/json.mq.md
> lib/plugin.mq.md
> lib/sys.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
---
# main
+5 -5
View File
@@ -1,11 +1,11 @@
---
title: OKF agent-kb near_match (offline)
description: Promote trip resource; near-dupe goals hit match=near; unrelated misses.
> ext/ai/agent.mq.md
> lib/fs.mq.md
> lib/json.mq.md
> lib/plugin.mq.md
> lib/sys.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
---
# main
+6 -6
View File
@@ -1,12 +1,12 @@
---
title: OKF agent-kb promote + lookup + spawn (offline)
description: Promote a solidified workbook, lookup by goal, spawn without parent LLM.
> ext/ai/agent.mq.md
> lib/fs.mq.md
> lib/json.mq.md
> lib/subtask.mq.md
> lib/plugin.mq.md
> lib/sys.mq.md
import agent:ext/ai/agent.mq.md
import fs:lib/fs.mq.md
import json:lib/json.mq.md
import subtask:lib/subtask.mq.md
import plugin:lib/plugin.mq.md
import sys:lib/sys.mq.md
---
# main
+4 -4
View File
@@ -1,10 +1,10 @@
---
title: Parent CALL:lib whitelist (offline)
description: lib.fs.exists + ARGS; reject lib.net; catalog callable.
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
> lib/sys.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
import sys:lib/sys.mq.md
---
# main
+4 -4
View File
@@ -1,10 +1,10 @@
---
title: agent plan confirm (offline)
description: Create workbook skeleton with confirm=True; no LLM spawn loop.
> ext/ai/llm.mq.md
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: agent plan decision + dual skeleton (offline)
description: extract_plan_decision/summary; dual skeleton contains research+writer; patch apply on fixture.
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+4 -4
View File
@@ -1,10 +1,10 @@
---
title: ext/agent plan live (DeepSeek)
description: Full plan loop — spawn workbook, inspect, secondary plan; simple pong goal.
> ext/ai/llm.mq.md
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+3 -3
View File
@@ -1,8 +1,8 @@
---
title: parent observation excerpt + deepen (offline)
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+4 -4
View File
@@ -1,10 +1,10 @@
---
title: agent plan stream helpers + confirm (offline)
description: plan_append_*/plan_finish_stream; confirm=True with stream attaches done event.
> ext/ai/llm.mq.md
> ext/ai/agent.mq.md
> lib/json.mq.md
> lib/fs.mq.md
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
import fs:lib/fs.mq.md
---
# main
+5 -5
View File
@@ -1,11 +1,11 @@
---
title: ext/agent step (DeepSeek)
description: Real agent.step with tool via lib/subtask; default writeback to ok/error slots.
> lib/time.mq.md
> lib/writeback.mq.md
> lib/json.mq.md
> ext/ai/llm.mq.md
> ext/ai/agent.mq.md
import time:lib/time.mq.md
import writeback:lib/writeback.mq.md
import json:lib/json.mq.md
import llm:ext/ai/llm.mq.md
import agent:ext/ai/agent.mq.md
---
## 获取时间
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: ext/agent framework smoke
description: Real llm handle from tests/ext/.env; context, extract_tool_name, run_tool via subtask.
> ext/ai/llm.mq.md
> lib/json.mq.md
> ext/ai/agent.mq.md
import llm:ext/ai/llm.mq.md
import json:lib/json.mq.md
import agent:ext/ai/agent.mq.md
---
## 获取时间
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: OKF soft_match protocol parse (offline)
description: REUSE/NEW + SLUG extractors; no network.
> ext/ai/agent.mq.md
> lib/json.mq.md
import agent:ext/ai/agent.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: fs text_patch / apply_patch_blocks (offline)
> lib/fs.mq.md
> lib/json.mq.md
import fs:lib/fs.mq.md
import json:lib/json.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: ext llm DeepSeek complete
description: OpenAI-compatible chat via DeepSeek. Credentials from tests/ext/.env.
> ext/ai/llm.mq.md
import llm:ext/ai/llm.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: llm constructor offline
description: Build llm handle from env + defaults; no network.
> ext/ai/llm.mq.md
import llm:ext/ai/llm.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: ext llm import
> ext/ai/llm.mq.md
import llm:ext/ai/llm.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: ext llm DeepSeek stream live
description: Live SSE complete with echo; credentials from tests/ext/.env.
> ext/ai/llm.mq.md
> lib/json.mq.md
import llm:ext/ai/llm.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: llm stream_result offline
description: No network — SSE fixture via net.openai_sse_parse + llm.stream_result
> ext/ai/llm.mq.md
> lib/net.mq.md
import llm:ext/ai/llm.mq.md
import net:lib/net.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum amplitude damping smoke
description: X then amplitude_damping p=1 returns all shots to |0>.
> ext/quantum/quantum.mq.md
import quantum:ext/quantum/quantum.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum amplitude damping zh smoke
description: 泡利X 后 振幅阻尼 p=1 全部落回 |0⟩.
> ext/quantum/量子.mq.md
导入 量子:ext/quantum/量子.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum author API smoke
description: barrier, measure, append, state, draw meters.
> ext/quantum/quantum.mq.md
import quantum:ext/quantum/quantum.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum author API zh smoke
description: 屏障 / 测量 / 追加 / 态 / 绘图.
> ext/quantum/量子.mq.md
导入 量子:ext/quantum/量子.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum bell smoke
description: H+CX Bell state probabilities ≈ 1/2 each.
> ext/quantum/quantum.mq.md
> lib/math.mq.md
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum custom gate from formula matrix
description: $$ H matrix $$ → gate matrix= → apply → probs match built-in H.
> ext/quantum/quantum.mq.md
> lib/math.mq.md
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum custom gate zh from formula
description: $$ 矩阵 $$ → 门 矩阵= → 施加.
> ext/quantum/量子.mq.md
> lib/math.mq.md
导入 量子:ext/quantum/量子.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum draw probs/bloch smoke
description: draw kind=probs and kind=bloch return matching kind tags.
> ext/quantum/quantum.mq.md
import quantum:ext/quantum/quantum.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum gate matrix heatmap smoke
description: gate.draw kind=matrix writes SVG heatmap.
> ext/quantum/quantum.mq.md
import quantum:ext/quantum/quantum.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum gate matches_matrix smoke
description: Named H matches an explicit 2x2 nested list.
> ext/quantum/quantum.mq.md
> lib/json.mq.md
import quantum:ext/quantum/quantum.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum gates + run smoke
description: Z sandwich, Ry(pi), seeded Bell run counts.
> ext/quantum/quantum.mq.md
> lib/math.mq.md
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum noise smoke
description: bitflip p=1 after I flips |0> to |1| for all shots.
> ext/quantum/quantum.mq.md
import quantum:ext/quantum/quantum.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: quantum noise zh smoke
description: 噪声 bitflip p=1 后 I 使全部射中 |1⟩.
> ext/quantum/量子.mq.md
导入 量子:ext/quantum/量子.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum steps + draw smoke
description: steps= Bell table + draw SVG via record_plot.
> ext/quantum/quantum.mq.md
> lib/math.mq.md
import quantum:ext/quantum/quantum.mq.md
import math:lib/math.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: quantum zh API smoke
description: Chinese 量子.电路 泡利Z sandwich.
> ext/quantum/量子.mq.md
> lib/math.mq.md
导入 量子:ext/quantum/量子.mq.md
import math:lib/math.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: web admin form-from-schema smoke
description: Schema-derived admin forms share validate/submit (offline).
> ext/web/web.mq.md
> web-fixtures/db/articles.mq.md as articles
> lib/json.mq.md
import web:ext/web/web.mq.md
import articles:web-fixtures/db/articles.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: web form embed smoke
description: Offline page.compose_form embeds form in main HTML (no listen).
> ext/web/web.mq.md
> lib/json.mq.md
import web:ext/web/web.mq.md
import json:lib/json.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: web form smoke
description: Offline form fields / validate / submit (no listen).
> ext/web/web.mq.md
> web-fixtures/db/articles.mq.md as articles
> lib/json.mq.md
import web:ext/web/web.mq.md
import articles:web-fixtures/db/articles.mq.md
import json:lib/json.mq.md
---
# main
+5 -5
View File
@@ -1,11 +1,11 @@
---
title: web part smoke
description: Routed pages stamp _route and emit {path}/_part/{id} slot sources.
> ext/web/web.mq.md
> web-fixtures/components/nav.mq.md
> web-fixtures/components/side.mq.md
> web-fixtures/components/foot.mq.md
> lib/json.mq.md
import web:ext/web/web.mq.md
import nav:web-fixtures/components/nav.mq.md
import side:web-fixtures/components/side.mq.md
import foot:web-fixtures/components/foot.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: web route smoke
description: Offline app.route registration (no listen).
> ext/web/web.mq.md
> lib/json.mq.md
import web:ext/web/web.mq.md
import json:lib/json.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: web db.select where smoke
description: Offline select with map and filter-table where (no listen).
> ext/web/web.mq.md
> web-fixtures/db/articles.mq.md as articles
> lib/json.mq.md
import web:ext/web/web.mq.md
import articles:web-fixtures/db/articles.mq.md
import json:lib/json.mq.md
---
# main
+8 -8
View File
@@ -1,14 +1,14 @@
---
title: web assemble smoke
description: Offline assemble + render markers (no listen).
> ext/web/web.mq.md
> web-fixtures/styles/shell.mq.md as shell
> web-fixtures/components/nav.mq.md as nav
> web-fixtures/components/side.mq.md as side
> web-fixtures/components/foot.mq.md as foot
> web-fixtures/db/articles.mq.md as articles
> lib/fs.mq.md
> lib/json.mq.md
import web:ext/web/web.mq.md
import shell:web-fixtures/styles/shell.mq.md
import nav:web-fixtures/components/nav.mq.md
import side:web-fixtures/components/side.mq.md
import foot:web-fixtures/components/foot.mq.md
import articles:web-fixtures/db/articles.mq.md
import fs:lib/fs.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: web static smoke
description: Offline app.static registration (no listen).
> ext/web/web.mq.md
> lib/json.mq.md
import web:ext/web/web.mq.md
import json:lib/json.mq.md
---
# main
+6 -6
View File
@@ -1,12 +1,12 @@
---
title: web zh API smoke
description: Offline Chinese 网页.mq.md assemble (no listen).
> ext/web/网页.mq.md
> web-fixtures/components/nav.mq.md
> web-fixtures/components/side.mq.md
> web-fixtures/components/foot.mq.md
> web-fixtures/db/articles.mq.md as articles
> lib/json.mq.md
导入 网页:ext/web/网页.mq.md
import nav:web-fixtures/components/nav.mq.md
import side:web-fixtures/components/side.mq.md
import foot:web-fixtures/components/foot.mq.md
import articles:web-fixtures/db/articles.mq.md
import json:lib/json.mq.md
---
# main
+10 -1
View File
@@ -275,6 +275,15 @@ fn error_ns_instance_method() {
);
}
#[test]
fn error_legacy_gt_import() {
assert_err(
"tests/errors/legacy-gt-import.mq.md",
"3:1",
"legacy frontmatter import",
);
}
#[test]
fn structure_fn_end_hr() {
@@ -1169,7 +1178,7 @@ fn ext_cli_add_list_remove_llm() {
let mq = tmp.join("smoke.mq.md");
std::fs::write(
&mq,
"---\n> ext/ai/llm.mq.md\n---\n\n# main\n\n> print text=ext-cli-ok\n",
"---\nimport llm:ext/ai/llm.mq.md\n---\n\n# main\n\n> print text=ext-cli-ok\n",
)
.unwrap();
let run = Command::new(bin)
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: foreign python hello
> lib/foreign.mq.md
import foreign:lib/foreign.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: foreign run_lang
> lib/foreign.mq.md
import foreign:lib/foreign.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: fs read/exists
> lib/fs.mq.md
import fs:lib/fs.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: json quote
> lib/json.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: json roundtrip
> lib/fs.mq.md
> lib/json.mq.md
import fs:lib/fs.mq.md
import json:lib/json.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: math formula chain
> lib/math.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: math formula pipeline
> lib/math.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: math plot svg
> lib/math.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: math random seed
> lib/math.mq.md
import math:lib/math.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: net url_encode
> lib/net.mq.md
import net:lib/net.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: openai SSE reasoning_content offline
description: DeepSeek-style thinking streams as type=reasoning; answer stays delta/done.result.
> lib/net.mq.md
> lib/json.mq.md
import net:lib/net.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: openai SSE parse offline
> lib/net.mq.md
> lib/json.mq.md
import net:lib/net.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: plugin demo ABI
description: Loads demo cdylib; path from MARQDO_TEST_PLUGIN (set by gold harness).
> lib/plugin.mq.md
> lib/sys.mq.md
import plugin:lib/plugin.mq.md
import sys:lib/sys.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: subtask spawn fn
> lib/subtask.mq.md
> lib/json.mq.md
import subtask:lib/subtask.mq.md
import json:lib/json.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: subtask foreign spawn
> lib/subtask.mq.md
import subtask:lib/subtask.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: quiet file subtask captures stdout/stderr
> lib/subtask.mq.md
> lib/json.mq.md
import subtask:lib/subtask.mq.md
import json:lib/json.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: subtask spawn join
> lib/subtask.mq.md
> lib/json.mq.md
import subtask:lib/subtask.mq.md
import json:lib/json.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: sys cwd
> lib/sys.mq.md
import sys:lib/sys.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: sys dotenv
> lib/sys.mq.md
> lib/fs.mq.md
import sys:lib/sys.mq.md
import fs:lib/fs.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: table collections
description: put + list/map helpers
> lib/table.mq.md
import table:lib/table.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: time format/parse
> lib/time.mq.md
import time:lib/time.mq.md
---
# main
+3 -3
View File
@@ -1,9 +1,9 @@
---
title: async writeback via subtask
description: Fire-and-forget persist_slot with explicit line=; join on exit.
> lib/writeback.mq.md
> lib/subtask.mq.md
> lib/json.mq.md
import writeback:lib/writeback.mq.md
import subtask:lib/subtask.mq.md
import json:lib/json.mq.md
---
## persist_slot
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: writeback get
> lib/writeback.mq.md
import writeback:lib/writeback.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: foreign zh
> lib/外联.mq.md
导入 外联:lib/外联.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: math num + zh
> lib/数学.mq.md
导入 数学:lib/数学.mq.md
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: 中文文件库
> lib/文件.mq.md
导入 文件:lib/文件.mq.md
---
# main
+1 -1
View File
@@ -1,7 +1,7 @@
---
title: 表集合
description: 改 + 列表字典
> lib/表.mq.md
导入 表:lib/表.mq.md
---
# main
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: 分支示例
---
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: 集合(表格)示例
---
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: import official lib (Chinese)
> lib/文本.mq.md
> lib/表.mq.md
导入 文本:lib/文本.mq.md
导入 表:lib/表.mq.md
---
# main
+2 -2
View File
@@ -1,6 +1,6 @@
---
---
title: 跨文件导入示例
> utils.mq.md
import utils:utils.mq.md
---
# main
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: 工具函数
description: 供 frontmatter > 导入;返回用粗体;副作用用输出函数
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: inherit explicit parent constructor
> lib/json.mq.md
import json:lib/json.mq.md
---
# Parent
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: inherit parent method
> lib/json.mq.md
import json:lib/json.mq.md
---
# Greeter
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: 循环示例
---
+1 -1
View File
@@ -1,4 +1,4 @@
---
---
title: Hello World
description: Recommended entry — nested fn; print builtin; bold return
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: three-segment library path
> helpers.mq.md
import helpers:helpers.mq.md
---
# main
+2 -2
View File
@@ -1,7 +1,7 @@
---
title: frontmatter use short name
> lib/text.mq.md
> use text.str_trim as trim_text
import text:lib/text.mq.md
import trim_text:text.str_trim
---
# main
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: object handle smoke
> lib/json.mq.md
import json:lib/json.mq.md
---
# counter