Default Parameters
Global Defaults
Create
plugin-params.json
file to specify default parameters per plugin.{ "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 presentPage Local Defaults
Use page meta block at the start of a page to set plugin default parameters specific to the page.
--- 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
