mirror of
https://github.com/kepano/obsidian-skills.git
synced 2026-12-05 10:05:18 -08:00
Skills: Fix alias links, YAML wikilinks, tag rules, sort values and canvas writes
A bare [[Alias]] doesn't resolve, an unquoted [[Note]] in YAML is a nested list, a space ends a tag, and a sort direction other than ASC or DESC is dropped. Canvas files written through obsidian create content= get raw newlines inside JSON strings. Also documents colored highlights from 1.14.1, the blank line a table needs after a paragraph, and replaces the nonexistent Links property type with Tags.
This commit is contained in:
@@ -94,6 +94,8 @@ Nodes are objects placed on the canvas. Array order determines z-index: first no
|
||||
|
||||
**Quote escaping pitfall**: Double quotes inside `text` content must be escaped as `\"`. For example, the text `公司的"外交官"` must be stored as `"text": "公司的\"外交官\""`. Unescaped quotes break the JSON parse and the canvas will fail to render. When generating canvas JSON programmatically, always use a JSON serializer rather than manual string concatenation.
|
||||
|
||||
Write `.canvas` files directly. Don't create them with `obsidian create content=`, which turns every `\n` into a raw newline and breaks the JSON.
|
||||
|
||||
### File Nodes
|
||||
|
||||
| Attribute | Required | Type | Description |
|
||||
|
||||
Reference in New Issue
Block a user