summaryrefslogtreecommitdiff
path: root/docs/guide/index.md
diff options
context:
space:
mode:
authorJordan Wiens <github@psifertex.com>2026-05-27 14:55:28 -0400
committerJordan Wiens <github@psifertex.com>2026-05-27 14:55:28 -0400
commit162b406ea28aa5bacc34a00745d8780bcbf58753 (patch)
tree39802866489bd352c54599024e24ee346b44cd35 /docs/guide/index.md
parentf2ae12d97604da6136b26c184eb7fe30531b4d5e (diff)
add better syntax highlighting for code blocks
Diffstat (limited to 'docs/guide/index.md')
-rw-r--r--docs/guide/index.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/guide/index.md b/docs/guide/index.md
index 058e4e91..bb51f690 100644
--- a/docs/guide/index.md
+++ b/docs/guide/index.md
@@ -1087,8 +1087,10 @@ The interactive python prompt also has several built-in "magic" functions and va
The python interpreter can be customized to run scripts on startup using `startup.py` in your user folder. Simply enter commands into that file, and they will be executed every time Binary Ninja starts. By default, it comes with an import helper:
- # Commands in this file will be run in the interactive python console on startup
- from binaryninja import *
+```python
+# Commands in this file will be run in the interactive python console on startup
+from binaryninja import *
+```
From here, you can add any custom functions or objects you want to be available in the console. If you want to restore the original copy of `startup.py` at any time, simply delete the file and restart Binary Ninja. A fresh copy of the above will be generated.