Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use blocktrans with markdown-deux? #8

Open
puterleat opened this issue Nov 13, 2014 · 2 comments
Open

Is it possible to use blocktrans with markdown-deux? #8

puterleat opened this issue Nov 13, 2014 · 2 comments

Comments

@puterleat
Copy link

No description provided.

@trentm
Copy link
Owner

trentm commented Nov 14, 2014

https://docs.djangoproject.com/en/dev/topics/i18n/translation/#std:templatetag-blocktrans

I've no idea. I'm not actively using this right now and I've not used the blocktrans template var.

Experiences and patches welcome. :)

@iamjazzar
Copy link

iamjazzar commented Jan 6, 2018

Yes, just use it like this:

{% load i18n %}
{% load markdown_deux_tags %}

{% trans 'Why you should learn with **Us**' as translated_statement %}
{{ translated_statement | markdown }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants