c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
114 stars 14 forks source link

Add a way to put runnable RPL code in the documentation #1230

Closed c3d closed 1 month ago

c3d commented 1 month ago

Suggested by @Wiljea: Being able to put anchor containing RPL code in the help file, that would execute when you select them, would make it much easier to share examples of code.

An alternative would be to automatically be able to select code in between markdown code blocks. The following would show as code, and then if ENTER is pressed while the cursor is there, the code would be put in the editor.

0 1 100 FOR i 'X' i ^ + NEXT