You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
364 B
13 lines
364 B
extends ./template
|
|
block content
|
|
pre#editor(style="height: 75%;") #{prettyd}
|
|
script(src='/assets/dash_v1.js')
|
|
|
|
block scripts
|
|
script(src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js")
|
|
script.
|
|
const editor = ace.edit('editor');
|
|
editor.setTheme('ace/theme/cobalt');
|
|
editor.session.setMode('ace/mode/json');
|
|
editor.setOption('readOnly', true);
|