Change markdown directive to account for changes in <text></text>