Comment: added validation for markdown inputs
Dispatcher, Scan: updated to include validation for Markdown inputs