diff --git a/plugs/core/attributes.ts b/plugs/core/attributes.ts index 2a5d5a52..5f3efa1e 100644 --- a/plugs/core/attributes.ts +++ b/plugs/core/attributes.ts @@ -38,7 +38,7 @@ export async function indexAttributes( } export async function attributeComplete(completeEvent: CompleteEvent) { - const inlineAttributeMatch = /([^\[]|^)\[(\w+)$/.exec( + const inlineAttributeMatch = /([^\[\{}]|^)\[(\w+)$/.exec( completeEvent.linePrefix, ); if (inlineAttributeMatch) { diff --git a/version.ts b/version.ts index 1bf7dc41..0fe271c8 100644 --- a/version.ts +++ b/version.ts @@ -1 +1 @@ -export const version = "0.3.8"; +export const version = "0.3.9"; diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md index cb00a866..8862f5c4 100644 --- a/website/CHANGELOG.md +++ b/website/CHANGELOG.md @@ -3,10 +3,11 @@ release. --- -## 0.3.8 +## 0.3.9 * [[Metadata]] both in [[Frontmatter]] and [[Attributes]] names are now indexed (scoped to whether they apply to pages, items or tasks) and code completed, e.g in front matter, attribute syntax and queries. * When pressing `Shift-Enter` rather than regular `Enter` in the page navigator, the input is now used literally to create a new page with that name. For example, typing in “my page” and hitting `Shift-Enter` will always create a page with that name (rather than defaulting to the best match, which is what `Enter` would navigate to). * Fixes an issue where the focus would be taken away from a modal if the page needed to be reloaded in the background. +* Command to update directives across the entire space (not just the current page): {[d]} * Ability to run plug functions from the CLI with `silverbullet plug:run`. For instance, to update all directives in an entire space, run: ```bash silverbullet plug:run /space-path directive.updateDirectivesInSpace