diff options
Diffstat (limited to 'js/baba-yaga/web/editor/index.html')
-rw-r--r-- | js/baba-yaga/web/editor/index.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/baba-yaga/web/editor/index.html b/js/baba-yaga/web/editor/index.html index 572d9f6..6344cee 100644 --- a/js/baba-yaga/web/editor/index.html +++ b/js/baba-yaga/web/editor/index.html @@ -33,6 +33,9 @@ <!-- Baba Yaga Language Mode --> <script src="js/baba-yaga-mode.js"></script> + <!-- Baba Yaga Formatter --> + <script src="js/formatter.js"></script> + <style> * { margin: 0; @@ -237,6 +240,14 @@ background-color: #5a8a45; } + .format-btn { + background-color: #ff9500; + } + + .format-btn:hover { + background-color: #e6850e; + } + .structural-editor-btn { background-color: #8b5cf6; } @@ -518,6 +529,7 @@ <h1>Baba Yaga Code Runner</h1> <div class="header-controls"> <button id="run-btn" class="btn">▶ Run Code</button> + <button id="format-btn" class="btn format-btn">📝 Format</button> <button id="sample-btn" class="btn sample-code-btn">Load Sample</button> </div> </header> |