feat: macros for posts to extend page functionality
This commit is contained in:
17
src/renderer/macros/definitions/index.ts
Normal file
17
src/renderer/macros/definitions/index.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Macro Definitions Index
|
||||
*
|
||||
* This file imports all macro definitions so they self-register.
|
||||
* To add a new macro:
|
||||
* 1. Create a new file in this folder (e.g., myMacro.ts)
|
||||
* 2. Implement MacroDefinition interface
|
||||
* 3. Call registerMacro() at the end
|
||||
* 4. Import it here
|
||||
*/
|
||||
|
||||
// Import all macro definitions - they self-register on import
|
||||
import './gallery';
|
||||
import './youtube';
|
||||
|
||||
// Add new macro imports here:
|
||||
// import './myNewMacro';
|
||||
Reference in New Issue
Block a user