penyt380 downloadsEasily replace the custom variable in the code block.
This is a simple plugin for Obsidian that can let you easily replace the custom variable in the code block!
Settings -> Replace pencil, you can change placeholder prefix.Initial Look:

Replace Pencil Working:

Replace Pencil uses clipboard access only when you click the "Copy" button. It writes the replaced code block text to your system clipboard.
This plugin does not read your clipboard contents.