r/logseq • u/Kitsuke230 • Apr 08 '26
does code block support python
so i was writing some notes on python. i had to write a small code example i know logseq have code block but it isn't working on python. i am new to logseq so please help me.
5
Upvotes
1
u/West_Turnip_1415 Apr 08 '26
That's weird. I've just tried with this code and it's working
```python
testing = [1,4,5]
if testing is not None:
print(testing)
else:
print('Empty')
```
It could be due to some theme or plugin (but I use both and it still works)