parse string from marking lib