Use get_user_model instead of importing it directly.
Replace markdown templatetag with Page model function