From fffda80a4b8de569eddef30178a1e76cb9281eba Mon Sep 17 00:00:00 2001 From: Henil Panchal Date: Sun, 25 Sep 2022 09:23:50 +0530 Subject: [PATCH] runcode --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index 1dd6226b..6ee4ab81 100644 --- a/README.md +++ b/README.md @@ -142,14 +142,6 @@ mode, set `REACT_APP_PLAYGROUND_API_URL` to `http://localhost:5000`. If deploying to production, `REACT_APP_PLAYGROUND_API_URL` should be set to `https://play-api.fortran-lang.org`. -### Loading Fortran code from your website in the playground - -The Playground can Load code from your website by adding a parameter `code` to the URL of Playground. Please **Note:** that the value of the parameter code has to be fortran code which has been **URL Encoded** . This can be done by using JS function `encodeURIComponent()` with the code as its parameter. - -Example: https://play.fortran-lang.org/?code=program+hello%0D%0A++%21+This+is+a+comment+line%3B+it+is+ignored+by+the+compiler%0D%0A++print+%2A%2C+%27Hello%2C+World%21%27%0D%0Aend+program+hello%0D%0A - -Here, the fortran program for Hello World has been URL encoded and set to parameter `code` in the URL. - ## Deploying to production