Hacker News new | ask | show | jobs
by fatih-erikli 1361 days ago
I use Python program for that It works pretty fine

Example

  $ python
  >>> weeklyprice=4000
  >>> dailyprice=weeklyprice/7
  >>> februaryprice=dailyprice\*28
  >>> februaryprice
  15988
2 comments

A Jupyter notebook would work in much the same way, and has the advantage of being able to mingle Markdown in with the code.

Neither is as approachable for a non-programmer as the OP, however.

https://observablehq.com/ is another option, similar to jupyter but perhaps more approachable for people who like JavaScript over Python.

I'm still looking for the perfect text-based solution.

years ago, I did something OP did, with embedding python, and whole page have tree type hierarchy with parent can access child pages and child have read only access to parent values. python is awesome.