然后,您可以使用以下代码创建一个代码编辑器:. var editor = CodeMirror.fromTextArea(document.getElementById("code"), { mode: "python", lineNumbers: true });.
確定! 回上一頁