split build stage in preprocessing and pandoc build
this would enforce proper modularization of the involved functions and reduce complexity of the jobs involved
this would enforce proper modularization of the involved functions and reduce complexity of the jobs involved