Browse Source

use code style for values

main
ghost 10 months ago
parent
commit
5988f0d73e
  1. 9
      src/server.php

9
src/server.php

@ -268,13 +268,22 @@ $server->setHandler(
// Append latest records // Append latest records
foreach ($records as $record) foreach ($records as $record)
{ {
// Key
$result[] = sprintf( $result[] = sprintf(
'### %s', '### %s',
$record['key'] $record['key']
); );
// Value
$result[] = sprintf(
'``` %s',
$config->geminiapp->string->value
);
$result[] = $record['value']; $result[] = $record['value'];
$result[] = '```';
// Link
$result[] = sprintf( $result[] = sprintf(
'=> /%s %s in %d', '=> /%s %s in %d',
$record['transaction'], $record['transaction'],

Loading…
Cancel
Save