Evaluating of Code


Is is possible to add a feature for evaluating code inside folding text? For example, evaluating python code.

I think org-mode in emacs has something in this spirit.


Hmm, while that’d be an interesting feature for sure, FoldingText doesn’t do that yet. I’m not exactly sure how we’d go about it from an interface perspective. Do you have any references on how org mode does it?


You mean other than FoldingText’s existing JSContext, in which JavaScript can already be evaluated ?