devbug/app/views/dash_v1/out.pug
2019-07-24 15:30:51 -05:00

13 lines
364 B
Plaintext

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);