This looks to me like a possible oversight from HubSpot where it won't let you use an imported macro. A workaround does exist, however being a workaround it's not 100% ideal.
The idea is to add a macro that acts as a wrapper, and passes the post info to the import macro. It doesn't really help as far as keeping all macros contained within one file, but does help in the sense that it at least keeps the main post formatter macro in a separate file.
This looks to me like a possible oversight from HubSpot where it won't let you use an imported macro. A workaround does exist, however being a workaround it's not 100% ideal.
The idea is to add a macro that acts as a wrapper, and passes the post info to the import macro. It doesn't really help as far as keeping all macros contained within one file, but does help in the sense that it at least keeps the main post formatter macro in a separate file.