Kyle Barron
Kyle Barron
With the syntax highlighting yes. But not the fold end marker to my knowledge. I haven't tried but I'd be surprised.
What's a simple regex to try? ``` }(?!\s*\n\s*else) ```
It actually works when not using brackets:  I suppose the main reason is that when there are brackets I run the code with `include`
So `include` must break Stata's record of `if/else` somehow
The only case in which it _doesn't_ work is when `if` uses brackets. Why did we end up using include anyways? 
Oh right we use `include` so that commands will stop running after one creates an error. Which is good...
You might want to try a different graph output format, see https://github.com/kylebarron/stata_kernel/issues/335#issuecomment-602104884
I think this is an issue with Stata that I can't solve
Hmm, I definitely had issues with that in the early days of developing the package, but I thought the issues were fixed. Which OS? And can you try to attach...
And what stata kernel version is installed? ``` pip show stata_kernel ```