Exploring possibility of embedding online code and run module in webhelp pages
Posted: Mon Dec 04, 2023 10:35 am
Hi,
I'm exploring the possibility of embedding code_n_run module in webhelp pages online so that users could follow instructions in procedural text, copy the code sample or rewrite the code a little bit, then compile the code right in the page.
This is sort of like https://developer.mozilla.org/en-US/doc ... ine-height , a user could modify the sample code to see the output and possible error message after clicking the running.
I understand that this sort of online code test module or try-it feature is developed and determined by other scripts I don't know but if there's a html file that points to a source where such feature is implemented, which parameter would be the best for containing such embedded code and compile module?
Thanks!
Regards,
Galano
I'm exploring the possibility of embedding code_n_run module in webhelp pages online so that users could follow instructions in procedural text, copy the code sample or rewrite the code a little bit, then compile the code right in the page.
This is sort of like https://developer.mozilla.org/en-US/doc ... ine-height , a user could modify the sample code to see the output and possible error message after clicking the running.
I understand that this sort of online code test module or try-it feature is developed and determined by other scripts I don't know but if there's a html file that points to a source where such feature is implemented, which parameter would be the best for containing such embedded code and compile module?
Thanks!
Regards,
Galano