added kakscript to index

This commit is contained in:
Daniel Fichtinger 2025-07-01 18:31:27 -04:00
parent a6915f69bd
commit 7be4a24ed9

View file

@ -3,6 +3,9 @@ title: My First Post
---
- This post has some content. I changed it.
- I've just added a second bullet!
## Some Python Code
```python
def md_to_html(
@ -23,3 +26,18 @@ def md_to_html(
)
return renderer.render(ast)
```
## Kakoune Script?!
```kak
declare-option -hidden bool on_server %sh{
if [ -z "$KAK_ON_SERVER" ]; then
printf 'false'
else
printf 'true'
fi
}
define-command -override true nop
define-command -override false fail
```