make ace awesome

This commit is contained in:
Hamcha 2023-11-19 15:36:25 +01:00
parent 8e9b7682b6
commit 2cde2f57f6

View file

@ -5,7 +5,7 @@
{% block content %}
<main>
<h1>Stack details for <span class="stack-name">{{stack_name}}</span></h1>
<h2>Status</h2>
<h2>Containers</h2>
<table class="containers">
<thead>
<tr>
@ -96,6 +96,11 @@
<script>
var editor = ace.edit("editor");
editor.setTheme("ace/theme/dracula");
editor.setOptions({
fontFamily: "Iosevka Web",
fontSize: "12pt"
});
editor.setKeyboardHandler("ace/keyboard/vim");
editor.session.setMode("ace/mode/nix");
</script>