npm install -g clean-notion-export
clean-notion-export --entry ./path/to/folder --output ./my-formatted-notion-stuff
// or
npx clean-notion-export --entry ./path/to/folder --output ./my-formatted-notion-stuff
I'm kinda mad with notion's export feature, it doesn't export some of the stuff, causing this library to fail, once in a while.