Add getattr_recursive and markdown templatetag