Evaluating of Code


#1

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.


#2

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?


#3

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