aboutsummaryrefslogtreecommitdiff
path: root/test/embedding.html
blob: be3d9ab6945dd3f0a24fb76106c439284092a421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>Embedding test</title>
    </head>
    <body>
        <div>Test; here's some inline Compiler Explorer stuff:</div>
        <iframe
            width="800px"
            height="200px"
            src="http://localhost:10240/e#source:'int+main()%7B%7D',compiler:g44,options:'-O2',filters:'colouriseAsm,intel,commentOnly,directives,labels,compileOnChange'"
        ></iframe>
    </body>
    <div>And here's some text after</div>
    <iframe
        width="800px"
        height="200px"
        src="http://localhost:10240/e#compiler:/usr/bin/g%2B%2B,filters:'colouriseAsm,readOnly,labels,directives,commentOnly,intel',options:'-O2',source:'//+Type+your+code+here,+or+load+an+example.%0Aint+square(int+num)+%7B%0A++++return+num+*+num%3B%0A%7D%0A'"
    ></iframe>
</html>