I
I
ixotep2019-03-19 04:59:10
Django
ixotep, 2019-03-19 04:59:10

How to display programming language code on a blog page in django?

Tell me how to make a snippet in Django templates to display code while preserving formatting and syntax highlighting (like <code></code>on Toaster).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Talyan, 2019-03-19
@ixotep

It is unlikely that you will succeed, of course, since you don’t even know how to google:
Question from a toaster:
How to fasten code highlighting in Django?
The first issue in the search:
https://evileg.com/ru/post/4/
https://yandex.ru/search/?text=django%20highlight%...

D
Dmitry Bay, 2019-03-19
@kawabanga

You can't do that in django, you need the css programming language!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question