Subj : RE: Last test To : @deon:matrix.dege.au From : MeaTLoTioN Date : Sun Sep 08 2024 17:43:47 On 09/09/2024 09:13 @deon:matrix.dege.au said... @d> MeaTLoTioN🇺🇦: Hey, what API post did you use to get the mono spaced In the curl statement I use the formatted_body var and put the text inside a
tag curl 'https://matrix.erb.pw/_matrix/client/r0/rooms/!'$ROOMID'/send/m.room.message/'$TXNID'?access_token='$MATRIXTOKEN \ -s -X PUT \ --data "{\"msgtype\": \"m.text\", \ \"format\": \"org.matrix.custom.html\", \ \"body\": \"$MESSAGE\", \ \"formatted_body\": \"$TITLE$ANSI\"}" The variables $TITLE and $ANSI are set as username/node/bbsname (TITLE) and the $ANSI is the text inside the codeblock. Hope that helps =) -- |14Best regards, |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N // @meatlotion:erb.pw |07-- |08[|10eml|08] |15ml@erb.pw |07-- |08[|10web|08] |15www.erb.pw |07--- |07-- |08[|09fsx|08] |1521:1/158 |07-- |08[|11tqw|08] |151337:1/101 |07--- |07-- |08[|12rtn|08] |1580:774/81 |07-- |08[|14fdn|08] |152:250/5 |07------ |07-- |08[|10ark|08] |1510:104/2 |07-- --- ENiGMA 1/2 v0.0.14-beta (linux; x64; 18.20.4) * Origin: thE dYslExIc dOnkEy ~ dydo.erb.pw:1337 (1337:1/201) .