JerryI / wolfram-js-frontend

Dynamic Notebook Environment for Wolfram Language written in Javascript
https://jerryi.github.io/wljs-docs/
GNU General Public License v3.0
236 stars 8 forks source link

Input/Output indicators #207

Open LoganJFisher opened 2 weeks ago

LoganJFisher commented 2 weeks ago

Is your feature request related to a problem? Please describe. Right now, if I input 2+2, the next cell will show 4, but there is no indication at a glance of what is an input and what is an output.

Describe the solution you'd like Mathematica resolves this by indicating to the left of each cell: "In[#]=" or "Out[#]=", which I believe is the most elegant way of resolving this issue.

Additional context WLJS: ZBtDGWk Mathematica: nXIUpO1

munuxi commented 2 weeks ago

Yes, we need it, and it's very useful when we want to use output result as our variables e.g. %234 in the calculation.

JerryI commented 2 weeks ago
Screenshot 2024-06-24 at 11 01 05

In principle, this is indicated by a gray bracket. But anyway, i will try to find a place in HTML layout for additional labels

JerryI commented 2 weeks ago
Screenshot 2024-06-24 at 11 54 06

We need UI designer ;D