First time here? Check out the FAQ!

Revision history  [back]

discussed this a bit at: ask.fedoraproject.org/en/question/55354/email-subscription-in-plain-text/


I checked the RSS feed, and it looks like legit markdown. so maybe it's just the emails.

  • celery task [send_instant_notifications_about_activity_in_post](https:// github.com/ASKBOT/askbot-devel/blob/master/askbot/tasks.py#L213-L283) send the email and calls
  • [askbot.models.format_instant_notification_email](https:// github.com/ASKBOT/askbot-devel/blob/master/askbot/models/__init__.py#L3198) which in turn calls
  • [askbot.mail.send_mail](https:// github.com/ASKBOT/askbot-devel/blob/master/askbot/mail/__init__.py#L108-L116) which in turn calls
  • [askbot.utils.html.get_text_from_html](https:// github.com/ASKBOT/askbot-devel/blob/master/askbot/utils/html.py#L148-L175) which
  • uses BeautifulSoup to transform the html into text; that's the part that strips html tags and that you would want to edit if you wanted to give the markdown syntax instead.

If you were going that route I would suggest to have footer notes e.g.

This is some email content with [some text][1].
Please check [your answer][2] or visit [your profile][3].

Links:
[1]: http://...
[2]: https://...
[3]: https://...

... rather than inline links.