sets content attribute on the model to the modified markdown