Default Parameters
Sat Jan 11 2025

Global Defaults

Create plugin-params.json file to specify default parameters per plugin.
plugin-params.json
{
  "api-parameters": {
    "title": "no title (set explicitly to override)"
  }
}
When the parameters file is present, any time you use API Parameters plugin without title, an implicit title will be present

Page Local Defaults

Use page meta block at the start of a page to set plugin default parameters specific to the page.
You may have seen meta block example to set Page Title:
---
title: Custom Name
---
Now we're going to use the same block to add plugin defaults local to the page.
---
image: {border: true}
---
Once we have a block like this, every include-image plugin on this page will have border set to true.
:include-image: visuals/regular-image.png