aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-12 15:12:10 +0900
committernsfisis <nsfisis@gmail.com>2023-03-12 15:12:10 +0900
commitde13d68cddef5bb321469bcffb868f27ddd5390e (patch)
tree3183bb2bc8b2ad7d34b6953e6a248747239f0afa /public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
parent5b49e6bca39d7cd3b98db8b826dc597d9f758a26 (diff)
downloadblog.nsfisis.dev-de13d68cddef5bb321469bcffb868f27ddd5390e.tar.gz
blog.nsfisis.dev-de13d68cddef5bb321469bcffb868f27ddd5390e.tar.zst
blog.nsfisis.dev-de13d68cddef5bb321469bcffb868f27ddd5390e.zip
style: add .highlight class to pre tag
Diffstat (limited to 'public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html')
-rw-r--r--public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
index d8b8502..fbac1f0 100644
--- a/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
+++ b/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html
@@ -111,7 +111,7 @@
書いたものがこちら:
</p>
- <pre language="php" linenumbering="unnumbered">
+ <pre class="highlight" language="php" linenumbering="unnumbered">
<code>[&lt;?php $n=$argv[1];foreach([1e4,5e3,2e3,1e3,500,100,50,10,5,1]as$x)for(;$n&gt;=$x;$n-=$x)$r[]=$x;echo implode(&apos;, &apos;,$r??[]);?&gt;]</code>
</pre>
@@ -123,7 +123,7 @@
こちらは改行とスペースを追加したバージョン:
</p>
- <pre language="php" linenumbering="unnumbered">
+ <pre class="highlight" language="php" linenumbering="unnumbered">
<code>[&lt;?php
$n = $argv[1];