refactoring, move markdown sample into a dedicated file