Merge markdown code and link scripts