Patch Changes
-
foam list templatesno longer prints warnings for templates that contain Markdown links (#1770). -
foam graph --include-placeholdersandfoam linksshow a broken wikilink by its target, such asnot-written-yet, instead of a../../not-written-yetpath.In
@foam/core,uriToWorkspacePathreturns a wikilink placeholder's target unchanged. -
The graph in sites made with
foam exportdraws nodes smaller, shows tags, placeholders, attachments and images as distinct shapes, and stops redrawing once it settles. -
A query filter with a field Foam doesn't know now matches no notes and shows a warning, instead of ignoring the field. The removed
expressionfield matches nothing; usejexlinstead.In
@foam/core, the query filter type no longer hasexpression. -
Renaming a section updates every link to it, however the link is written (#1772, #1781):
- Rename works from the heading, from the
#sectionof a wikilink to it, or from the#fragmentof a Markdown link to it, with the same result - Each link keeps its form:
[[note#My Section]]and[text](<note.md#My Section>)get the new heading text,[text](note.md#my-section)gets the new slug - A heading keeps its formatting, indentation,
>quote, closing##and^anchor, in VS Code and infoam rename section - Rename also works on links you haven't saved yet, and on
[[note#Section\|alias]]in a table - Renaming from
[[note]]renames the note itself, as renaming it in the explorer does
A Markdown link to a heading's slug, such as
[text](note.md#my-section), now goes to that heading, embeds accept![[note#my-section]], and a wikilink written with the slug is no longer flagged as an unknown section.In
@foam/core,HeadingEdit.getSectionAtPosition,FoamGraph.resolveLinksandMarkdownLink.getSectionRangeare added, and sections have alabelRange. - Rename works from the heading, from the
-
Dependencies updated for security fixes (#1782).
-
A
[[left open earlier on a line no longer swallows the wikilink after it: insee [[ syntax [[note]], only[[note]]is a link (#1780).