move markdown.php check into only function that uses it
still can't get filter to change transient time to work