How to do syntax highlight in a nested fence tag? #362
Replies: 2 comments 2 replies
-
|
Hi, I don't understand the issue. Can you explain it with code? Code: Expected: Instead, I got: Can you provide something like above? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@baseplate-admin You misunderstood the Python syntax. def anime_home_view(request):
return render(
request,
"template.html",
context={
"var": """
text
```python\nassert 1 == 1\n```
""",
},
)The Which is an indented code block already. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thanks for this awesome library. I was wondering if this would be possible
It doesn't work properly.
Rendering something light this
Beta Was this translation helpful? Give feedback.
All reactions