Skip to content
/ coliru Public
forked from alamaison/coliru

JavaScript library for Coliru online compiler

Notifications You must be signed in to change notification settings

lums658/coliru

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

coliru.js

JavaScript library for Coliru online compiler

Add <script>window.onload = coliru.addRunButtons</script> to your page to insert buttons into every C++ code block that will compile and run the code and displays the result below the code block.

C++ code blocks are those <code> elements with the data-lang="c++" attribute. For example:

<pre>
    <code data-lang="c++">
        int main()
        {
            return 0;
        }
    </code>
</pre>

About

JavaScript library for Coliru online compiler

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.3%
  • HTML 2.7%