mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 14:04:04 -05:00
22 lines
861 B
HTML
22 lines
861 B
HTML
<!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>
|