only markdown and directory routes are handled by the router