Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
- integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
- <title> asm Base Format Check </title>
- <script src="codemirror/lib/codemirror.js"> </script>
- <link href="codemirror/lib/codemirror.css" rel="stylesheet">
- <script scr="codemirror/mode/gas/gas.js"> </script>
- <link href="codemirror/theme/darcula.css" rel="stylesheet">
- </head>
- <body>
- <center> <h1>Enter the asm file content:</h1></center>
- <form method="POST" action= "/send">
- <textarea id="texta" type="text" name="code" style="height: 500;">{% autoescape false %}{{ COD }}{% endautoescape %}</textarea>
- <br><br>
- <center> <input class="btn btn-primary" type="submit" value="Check your code!"> </center>
- </form>
- <script>
- var editor = CodeMirror.fromTextArea(document.getElementById("texta"), {
- lineNumbers: true,
- mode: {name: "texta", theme: "darcula",mode:"gas"}
- });
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment