# Evaluating of Code

**URL:** <https://support.doubledogsoftware.com/t/evaluating-of-code/605>\
**Category:** FoldingText\
**Created:** [March 10, 2018, 1:51am UTC](https://support.doubledogsoftware.com/t/evaluating-of-code/605 "2018-03-10T01:51:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SdotVdot](https://support.doubledogsoftware.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@SdotVdot](https://support.doubledogsoftware.com/u/SdotVdot)\
**Post date:** [March 10, 2018, 1:51am UTC](https://support.doubledogsoftware.com/t/evaluating-of-code/605/1 "2018-03-10T01:51:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mutahhir](https://support.doubledogsoftware.com/letter_avatar_proxy/v4/letter/m/e47c2d/32.png) [@mutahhir](https://support.doubledogsoftware.com/u/mutahhir)\
**Post date:** [March 11, 2018, 8:08am UTC](https://support.doubledogsoftware.com/t/evaluating-of-code/605/2 "2018-03-11T08:08:52Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![complexpoint](https://support.doubledogsoftware.com/letter_avatar_proxy/v4/letter/c/5f9b8f/32.png) [@complexpoint](https://support.doubledogsoftware.com/u/complexpoint)\
**Post date:** [April 12, 2018, 8:25pm UTC](https://support.doubledogsoftware.com/t/evaluating-of-code/605/3 "2018-04-12T20:25:56Z")

</div>

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