Generate markdown by token