Announcement 2024-04-25
Breadcrumbs 🍞
Section titled “Breadcrumbs 🍞”⚠️ Two important changes are now available in beta:
- Hierarchies are Directions are no more. There are now just fields, and groups of fields.
- BREAKING: Breadcrumbs codeblocks are now parsed as YAML.
The first change is non-breaking, but does represent a different way of thinking about Breadcrumbs. You can read more here: https://publish.obsidian.md/breadcrumbs-docs. The Quick-Start and Overview on the Home page will guide you. But to summarise:
- The abstraction of Directions and Hierarchies is gone. Instead, there are now only Fields, and Field Groups. You can choose to represent the directions as groups, but no longer have to.
- A migration script will translate your old settings to the new version. The script will use Field Groups to replicate your existing setup, so everything should behave as before on first-load. I recommend scrolling through the BC settings to get a feel.
- The old way of specifying implied relations now uses a system of transitive chains, which provides a superset of functionality - everything previous is possible, and more.
On the second point, most codeblock fields will behave as before, because they happened to be valid YAML. But the following need changing:
fieldsis now astring[], instead of a comma-separated list- Same with
field-groups, andshow-attributes depthis now a[number, number], instead of a"number-number"string
See the codeblock docs for more info. You’ll get detailed error messages in each codeblock when it tries to render.
As always, thank you to everyone who suggested/tested these changes. In particular, Lemons, Daniel, and Abi this time :green_heart: