Page tree
Skip to end of metadata
Go to start of metadata

체험하기

소스보기 아이콘( )을 클릭하면 에디터를 전체화면으로 확대하여 이용할 수 있습니다.


CodeMirror 연동

CodeMirror 연동
<link href='/se/resource/synapeditor/synapeditor.min.css' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src='/se/resource/synapeditor/synapeditor.min.js'></script>
<script src='/se/resource/synapeditor/synapeditor.config.js'></script>


<!-- code mirror -->
<script type="text/javascript" src='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.39.0/codemirror.min.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.39.0/mode/xml/xml.min.js"></script>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.39.0/codemirror.min.css'>


Code Mirror를 연동하면 소스코드 보기 및 편집이 더욱 편리합니다.

  • No labels