fix arg reference in gsync
add shodown method to parse markdown