From c4024a4c4c26cb2d9c08c31519903e2cf82bf614 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Thu, 2 Dec 2021 22:41:23 +0000 Subject: [PATCH] Use an admonition instead --- .../data/computercraft/lua/rom/apis/peripheral.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/resources/data/computercraft/lua/rom/apis/peripheral.lua b/src/main/resources/data/computercraft/lua/rom/apis/peripheral.lua index f3c74a1c2..cb12e6da6 100644 --- a/src/main/resources/data/computercraft/lua/rom/apis/peripheral.lua +++ b/src/main/resources/data/computercraft/lua/rom/apis/peripheral.lua @@ -28,9 +28,11 @@ Once you have the name of a peripheral, you can call functions on it using the @{peripheral.call} function. This takes the name of our peripheral, the name of the function we want to call, and then its arguments. -> Some bits of the peripheral API call peripheral functions *methods* instead -> (for example, the @{peripheral.getMethods} function). Don't worry, they're the -> same thing! +:::info +Some bits of the peripheral API call peripheral functions *methods* instead +(for example, the @{peripheral.getMethods} function). Don't worry, they're the +same thing! +::: Let's say we have a monitor above our computer (and so "top") and want to @{monitor.write|write some text to it}. We'd write the following: