I am little confused right now. You have said markdown and jinja templates (reusing them also)
markdown is used for documentation procedures. Jinja is used for actual html templates. I am not sure what you want to achieve! For code reuse you can use template inheritance. When you pass diff context to diff templates that are extending from the same base template; (e.g. template1.html and template2.html are using table.html) you can reuse html templates with different content. https://docs.djangoproject.com/en/4.2/ref/templates/language/#template-inheritance Regards, Chetan Ganji +91-900-483-4183 ganji.che...@gmail.com http://ryucoder.in On Fri, Jul 14, 2023 at 6:53 PM sebasti...@gmail.com < sebastian.ju...@gmail.com> wrote: > Hello, > > i use regular markdown and asciidoc. Problem is that both have to less > feature. For example i want to reuse html templates with different content. > > In asciidoc i can do this following: > > i declare variables > > :varibale1: Teststring > :variable2: Second String > > include::buttontemplate.adoc[] > > This is not good in reading such source code. Second thing include i can't > use inline only in new line and i have problems to make include in tables. > > Asciidoc have no multilanguage suppport. And further more problems > > So i think for very small documumentation asciidoc is wunderfull but for > greater docus with several levels in TOC and multilanguage this tool is to > unflexible. Does anyone knows a package in django where i have a syntax > like asciidoc/markdown but the felxibility like in django where a can use > jinja2 and can use templating and multilanguage works? > > Regards > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/a2c07298-a2e7-4a8f-ab2e-79367a2b5dcdn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/a2c07298-a2e7-4a8f-ab2e-79367a2b5dcdn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUju%3DzCa1ehbLHQKddOPTRfLyOrAi4FqNowhnFTXX2isJyQ%40mail.gmail.com.