Commit Graph
31 Commits
Author SHA1 Message Date
hypercross 256c685f6c refactor: remove implicit content sniffing and table conversion
- Split loadCSV into parseCSVString (content) and loadCSVFromPath
  (path); drop isCSV/looksLikeCsv heuristics
- Delete coerceSparkTables and markedTable label-header magic;
  plain markdown tables now render as plain tables
- Add explicit markdown role=spark-table fence syntax that converts
  pipe tables to CSV at scan time, with dice-header validation
- Map ESM-only github-slugger and csv-parse browser build to CJS in
  jest config; add content-registry tests
2026-09-08 21:33:12 +08:00
hypercross 5061c4d19d docs: remove remaining yaml/tag legacy references 2026-09-08 20:59:30 +08:00
hypercross d75df5280f feat(markdown): support yaml role=tag info string
Accept yaml role=tag alongside legacy yaml/tag so the block
body gets yaml syntax highlighting, matching the CLI role=
attribute convention. Copy button now emits the role=tag form.
2026-09-03 10:10:06 +08:00
hypercross f1ddc8fb8e refactor(md-deck): pos string and yaml copy output
Replace per-axis x1/y1/x2/y2 layer fields with a single
pos string (x1,y1-x2,y2) matching the compact layers format.

When a deck is configured via a yaml/tag codeblock (data-config),
the copy button now emits a yaml/tag block serialized from current
store state so template layers round-trip.
2026-09-02 18:30:32 +08:00
hypercross 16dfc8a88c feat(md-deck): support structured data-config with template layers
Allow md-deck layers to render markdown templates via {{var}}
substitution instead of only CSV props. Add config.ts to normalize
a JSON data-config attribute (size, grid, shape, layers) emitted by
the yaml code-block tag, taking precedence over legacy string props.
2026-09-02 18:15:51 +08:00
hyper 9e081891df feat(md-deck): Add fallback copy dialog for clipboard failure 2026-08-07 12:13:40 +08:00
hyper 18cad20d2c feat: add PLT double cut option to plotter export 2026-07-23 20:08:51 +08:00
hyper 0add3f27d5 fix(layer-editor): use stable _key for drag-and-drop sorting
Add a unique `_key` to each layer config to maintain stable sortable IDs
across reorder operations. Update LayerRow to use the sortableId prop
and the `use:sortable` directive. Refactor layer-crud utilities to
generate and propagate `_key` values on creation and initialization.
2026-07-03 21:49:18 +08:00
hyper b3d390dfd5 refactor(editor-panel): extract LayerRow and layer crud logic 2026-06-30 21:34:10 +08:00
hyper 42c7c9a26e feat(editor): Add dnd reordering and layer add/remove 2026-06-30 20:55:13 +08:00
hyper b09560a4e5 refactor: allow chinese layer names 2026-04-07 19:33:08 +08:00
hypercross 49fca8c18f fix: rotation 2026-03-31 22:32:53 +08:00
hypercross ceb2da8b1a refactor: layer transform controls 2026-03-31 22:32:53 +08:00
hypercross eef72a043b refactor: corner radius 2026-03-15 01:31:16 +08:00
hyper 107e6fd6a2 feat: shape for cards 2026-03-14 15:48:55 +08:00
hypercross 4b08a738a7 fix: generateCode 2026-03-13 17:34:00 +08:00
hypercross b3dc768786 feat: card back support? 2026-03-13 17:26:00 +08:00
hypercross 97923c8d35 fix: icons 2026-03-13 11:53:41 +08:00
hypercross 9e8d4e6388 feat: md icon prefix 2026-03-13 11:33:13 +08:00
hypercross 9d189bd842 refactor: move cardlayer to just load store 2026-02-28 13:31:27 +08:00
hypercross f53dc847ca refactor: clean up deck wise font size 2026-02-28 12:20:34 +08:00
hypercross 1dca41b36a feat: add layer font size 2026-02-28 11:50:57 +08:00
hyper 5bc77a2291 feat: nsew layers 2026-02-27 23:01:09 +08:00
hyper 47c15e933c feat: error handling 2026-02-27 21:02:33 +08:00
hyper f32bbe59b3 feat: jsPDF 2026-02-27 20:27:26 +08:00
hypercross 1845576b18 fix: print sizing 2026-02-27 18:17:16 +08:00
hypercross bab09a2561 feat: md-deck print 2026-02-27 16:20:00 +08:00
hypercross aa0ba2a551 fix: details 2026-02-27 15:52:39 +08:00
hypercross 0e2f214552 fix: details 2026-02-27 15:40:52 +08:00
hypercross ce01044c41 refactor: font size and split fields 2026-02-27 15:32:04 +08:00
hypercross c6580b7c69 refactor: break down & clean up 2026-02-27 15:22:51 +08:00