DEV Community

Discussion on: Dev tool: A Markdown editor for developers 🔥

Collapse
 
michaelcurrin profile image
Michael Currin

For ideas I would look at a similar widely used tool called iPython Notebook or Jupyter Notebook. Previously separate but now just the one is used I think.

It lets you write markdown as notes. And code in Python, Bash and more. Node I guess if you have that installed. And it evaluates the code and printed results and shows graphs inline. This is popular for Python and data science.

You interact in a browser or IDE.
It also lets you save as a .ipnb file which you can run and edit again later. And it can be rendered as a HTML view on GitHub or by someone else locally, without having to actually run your code. So it is portable.

When browsing gists, I sometimes find ones made in this format.


Consider also how to write frontend JS because it looks like your support Node ie server side running internally but someone users may want to have frontend based JS. And there are some differences in allowed syntax and imports and what is in the std lib etc.

Collapse
 
alagrede profile image
Anthony Lagrede

Hello Michael,
You are totally right 👍, this functionality is widely inspired from Notebook possibilities and I don't know yet, how to keep the results of code in notes.
Also true, the JS currently run into the internal Node Server. This first use case allow to execute code without configure any local environment. I love your thinking about running the code on configured external environments (bash, java, python and also JS...). It's a great idea to open up the app and include all Developers 🤩.

Collapse
 
alagrede profile image
Anthony Lagrede

Thank you very much. I turned this into tasks.