Exploring possibility of embedding online code and run module in webhelp pages

Having trouble installing Oxygen? Got a bug to report? Post it all here.
galanohan
Posts: 104
Joined: Mon Jul 10, 2023 11:49 am

Exploring possibility of embedding online code and run module in webhelp pages

Post by galanohan »

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