Fix markdown extension checker
Parse markdown first before include file