From 162b406ea28aa5bacc34a00745d8780bcbf58753 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 27 May 2026 14:55:28 -0400 Subject: add better syntax highlighting for code blocks --- docs/guide/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/guide/index.md') 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. -- cgit v1.3.1