From 36ef8dcf0c87d646970af855db53e5a7f6c51af2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 17 May 2025 01:50:38 +0900 Subject: feat(blog/nuldoc): allow codeblock to have line number --- .../2025-04-20/trick-2025-most-ruby-on-ruby-award.dj | 1 + vhosts/blog/nuldoc-src/djot/djot2ndoc.ts | 3 +++ vhosts/blog/nuldoc-src/djot/to_html.ts | 5 +++++ vhosts/blog/public/404.html | 2 +- vhosts/blog/public/about/index.html | 2 +- vhosts/blog/public/index.html | 2 +- .../public/posts/2021-03-05/my-first-post/index.html | 2 +- .../public/posts/2021-03-30/phperkaigi-2021/index.html | 2 +- .../cpp-you-can-use-keywords-in-attributes/index.html | 2 +- .../2021-10-02/python-unbound-local-error/index.html | 2 +- .../ruby-detect-running-implementation/index.html | 2 +- .../2021-10-02/ruby-then-keyword-and-case-in/index.html | 2 +- .../rust-where-are-primitive-types-from/index.html | 2 +- .../index.html | 2 +- .../vim-swap-order-of-selected-lines/index.html | 2 +- .../posts/2022-04-09/phperkaigi-2022-tokens/index.html | 2 +- .../index.html | 2 +- .../public/posts/2022-05-01/phperkaigi-2022/index.html | 2 +- .../php-conference-okinawa-code-golf/index.html | 2 +- .../support-for-communty-is-employee-benefits/index.html | 2 +- .../write-fizzbuzz-in-php-2-letters-per-line/index.html | 2 +- .../phperkaigi-2023-unused-token-quiz-1/index.html | 2 +- .../2022-10-28/setup-server-for-this-site/index.html | 2 +- .../phperkaigi-2023-unused-token-quiz-2/index.html | 2 +- .../phperkaigi-2023-unused-token-quiz-3/index.html | 2 +- .../2023-03-10/rewrite-this-blog-generator/index.html | 2 +- .../index.html | 2 +- .../posts/2023-04-04/phperkaigi-2023-report/index.html | 2 +- .../posts/2023-06-25/phpconfuk-2023-report/index.html | 2 +- .../2023-10-02/compile-php-runtime-to-wasm/index.html | 2 +- .../i-entered-the-open-university-of-japan/index.html | 2 +- vhosts/blog/public/posts/2023-12-03/isucon-13/index.html | 2 +- .../public/posts/2023-12-31/2023-reflections/index.html | 2 +- .../index.html | 2 +- .../install-wireguard-on-personal-server/index.html | 2 +- .../posts/2024-02-10/yapcjapan-2024-report/index.html | 2 +- .../posts/2024-02-22/phpkansai-2024-report/index.html | 2 +- .../posts/2024-03-17/phperkaigi-2024-report/index.html | 2 +- .../public/posts/2024-03-20/my-bucket-list/index.html | 2 +- .../2024-04-14/phpcon-odawara-2024-report/index.html | 2 +- .../pipefail-option-in-gitlab-ci-cd/index.html | 2 +- .../index.html | 2 +- .../posts/2024-05-11/phpconkagawa-2024-report/index.html | 2 +- .../posts/2024-06-19/scalamatsuri-2024-report/index.html | 2 +- .../reparojson-fix-only-json-formatter/index.html | 2 +- .../index.html | 2 +- .../posts/2024-09-28/mncore-challenge-1/index.html | 2 +- .../public/posts/2024-12-04/cohackpp-report/index.html | 2 +- .../public/posts/2024-12-33/2024-reflections/index.html | 2 +- .../2025-01-08/phperkaigi-2023-tokens-q1/index.html | 2 +- .../index.html | 2 +- .../2025-02-24/phpcon-nagoya-2025-report/index.html | 2 +- .../zip-function-like-command-paste-command/index.html | 2 +- .../http-1-1-send-multiple-same-headers/index.html | 2 +- .../trick-2025-most-ruby-on-ruby-award/index.html | 4 ++-- .../index.html | 2 +- .../make-tiny-self-hosted-c-compiler/index.html | 2 +- vhosts/blog/public/posts/index.html | 2 +- .../slides/2023-01-18/phpstudy-tokyo-148/index.html | 2 +- .../slides/2023-02-15/phpstudy-tokyo-149/index.html | 2 +- .../slides/2023-03-15/phpstudy-tokyo-150/index.html | 2 +- .../public/slides/2023-03-24/phperkaigi-2023/index.html | 2 +- .../slides/2023-03-25/phperkaigi-2023-tokens/index.html | 2 +- .../slides/2023-04-12/phpstudy-tokyo-151/index.html | 2 +- .../slides/2023-06-21/phpstudy-tokyo-153/index.html | 2 +- .../slides/2023-06-23/phpconfuk-2023-eve/index.html | 2 +- .../slides/2023-07-26/phpstudy-tokyo-154/index.html | 2 +- .../slides/2023-08-24/phpstudy-tokyo-155/index.html | 2 +- .../slides/2023-10-25/phpstudy-tokyo-157/index.html | 2 +- .../slides/2024-01-24/phpstudy-tokyo-160/index.html | 2 +- .../public/slides/2024-03-08/phperkaigi-2024/index.html | 2 +- vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html | 2 +- .../slides/2024-04-13/phpcon-odawara-2024/index.html | 2 +- .../slides/2024-04-25/phpstudy-tokyo-163/index.html | 2 +- .../slides/2024-07-18/phpstudy-tokyo-166/index.html | 2 +- .../slides/2024-10-30/phpstudy-tokyo-169/index.html | 2 +- vhosts/blog/public/slides/2024-11-30/cohackpp/index.html | 2 +- .../slides/2025-02-22/phpcon-nagoya-2025/index.html | 2 +- .../public/slides/2025-03-23/phperkaigi-2025/index.html | 2 +- .../slides/2025-04-12/phpcon-odawara-2025/index.html | 2 +- vhosts/blog/public/slides/index.html | 2 +- vhosts/blog/public/style.css | 16 ++++++++++++++++ vhosts/blog/public/tags/c/index.html | 2 +- vhosts/blog/public/tags/ci-cd/index.html | 2 +- vhosts/blog/public/tags/cohackpp/index.html | 2 +- vhosts/blog/public/tags/composer/index.html | 2 +- vhosts/blog/public/tags/conference/index.html | 2 +- vhosts/blog/public/tags/cpp/index.html | 2 +- vhosts/blog/public/tags/cpp17/index.html | 2 +- vhosts/blog/public/tags/gitlab/index.html | 2 +- vhosts/blog/public/tags/go/index.html | 2 +- vhosts/blog/public/tags/http/index.html | 2 +- vhosts/blog/public/tags/index.html | 2 +- vhosts/blog/public/tags/isucon/index.html | 2 +- vhosts/blog/public/tags/macos/index.html | 2 +- vhosts/blog/public/tags/mncore-challenge/index.html | 2 +- vhosts/blog/public/tags/neovim/index.html | 2 +- vhosts/blog/public/tags/note-to-self/index.html | 2 +- vhosts/blog/public/tags/ouj/index.html | 2 +- vhosts/blog/public/tags/perl/index.html | 2 +- vhosts/blog/public/tags/php/index.html | 2 +- vhosts/blog/public/tags/phpcon-nagoya/index.html | 2 +- vhosts/blog/public/tags/phpcon-odawara/index.html | 2 +- vhosts/blog/public/tags/phpconfuk/index.html | 2 +- vhosts/blog/public/tags/phpconkagawa/index.html | 2 +- vhosts/blog/public/tags/phpconokinawa/index.html | 2 +- vhosts/blog/public/tags/phperkaigi/index.html | 2 +- vhosts/blog/public/tags/phpkansai/index.html | 2 +- vhosts/blog/public/tags/phpstudy-tokyo/index.html | 2 +- vhosts/blog/public/tags/piet/index.html | 2 +- vhosts/blog/public/tags/python/index.html | 2 +- vhosts/blog/public/tags/python3/index.html | 2 +- vhosts/blog/public/tags/ruby/index.html | 2 +- vhosts/blog/public/tags/ruby3/index.html | 2 +- vhosts/blog/public/tags/rubykaigi/index.html | 2 +- vhosts/blog/public/tags/rust/index.html | 2 +- vhosts/blog/public/tags/scala/index.html | 2 +- vhosts/blog/public/tags/scalamatsuri/index.html | 2 +- vhosts/blog/public/tags/trick/index.html | 2 +- vhosts/blog/public/tags/vim/index.html | 2 +- vhosts/blog/public/tags/wasm/index.html | 2 +- vhosts/blog/public/tags/wireguard/index.html | 2 +- vhosts/blog/public/tags/ya8/index.html | 2 +- vhosts/blog/public/tags/yaml/index.html | 2 +- vhosts/blog/public/tags/yapc/index.html | 2 +- vhosts/blog/public/tags/zsh/index.html | 2 +- vhosts/blog/static/style.css | 16 ++++++++++++++++ 127 files changed, 164 insertions(+), 123 deletions(-) diff --git a/vhosts/blog/content/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award.dj b/vhosts/blog/content/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award.dj index 6a35919..f51396f 100644 --- a/vhosts/blog/content/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award.dj +++ b/vhosts/blog/content/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award.dj @@ -68,6 +68,7 @@ TRICK とは RubyKaigi で不定期に開催されているコンテストで、 改めて quine について説明する。Quine とは、自身のソースコードを出力するようなプログラムである。Ruby では様々な方法で quine を書くことができるが、この作品で使っている基本形は以下のようなものである。 +{numbered="true"} ```ruby eval $s=<<'EOS' print "eval $s=<<'EOS'\n" diff --git a/vhosts/blog/nuldoc-src/djot/djot2ndoc.ts b/vhosts/blog/nuldoc-src/djot/djot2ndoc.ts index 55b63a0..fa0365b 100644 --- a/vhosts/blog/nuldoc-src/djot/djot2ndoc.ts +++ b/vhosts/blog/nuldoc-src/djot/djot2ndoc.ts @@ -133,6 +133,9 @@ function processCodeBlock(node: DjotCodeBlock): Element { if (node.attributes?.filename) { attributes.set("filename", node.attributes.filename); } + if (node.attributes?.numbered) { + attributes.set("numbered", "true"); + } return { kind: "element", name: "codeblock", diff --git a/vhosts/blog/nuldoc-src/djot/to_html.ts b/vhosts/blog/nuldoc-src/djot/to_html.ts index b64c3d9..e2d6a9b 100644 --- a/vhosts/blog/nuldoc-src/djot/to_html.ts +++ b/vhosts/blog/nuldoc-src/djot/to_html.ts @@ -367,6 +367,7 @@ async function transformAndHighlightCodeBlockElement(doc: Document) { const language = n.attributes.get("language") || "text"; const filename = n.attributes.get("filename"); + const numbered = n.attributes.get("numbered"); const sourceCodeNode = n.children[0] as Text | RawHTML; const sourceCode = sourceCodeNode.content.trimEnd(); @@ -382,6 +383,10 @@ async function transformAndHighlightCodeBlockElement(doc: Document) { n.attributes.set("class", "codeblock"); n.attributes.delete("language"); + if (numbered === "true") { + n.attributes.delete("numbered"); + addClass(n, "numbered"); + } if (filename) { n.attributes.delete("filename"); diff --git a/vhosts/blog/public/404.html b/vhosts/blog/public/404.html index 0aa20bf..276246a 100644 --- a/vhosts/blog/public/404.html +++ b/vhosts/blog/public/404.html @@ -13,7 +13,7 @@ Page Not Found|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/about/index.html b/vhosts/blog/public/about/index.html index 64b0ea2..de88a3e 100644 --- a/vhosts/blog/public/about/index.html +++ b/vhosts/blog/public/about/index.html @@ -13,7 +13,7 @@ About|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/index.html b/vhosts/blog/public/index.html index 1b737e1..e261fdc 100644 --- a/vhosts/blog/public/index.html +++ b/vhosts/blog/public/index.html @@ -14,7 +14,7 @@ REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-03-05/my-first-post/index.html b/vhosts/blog/public/posts/2021-03-05/my-first-post/index.html index 7374057..d9c9307 100644 --- a/vhosts/blog/public/posts/2021-03-05/my-first-post/index.html +++ b/vhosts/blog/public/posts/2021-03-05/my-first-post/index.html @@ -13,7 +13,7 @@ My First Post|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-03-30/phperkaigi-2021/index.html b/vhosts/blog/public/posts/2021-03-30/phperkaigi-2021/index.html index 94857d4..1a049be 100644 --- a/vhosts/blog/public/posts/2021-03-30/phperkaigi-2021/index.html +++ b/vhosts/blog/public/posts/2021-03-30/phperkaigi-2021/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2021|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html index 0a82a40..56f50d2 100644 --- a/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html +++ b/vhosts/blog/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html @@ -14,7 +14,7 @@ 【C++】 属性構文の属性名にはキーワードが使える|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/python-unbound-local-error/index.html b/vhosts/blog/public/posts/2021-10-02/python-unbound-local-error/index.html index 09fae4d..86cf655 100644 --- a/vhosts/blog/public/posts/2021-10-02/python-unbound-local-error/index.html +++ b/vhosts/blog/public/posts/2021-10-02/python-unbound-local-error/index.html @@ -14,7 +14,7 @@ 【Python】 クロージャとUnboundLocalError: local variable 'x' referenced before assignment|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html b/vhosts/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html index 338a4d7..abcfb32 100644 --- a/vhosts/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html +++ b/vhosts/blog/public/posts/2021-10-02/ruby-detect-running-implementation/index.html @@ -14,7 +14,7 @@ 【Ruby】 自身を実行している処理系の種類を判定する|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html b/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html index e4d6df9..099359e 100644 --- a/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html +++ b/vhosts/blog/public/posts/2021-10-02/ruby-then-keyword-and-case-in/index.html @@ -14,7 +14,7 @@ 【Ruby】 then キーワードと case in|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html b/vhosts/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html index 7c83991..a80e884 100644 --- a/vhosts/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html +++ b/vhosts/blog/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html @@ -14,7 +14,7 @@ Rust のプリミティブ型はどこからやって来るか|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html index 95e6669..f908111 100644 --- a/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html +++ b/vhosts/blog/public/posts/2021-10-02/vim-difference-between-autocmd-bufwrite-and-bufwritepre/index.html @@ -14,7 +14,7 @@ 【Vim】 autocmd events の BufWrite/BufWritePre の違い|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html b/vhosts/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html index bf64504..3daa41c 100644 --- a/vhosts/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html +++ b/vhosts/blog/public/posts/2021-10-02/vim-swap-order-of-selected-lines/index.html @@ -14,7 +14,7 @@ Vimで選択した行の順番を入れ替える|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html b/vhosts/blog/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html index bd3dd40..7850b78 100644 --- a/vhosts/blog/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html +++ b/vhosts/blog/public/posts/2022-04-09/phperkaigi-2022-tokens/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2022 トークン問題の解説|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html b/vhosts/blog/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html index fc8a752..2f34ec9 100644 --- a/vhosts/blog/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html +++ b/vhosts/blog/public/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal/index.html @@ -13,7 +13,7 @@ term-banner: ターミナルにバナーを表示するツールを書いた|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-05-01/phperkaigi-2022/index.html b/vhosts/blog/public/posts/2022-05-01/phperkaigi-2022/index.html index 3665260..7108370 100644 --- a/vhosts/blog/public/posts/2022-05-01/phperkaigi-2022/index.html +++ b/vhosts/blog/public/posts/2022-05-01/phperkaigi-2022/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2022|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html b/vhosts/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html index 3357f2d..087f44c 100644 --- a/vhosts/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html +++ b/vhosts/blog/public/posts/2022-08-27/php-conference-okinawa-code-golf/index.html @@ -14,7 +14,7 @@ PHP カンファレンス沖縄で出題されたコードゴルフの問題を解いてみた|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html b/vhosts/blog/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html index 48f2222..d0d33f5 100644 --- a/vhosts/blog/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html +++ b/vhosts/blog/public/posts/2022-08-31/support-for-communty-is-employee-benefits/index.html @@ -13,7 +13,7 @@ 弊社の PHP Foundation への寄付に寄せて|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html b/vhosts/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html index d3c054c..8336814 100644 --- a/vhosts/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html +++ b/vhosts/blog/public/posts/2022-09-29/write-fizzbuzz-in-php-2-letters-per-line/index.html @@ -14,7 +14,7 @@ 【PHP】 fizzbuzz を書く。1行あたり2文字で。|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html b/vhosts/blog/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html index 3519f33..af9fa5a 100644 --- a/vhosts/blog/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html +++ b/vhosts/blog/public/posts/2022-10-23/phperkaigi-2023-unused-token-quiz-1/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023: ボツになったトークン問題 その 1|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-10-28/setup-server-for-this-site/index.html b/vhosts/blog/public/posts/2022-10-28/setup-server-for-this-site/index.html index 8575c4a..faee5c5 100644 --- a/vhosts/blog/public/posts/2022-10-28/setup-server-for-this-site/index.html +++ b/vhosts/blog/public/posts/2022-10-28/setup-server-for-this-site/index.html @@ -14,7 +14,7 @@ 【備忘録】 このサイト用の VPS をセットアップしたときのメモ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html b/vhosts/blog/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html index aef58cb..7697050 100644 --- a/vhosts/blog/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html +++ b/vhosts/blog/public/posts/2022-11-19/phperkaigi-2023-unused-token-quiz-2/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023: ボツになったトークン問題 その 2|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html b/vhosts/blog/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html index ac880d5..0c83f61 100644 --- a/vhosts/blog/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html +++ b/vhosts/blog/public/posts/2023-01-10/phperkaigi-2023-unused-token-quiz-3/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023: ボツになったトークン問題 その 3|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-03-10/rewrite-this-blog-generator/index.html b/vhosts/blog/public/posts/2023-03-10/rewrite-this-blog-generator/index.html index e5a6e5d..8251af9 100644 --- a/vhosts/blog/public/posts/2023-03-10/rewrite-this-blog-generator/index.html +++ b/vhosts/blog/public/posts/2023-03-10/rewrite-this-blog-generator/index.html @@ -13,7 +13,7 @@ このブログのジェネレータを書き直した|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-04-01/implementation-of-minimal-png-image-encoder/index.html b/vhosts/blog/public/posts/2023-04-01/implementation-of-minimal-png-image-encoder/index.html index 722aaca..31bf065 100644 --- a/vhosts/blog/public/posts/2023-04-01/implementation-of-minimal-png-image-encoder/index.html +++ b/vhosts/blog/public/posts/2023-04-01/implementation-of-minimal-png-image-encoder/index.html @@ -13,7 +13,7 @@ PNG 画像の最小構成エンコーダを実装する|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-04-04/phperkaigi-2023-report/index.html b/vhosts/blog/public/posts/2023-04-04/phperkaigi-2023-report/index.html index e675b9b..5087766 100644 --- a/vhosts/blog/public/posts/2023-04-04/phperkaigi-2023-report/index.html +++ b/vhosts/blog/public/posts/2023-04-04/phperkaigi-2023-report/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-06-25/phpconfuk-2023-report/index.html b/vhosts/blog/public/posts/2023-06-25/phpconfuk-2023-report/index.html index c549629..10e27fe 100644 --- a/vhosts/blog/public/posts/2023-06-25/phpconfuk-2023-report/index.html +++ b/vhosts/blog/public/posts/2023-06-25/phpconfuk-2023-report/index.html @@ -14,7 +14,7 @@ PHP カンファレンス福岡 2023 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-10-02/compile-php-runtime-to-wasm/index.html b/vhosts/blog/public/posts/2023-10-02/compile-php-runtime-to-wasm/index.html index b743ee0..519f77b 100644 --- a/vhosts/blog/public/posts/2023-10-02/compile-php-runtime-to-wasm/index.html +++ b/vhosts/blog/public/posts/2023-10-02/compile-php-runtime-to-wasm/index.html @@ -14,7 +14,7 @@ PHP の処理系を Emscripten で WebAssembly にコンパイルする|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-10-13/i-entered-the-open-university-of-japan/index.html b/vhosts/blog/public/posts/2023-10-13/i-entered-the-open-university-of-japan/index.html index 61236f4..5d2b2bf 100644 --- a/vhosts/blog/public/posts/2023-10-13/i-entered-the-open-university-of-japan/index.html +++ b/vhosts/blog/public/posts/2023-10-13/i-entered-the-open-university-of-japan/index.html @@ -14,7 +14,7 @@ 放送大学に入学しました|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-12-03/isucon-13/index.html b/vhosts/blog/public/posts/2023-12-03/isucon-13/index.html index 9883485..7b4ea81 100644 --- a/vhosts/blog/public/posts/2023-12-03/isucon-13/index.html +++ b/vhosts/blog/public/posts/2023-12-03/isucon-13/index.html @@ -14,7 +14,7 @@ ISUCON 13 に参加した|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2023-12-31/2023-reflections/index.html b/vhosts/blog/public/posts/2023-12-31/2023-reflections/index.html index 1ef8dc2..6174913 100644 --- a/vhosts/blog/public/posts/2023-12-31/2023-reflections/index.html +++ b/vhosts/blog/public/posts/2023-12-31/2023-reflections/index.html @@ -13,7 +13,7 @@ 2023年の振り返り|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-01-10/neovim-insert-namespace-declaration-to-empty-php-file/index.html b/vhosts/blog/public/posts/2024-01-10/neovim-insert-namespace-declaration-to-empty-php-file/index.html index faa6b0c..0e07df8 100644 --- a/vhosts/blog/public/posts/2024-01-10/neovim-insert-namespace-declaration-to-empty-php-file/index.html +++ b/vhosts/blog/public/posts/2024-01-10/neovim-insert-namespace-declaration-to-empty-php-file/index.html @@ -14,7 +14,7 @@ 【Neovim】 空の PHP ファイルに namespace 宣言を挿入する|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-02-03/install-wireguard-on-personal-server/index.html b/vhosts/blog/public/posts/2024-02-03/install-wireguard-on-personal-server/index.html index db82828..cc2ff8d 100644 --- a/vhosts/blog/public/posts/2024-02-03/install-wireguard-on-personal-server/index.html +++ b/vhosts/blog/public/posts/2024-02-03/install-wireguard-on-personal-server/index.html @@ -14,7 +14,7 @@ 【備忘録】 個人用サーバに WireGuard を導入する|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-02-10/yapcjapan-2024-report/index.html b/vhosts/blog/public/posts/2024-02-10/yapcjapan-2024-report/index.html index d99a12a..9ab95a1 100644 --- a/vhosts/blog/public/posts/2024-02-10/yapcjapan-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-02-10/yapcjapan-2024-report/index.html @@ -14,7 +14,7 @@ YAPC::Hiroshima 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-02-22/phpkansai-2024-report/index.html b/vhosts/blog/public/posts/2024-02-22/phpkansai-2024-report/index.html index b9b2bd0..00cfd30 100644 --- a/vhosts/blog/public/posts/2024-02-22/phpkansai-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-02-22/phpkansai-2024-report/index.html @@ -14,7 +14,7 @@ PHPカンファレンス関西 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-03-17/phperkaigi-2024-report/index.html b/vhosts/blog/public/posts/2024-03-17/phperkaigi-2024-report/index.html index 0263869..e3bf0b5 100644 --- a/vhosts/blog/public/posts/2024-03-17/phperkaigi-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-03-17/phperkaigi-2024-report/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-03-20/my-bucket-list/index.html b/vhosts/blog/public/posts/2024-03-20/my-bucket-list/index.html index 9930290..65a78e6 100644 --- a/vhosts/blog/public/posts/2024-03-20/my-bucket-list/index.html +++ b/vhosts/blog/public/posts/2024-03-20/my-bucket-list/index.html @@ -13,7 +13,7 @@ 死ぬまでに作る自作○○一覧あるいは人生の TODO リスト|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-04-14/phpcon-odawara-2024-report/index.html b/vhosts/blog/public/posts/2024-04-14/phpcon-odawara-2024-report/index.html index 7a28f32..d77d8f1 100644 --- a/vhosts/blog/public/posts/2024-04-14/phpcon-odawara-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-04-14/phpcon-odawara-2024-report/index.html @@ -14,7 +14,7 @@ PHP カンファレンス小田原 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-04-21/pipefail-option-in-gitlab-ci-cd/index.html b/vhosts/blog/public/posts/2024-04-21/pipefail-option-in-gitlab-ci-cd/index.html index 497a8bb..bc99b37 100644 --- a/vhosts/blog/public/posts/2024-04-21/pipefail-option-in-gitlab-ci-cd/index.html +++ b/vhosts/blog/public/posts/2024-04-21/pipefail-option-in-gitlab-ci-cd/index.html @@ -14,7 +14,7 @@ 【GitLab】 GitLab CI/CD 上での bash/sh は pipefail が有効になっている|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-04-29/zsh-file-completion-for-composer-custom-commands/index.html b/vhosts/blog/public/posts/2024-04-29/zsh-file-completion-for-composer-custom-commands/index.html index 322412c..5fbf9b4 100644 --- a/vhosts/blog/public/posts/2024-04-29/zsh-file-completion-for-composer-custom-commands/index.html +++ b/vhosts/blog/public/posts/2024-04-29/zsh-file-completion-for-composer-custom-commands/index.html @@ -14,7 +14,7 @@ 【Zsh】 Composer のカスタムコマンドに対する Zsh 補完で引数にファイルを補完させる|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-05-11/phpconkagawa-2024-report/index.html b/vhosts/blog/public/posts/2024-05-11/phpconkagawa-2024-report/index.html index 3d7f203..2d5db5e 100644 --- a/vhosts/blog/public/posts/2024-05-11/phpconkagawa-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-05-11/phpconkagawa-2024-report/index.html @@ -14,7 +14,7 @@ PHP カンファレンス香川 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-06-19/scalamatsuri-2024-report/index.html b/vhosts/blog/public/posts/2024-06-19/scalamatsuri-2024-report/index.html index 6832f42..df43888 100644 --- a/vhosts/blog/public/posts/2024-06-19/scalamatsuri-2024-report/index.html +++ b/vhosts/blog/public/posts/2024-06-19/scalamatsuri-2024-report/index.html @@ -14,7 +14,7 @@ ScalaMatsuri 2024 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-07-19/reparojson-fix-only-json-formatter/index.html b/vhosts/blog/public/posts/2024-07-19/reparojson-fix-only-json-formatter/index.html index 874430d..e19ff59 100644 --- a/vhosts/blog/public/posts/2024-07-19/reparojson-fix-only-json-formatter/index.html +++ b/vhosts/blog/public/posts/2024-07-19/reparojson-fix-only-json-formatter/index.html @@ -14,7 +14,7 @@ reparojson: 文法エラーを直すだけの JSON フォーマッタを作った|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html index 028cf5b..246f9a1 100644 --- a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html +++ b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html @@ -14,7 +14,7 @@ 【Go】 text/template の with や range の内側から外側の "." にアクセスする|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-09-28/mncore-challenge-1/index.html b/vhosts/blog/public/posts/2024-09-28/mncore-challenge-1/index.html index 20b0232..ba966d5 100644 --- a/vhosts/blog/public/posts/2024-09-28/mncore-challenge-1/index.html +++ b/vhosts/blog/public/posts/2024-09-28/mncore-challenge-1/index.html @@ -14,7 +14,7 @@ MN-Core Challenge #1 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-12-04/cohackpp-report/index.html b/vhosts/blog/public/posts/2024-12-04/cohackpp-report/index.html index 159d55f..f85c6b4 100644 --- a/vhosts/blog/public/posts/2024-12-04/cohackpp-report/index.html +++ b/vhosts/blog/public/posts/2024-12-04/cohackpp-report/index.html @@ -14,7 +14,7 @@ 紅白ぺぱ合戦に参加&LTしました|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2024-12-33/2024-reflections/index.html b/vhosts/blog/public/posts/2024-12-33/2024-reflections/index.html index bc98c7d..b589d7e 100644 --- a/vhosts/blog/public/posts/2024-12-33/2024-reflections/index.html +++ b/vhosts/blog/public/posts/2024-12-33/2024-reflections/index.html @@ -13,7 +13,7 @@ 2024年の振り返り|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-01-08/phperkaigi-2023-tokens-q1/index.html b/vhosts/blog/public/posts/2025-01-08/phperkaigi-2023-tokens-q1/index.html index 367f792..2f87f3f 100644 --- a/vhosts/blog/public/posts/2025-01-08/phperkaigi-2023-tokens-q1/index.html +++ b/vhosts/blog/public/posts/2025-01-08/phperkaigi-2023-tokens-q1/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023 トークン問題解説 (1/5)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-01-26/yaml-breaking-changes-between-v1-1-and-v1-2/index.html b/vhosts/blog/public/posts/2025-01-26/yaml-breaking-changes-between-v1-1-and-v1-2/index.html index 436ad4b..fde837c 100644 --- a/vhosts/blog/public/posts/2025-01-26/yaml-breaking-changes-between-v1-1-and-v1-2/index.html +++ b/vhosts/blog/public/posts/2025-01-26/yaml-breaking-changes-between-v1-1-and-v1-2/index.html @@ -14,7 +14,7 @@ 【YAML】YAML 1.1 と YAML 1.2 の主な破壊的変更|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-02-24/phpcon-nagoya-2025-report/index.html b/vhosts/blog/public/posts/2025-02-24/phpcon-nagoya-2025-report/index.html index 7305a25..a6dd463 100644 --- a/vhosts/blog/public/posts/2025-02-24/phpcon-nagoya-2025-report/index.html +++ b/vhosts/blog/public/posts/2025-02-24/phpcon-nagoya-2025-report/index.html @@ -14,7 +14,7 @@ PHP カンファレンス名古屋 2025 参加レポ|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-03-27/zip-function-like-command-paste-command/index.html b/vhosts/blog/public/posts/2025-03-27/zip-function-like-command-paste-command/index.html index c00ffe5..6dc2241 100644 --- a/vhosts/blog/public/posts/2025-03-27/zip-function-like-command-paste-command/index.html +++ b/vhosts/blog/public/posts/2025-03-27/zip-function-like-command-paste-command/index.html @@ -14,7 +14,7 @@ zip 関数のようなコマンド paste|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-03-28/http-1-1-send-multiple-same-headers/index.html b/vhosts/blog/public/posts/2025-03-28/http-1-1-send-multiple-same-headers/index.html index d0cd611..e468d60 100644 --- a/vhosts/blog/public/posts/2025-03-28/http-1-1-send-multiple-same-headers/index.html +++ b/vhosts/blog/public/posts/2025-03-28/http-1-1-send-multiple-same-headers/index.html @@ -14,7 +14,7 @@ 【HTTP】HTTP/1.1 で同じヘッダを2回送るとどうなるか|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html b/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html index 3829184..201cf9c 100644 --- a/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html +++ b/vhosts/blog/public/posts/2025-04-20/trick-2025-most-ruby-on-ruby-award/index.html @@ -14,7 +14,7 @@ RubyKaigi 2025 の TRICK で入賞した|REPL: Rest-Eat-Program Loop - +
@@ -143,7 +143,7 @@

改めて quine について説明する。Quine とは、自身のソースコードを出力するようなプログラムである。Ruby では様々な方法で quine を書くことができるが、この作品で使っている基本形は以下のようなものである。

-
+
eval $s=<<'EOS'
 print "eval $s=<<'EOS'\n"
 print $s
diff --git a/vhosts/blog/public/posts/2025-04-24/composer-patches-v2-does-not-require-gnu-patch-even-on-macos/index.html b/vhosts/blog/public/posts/2025-04-24/composer-patches-v2-does-not-require-gnu-patch-even-on-macos/index.html
index c005af2..6b0dc1d 100644
--- a/vhosts/blog/public/posts/2025-04-24/composer-patches-v2-does-not-require-gnu-patch-even-on-macos/index.html
+++ b/vhosts/blog/public/posts/2025-04-24/composer-patches-v2-does-not-require-gnu-patch-even-on-macos/index.html
@@ -14,7 +14,7 @@
     
     
     【Composer】 composer-patches v2 では macOS でも GNU patch のインストールが不要になる (予定)|REPL: Rest-Eat-Program Loop
-    
+    
   
   
     
diff --git a/vhosts/blog/public/posts/2025-05-05/make-tiny-self-hosted-c-compiler/index.html b/vhosts/blog/public/posts/2025-05-05/make-tiny-self-hosted-c-compiler/index.html index 5a4e385..49f2d92 100644 --- a/vhosts/blog/public/posts/2025-05-05/make-tiny-self-hosted-c-compiler/index.html +++ b/vhosts/blog/public/posts/2025-05-05/make-tiny-self-hosted-c-compiler/index.html @@ -14,7 +14,7 @@ セルフホスト可能な C コンパイラを作った|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/posts/index.html b/vhosts/blog/public/posts/index.html index e33b72f..eaa8e1e 100644 --- a/vhosts/blog/public/posts/index.html +++ b/vhosts/blog/public/posts/index.html @@ -14,7 +14,7 @@ 投稿一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html b/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html index 03cd2f0..c05adcb 100644 --- a/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html +++ b/vhosts/blog/public/slides/2023-01-18/phpstudy-tokyo-148/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第148 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html b/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html index a44fc3c..e592110 100644 --- a/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html +++ b/vhosts/blog/public/slides/2023-02-15/phpstudy-tokyo-149/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第149 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html b/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html index 027117f..581dc41 100644 --- a/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html +++ b/vhosts/blog/public/slides/2023-03-15/phpstudy-tokyo-150/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第150 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html b/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html index 36156ca..b40cc55 100644 --- a/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html +++ b/vhosts/blog/public/slides/2023-03-24/phperkaigi-2023/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023 (レギュラートーク)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html b/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html index 01ceaf7..b36d46a 100644 --- a/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html +++ b/vhosts/blog/public/slides/2023-03-25/phperkaigi-2023-tokens/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2023 (トークン解説セッション)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html b/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html index 1288203..e38e76e 100644 --- a/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html +++ b/vhosts/blog/public/slides/2023-04-12/phpstudy-tokyo-151/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第151 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html b/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html index 32e98ef..cf90506 100644 --- a/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html +++ b/vhosts/blog/public/slides/2023-06-21/phpstudy-tokyo-153/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第153 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html b/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html index 99fd1a5..fd757c4 100644 --- a/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html +++ b/vhosts/blog/public/slides/2023-06-23/phpconfuk-2023-eve/index.html @@ -14,7 +14,7 @@ PHP カンファレンス福岡 2023 前夜祭 (非公式) (レギュラートーク)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html b/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html index 93094d3..a034be1 100644 --- a/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html +++ b/vhosts/blog/public/slides/2023-07-26/phpstudy-tokyo-154/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第154 回 (レギュラートーク)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html b/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html index fb60590..f2866fd 100644 --- a/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html +++ b/vhosts/blog/public/slides/2023-08-24/phpstudy-tokyo-155/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第155 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html b/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html index 4b8d58c..5ed6388 100644 --- a/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html +++ b/vhosts/blog/public/slides/2023-10-25/phpstudy-tokyo-157/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第157 回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html b/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html index 2aa427e..59490de 100644 --- a/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html +++ b/vhosts/blog/public/slides/2024-01-24/phpstudy-tokyo-160/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第160 回 (レギュラートーク)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html b/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html index 04baffd..b269e87 100644 --- a/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html +++ b/vhosts/blog/public/slides/2024-03-08/phperkaigi-2024/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2024 (レギュラートーク (40分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html b/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html index 930b9d8..b1bafee 100644 --- a/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html +++ b/vhosts/blog/public/slides/2024-03-15/ya8-2024/index.html @@ -14,7 +14,7 @@ Ya8 2024 (レギュラートーク (60分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html b/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html index 2dbf9b5..191f2fc 100644 --- a/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html +++ b/vhosts/blog/public/slides/2024-04-13/phpcon-odawara-2024/index.html @@ -14,7 +14,7 @@ PHP カンファレンス小田原 2024 (レギュラートーク (15分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html b/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html index ed0cc7e..35969d8 100644 --- a/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html +++ b/vhosts/blog/public/slides/2024-04-25/phpstudy-tokyo-163/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第163回 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html b/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html index 19e623c..6f2ce7a 100644 --- a/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html +++ b/vhosts/blog/public/slides/2024-07-18/phpstudy-tokyo-166/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第166回 (レギュラートーク (20分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html b/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html index 5c94ffe..8baafbd 100644 --- a/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html +++ b/vhosts/blog/public/slides/2024-10-30/phpstudy-tokyo-169/index.html @@ -14,7 +14,7 @@ PHP 勉強会@東京 第169回 (レギュラートーク (20分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html b/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html index 2d026c5..02a7dda 100644 --- a/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html +++ b/vhosts/blog/public/slides/2024-11-30/cohackpp/index.html @@ -14,7 +14,7 @@ 紅白ぺぱ合戦 (LT)|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html b/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html index f423d79..57d3122 100644 --- a/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html +++ b/vhosts/blog/public/slides/2025-02-22/phpcon-nagoya-2025/index.html @@ -14,7 +14,7 @@ PHP カンファレンス名古屋 2025 (レギュラートーク (30分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html b/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html index 2adf550..e3aaa04 100644 --- a/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html +++ b/vhosts/blog/public/slides/2025-03-23/phperkaigi-2025/index.html @@ -14,7 +14,7 @@ PHPerKaigi 2025 (レギュラートーク (40分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/2025-04-12/phpcon-odawara-2025/index.html b/vhosts/blog/public/slides/2025-04-12/phpcon-odawara-2025/index.html index 837e947..89850a2 100644 --- a/vhosts/blog/public/slides/2025-04-12/phpcon-odawara-2025/index.html +++ b/vhosts/blog/public/slides/2025-04-12/phpcon-odawara-2025/index.html @@ -14,7 +14,7 @@ PHP カンファレンス小田原 2025 (レギュラートーク (20分))|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/slides/index.html b/vhosts/blog/public/slides/index.html index 4682932..5cb2f17 100644 --- a/vhosts/blog/public/slides/index.html +++ b/vhosts/blog/public/slides/index.html @@ -14,7 +14,7 @@ スライド一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/style.css b/vhosts/blog/public/style.css index 830a593..078c077 100644 --- a/vhosts/blog/public/style.css +++ b/vhosts/blog/public/style.css @@ -156,6 +156,22 @@ code { padding: 0; } +/* https://github.com/shikijs/shiki/issues/3 */ +.shiki code { + counter-reset: codeblock-line-number; + counter-increment: codeblock-line-number 0; +} + +.numbered .shiki code .line::before { + content: counter(codeblock-line-number); + counter-increment: codeblock-line-number; + width: 2rem; + margin-right: 1.5rem; + display: inline-block; + text-align: right; + color: #777; +} + li.revision { list-style: inside; } diff --git a/vhosts/blog/public/tags/c/index.html b/vhosts/blog/public/tags/c/index.html index 1603301..99b8fed 100644 --- a/vhosts/blog/public/tags/c/index.html +++ b/vhosts/blog/public/tags/c/index.html @@ -15,7 +15,7 @@ タグ「C」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/ci-cd/index.html b/vhosts/blog/public/tags/ci-cd/index.html index 8e98ad7..2bb239e 100644 --- a/vhosts/blog/public/tags/ci-cd/index.html +++ b/vhosts/blog/public/tags/ci-cd/index.html @@ -15,7 +15,7 @@ タグ「CI/CD」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/cohackpp/index.html b/vhosts/blog/public/tags/cohackpp/index.html index 587c62b..960ef50 100644 --- a/vhosts/blog/public/tags/cohackpp/index.html +++ b/vhosts/blog/public/tags/cohackpp/index.html @@ -15,7 +15,7 @@ タグ「紅白ぺぱ合戦」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/composer/index.html b/vhosts/blog/public/tags/composer/index.html index 2b14b35..6c7ecae 100644 --- a/vhosts/blog/public/tags/composer/index.html +++ b/vhosts/blog/public/tags/composer/index.html @@ -15,7 +15,7 @@ タグ「Composer」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/conference/index.html b/vhosts/blog/public/tags/conference/index.html index b7a19eb..54b340c 100644 --- a/vhosts/blog/public/tags/conference/index.html +++ b/vhosts/blog/public/tags/conference/index.html @@ -15,7 +15,7 @@ タグ「カンファレンス」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/cpp/index.html b/vhosts/blog/public/tags/cpp/index.html index 6354b73..98ee99d 100644 --- a/vhosts/blog/public/tags/cpp/index.html +++ b/vhosts/blog/public/tags/cpp/index.html @@ -15,7 +15,7 @@ タグ「C++」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/cpp17/index.html b/vhosts/blog/public/tags/cpp17/index.html index 2f1b642..e7e188c 100644 --- a/vhosts/blog/public/tags/cpp17/index.html +++ b/vhosts/blog/public/tags/cpp17/index.html @@ -15,7 +15,7 @@ タグ「C++ 17」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/gitlab/index.html b/vhosts/blog/public/tags/gitlab/index.html index 45bfb99..a4aedd4 100644 --- a/vhosts/blog/public/tags/gitlab/index.html +++ b/vhosts/blog/public/tags/gitlab/index.html @@ -15,7 +15,7 @@ タグ「GitLab」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/go/index.html b/vhosts/blog/public/tags/go/index.html index b3be39f..6b928c6 100644 --- a/vhosts/blog/public/tags/go/index.html +++ b/vhosts/blog/public/tags/go/index.html @@ -15,7 +15,7 @@ タグ「Go」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/http/index.html b/vhosts/blog/public/tags/http/index.html index e21b0a8..f041894 100644 --- a/vhosts/blog/public/tags/http/index.html +++ b/vhosts/blog/public/tags/http/index.html @@ -15,7 +15,7 @@ タグ「HTTP」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/index.html b/vhosts/blog/public/tags/index.html index 73c431f..63bb64e 100644 --- a/vhosts/blog/public/tags/index.html +++ b/vhosts/blog/public/tags/index.html @@ -13,7 +13,7 @@ タグ一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/isucon/index.html b/vhosts/blog/public/tags/isucon/index.html index 01ab0c0..b9be3b9 100644 --- a/vhosts/blog/public/tags/isucon/index.html +++ b/vhosts/blog/public/tags/isucon/index.html @@ -15,7 +15,7 @@ タグ「ISUCON」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/macos/index.html b/vhosts/blog/public/tags/macos/index.html index 9ba19f0..cf2e90c 100644 --- a/vhosts/blog/public/tags/macos/index.html +++ b/vhosts/blog/public/tags/macos/index.html @@ -15,7 +15,7 @@ タグ「macOS」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/mncore-challenge/index.html b/vhosts/blog/public/tags/mncore-challenge/index.html index e1687ff..1af8cea 100644 --- a/vhosts/blog/public/tags/mncore-challenge/index.html +++ b/vhosts/blog/public/tags/mncore-challenge/index.html @@ -15,7 +15,7 @@ タグ「MN-Core Challenge」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/neovim/index.html b/vhosts/blog/public/tags/neovim/index.html index 733639a..60a60f2 100644 --- a/vhosts/blog/public/tags/neovim/index.html +++ b/vhosts/blog/public/tags/neovim/index.html @@ -15,7 +15,7 @@ タグ「Neovim」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/note-to-self/index.html b/vhosts/blog/public/tags/note-to-self/index.html index 74ee56a..167fd64 100644 --- a/vhosts/blog/public/tags/note-to-self/index.html +++ b/vhosts/blog/public/tags/note-to-self/index.html @@ -15,7 +15,7 @@ タグ「備忘録」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/ouj/index.html b/vhosts/blog/public/tags/ouj/index.html index 1387dae..e85c813 100644 --- a/vhosts/blog/public/tags/ouj/index.html +++ b/vhosts/blog/public/tags/ouj/index.html @@ -15,7 +15,7 @@ タグ「放送大学」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/perl/index.html b/vhosts/blog/public/tags/perl/index.html index 52497c6..a848d7f 100644 --- a/vhosts/blog/public/tags/perl/index.html +++ b/vhosts/blog/public/tags/perl/index.html @@ -15,7 +15,7 @@ タグ「Perl」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/php/index.html b/vhosts/blog/public/tags/php/index.html index 564916a..479e986 100644 --- a/vhosts/blog/public/tags/php/index.html +++ b/vhosts/blog/public/tags/php/index.html @@ -15,7 +15,7 @@ タグ「PHP」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpcon-nagoya/index.html b/vhosts/blog/public/tags/phpcon-nagoya/index.html index 3c54d68..ffd45b2 100644 --- a/vhosts/blog/public/tags/phpcon-nagoya/index.html +++ b/vhosts/blog/public/tags/phpcon-nagoya/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス名古屋」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpcon-odawara/index.html b/vhosts/blog/public/tags/phpcon-odawara/index.html index 4d16c8e..57ebead 100644 --- a/vhosts/blog/public/tags/phpcon-odawara/index.html +++ b/vhosts/blog/public/tags/phpcon-odawara/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス小田原」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpconfuk/index.html b/vhosts/blog/public/tags/phpconfuk/index.html index 2dcda35..d4b7592 100644 --- a/vhosts/blog/public/tags/phpconfuk/index.html +++ b/vhosts/blog/public/tags/phpconfuk/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス福岡」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpconkagawa/index.html b/vhosts/blog/public/tags/phpconkagawa/index.html index e3ea124..f68f9b0 100644 --- a/vhosts/blog/public/tags/phpconkagawa/index.html +++ b/vhosts/blog/public/tags/phpconkagawa/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス香川」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpconokinawa/index.html b/vhosts/blog/public/tags/phpconokinawa/index.html index 670fa95..22bc5ca 100644 --- a/vhosts/blog/public/tags/phpconokinawa/index.html +++ b/vhosts/blog/public/tags/phpconokinawa/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス沖縄」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phperkaigi/index.html b/vhosts/blog/public/tags/phperkaigi/index.html index 515480e..dedf927 100644 --- a/vhosts/blog/public/tags/phperkaigi/index.html +++ b/vhosts/blog/public/tags/phperkaigi/index.html @@ -15,7 +15,7 @@ タグ「PHPerKaigi」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpkansai/index.html b/vhosts/blog/public/tags/phpkansai/index.html index 73dd64f..925b032 100644 --- a/vhosts/blog/public/tags/phpkansai/index.html +++ b/vhosts/blog/public/tags/phpkansai/index.html @@ -15,7 +15,7 @@ タグ「PHP カンファレンス関西」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/phpstudy-tokyo/index.html b/vhosts/blog/public/tags/phpstudy-tokyo/index.html index 6592f14..e332fac 100644 --- a/vhosts/blog/public/tags/phpstudy-tokyo/index.html +++ b/vhosts/blog/public/tags/phpstudy-tokyo/index.html @@ -15,7 +15,7 @@ タグ「PHP 勉強会@東京」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/piet/index.html b/vhosts/blog/public/tags/piet/index.html index f15915b..689bfde 100644 --- a/vhosts/blog/public/tags/piet/index.html +++ b/vhosts/blog/public/tags/piet/index.html @@ -15,7 +15,7 @@ タグ「Piet」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/python/index.html b/vhosts/blog/public/tags/python/index.html index b9d9993..97c7ba1 100644 --- a/vhosts/blog/public/tags/python/index.html +++ b/vhosts/blog/public/tags/python/index.html @@ -15,7 +15,7 @@ タグ「Python」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/python3/index.html b/vhosts/blog/public/tags/python3/index.html index a50e54d..78271a1 100644 --- a/vhosts/blog/public/tags/python3/index.html +++ b/vhosts/blog/public/tags/python3/index.html @@ -15,7 +15,7 @@ タグ「Python 3」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/ruby/index.html b/vhosts/blog/public/tags/ruby/index.html index 6fddf52..bef4ab5 100644 --- a/vhosts/blog/public/tags/ruby/index.html +++ b/vhosts/blog/public/tags/ruby/index.html @@ -15,7 +15,7 @@ タグ「Ruby」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/ruby3/index.html b/vhosts/blog/public/tags/ruby3/index.html index 242d7cb..79685a0 100644 --- a/vhosts/blog/public/tags/ruby3/index.html +++ b/vhosts/blog/public/tags/ruby3/index.html @@ -15,7 +15,7 @@ タグ「Ruby 3」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/rubykaigi/index.html b/vhosts/blog/public/tags/rubykaigi/index.html index 044935d..046bc39 100644 --- a/vhosts/blog/public/tags/rubykaigi/index.html +++ b/vhosts/blog/public/tags/rubykaigi/index.html @@ -15,7 +15,7 @@ タグ「RubyKaigi」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/rust/index.html b/vhosts/blog/public/tags/rust/index.html index 8231e80..f81e0bf 100644 --- a/vhosts/blog/public/tags/rust/index.html +++ b/vhosts/blog/public/tags/rust/index.html @@ -15,7 +15,7 @@ タグ「Rust」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/scala/index.html b/vhosts/blog/public/tags/scala/index.html index 323ab41..7453220 100644 --- a/vhosts/blog/public/tags/scala/index.html +++ b/vhosts/blog/public/tags/scala/index.html @@ -15,7 +15,7 @@ タグ「Scala」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/scalamatsuri/index.html b/vhosts/blog/public/tags/scalamatsuri/index.html index 00068e8..efd9b39 100644 --- a/vhosts/blog/public/tags/scalamatsuri/index.html +++ b/vhosts/blog/public/tags/scalamatsuri/index.html @@ -15,7 +15,7 @@ タグ「ScalaMatsuri」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/trick/index.html b/vhosts/blog/public/tags/trick/index.html index b04fb50..971afdd 100644 --- a/vhosts/blog/public/tags/trick/index.html +++ b/vhosts/blog/public/tags/trick/index.html @@ -15,7 +15,7 @@ タグ「TRICK」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/vim/index.html b/vhosts/blog/public/tags/vim/index.html index 8816956..f78730c 100644 --- a/vhosts/blog/public/tags/vim/index.html +++ b/vhosts/blog/public/tags/vim/index.html @@ -15,7 +15,7 @@ タグ「Vim」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/wasm/index.html b/vhosts/blog/public/tags/wasm/index.html index bd2a884..46a39e2 100644 --- a/vhosts/blog/public/tags/wasm/index.html +++ b/vhosts/blog/public/tags/wasm/index.html @@ -15,7 +15,7 @@ タグ「WebAssembly」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/wireguard/index.html b/vhosts/blog/public/tags/wireguard/index.html index aa6e698..983cbd4 100644 --- a/vhosts/blog/public/tags/wireguard/index.html +++ b/vhosts/blog/public/tags/wireguard/index.html @@ -15,7 +15,7 @@ タグ「WireGuard」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/ya8/index.html b/vhosts/blog/public/tags/ya8/index.html index 36b544f..4c4de32 100644 --- a/vhosts/blog/public/tags/ya8/index.html +++ b/vhosts/blog/public/tags/ya8/index.html @@ -15,7 +15,7 @@ タグ「Ya8」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/yaml/index.html b/vhosts/blog/public/tags/yaml/index.html index f01d496..8f9c612 100644 --- a/vhosts/blog/public/tags/yaml/index.html +++ b/vhosts/blog/public/tags/yaml/index.html @@ -15,7 +15,7 @@ タグ「YAML」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/yapc/index.html b/vhosts/blog/public/tags/yapc/index.html index 5627cb0..1582e08 100644 --- a/vhosts/blog/public/tags/yapc/index.html +++ b/vhosts/blog/public/tags/yapc/index.html @@ -15,7 +15,7 @@ タグ「YAPC」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/public/tags/zsh/index.html b/vhosts/blog/public/tags/zsh/index.html index 48e4975..a316a48 100644 --- a/vhosts/blog/public/tags/zsh/index.html +++ b/vhosts/blog/public/tags/zsh/index.html @@ -15,7 +15,7 @@ タグ「Zsh」一覧|REPL: Rest-Eat-Program Loop - +
diff --git a/vhosts/blog/static/style.css b/vhosts/blog/static/style.css index 830a593..078c077 100644 --- a/vhosts/blog/static/style.css +++ b/vhosts/blog/static/style.css @@ -156,6 +156,22 @@ code { padding: 0; } +/* https://github.com/shikijs/shiki/issues/3 */ +.shiki code { + counter-reset: codeblock-line-number; + counter-increment: codeblock-line-number 0; +} + +.numbered .shiki code .line::before { + content: counter(codeblock-line-number); + counter-increment: codeblock-line-number; + width: 2rem; + margin-right: 1.5rem; + display: inline-block; + text-align: right; + color: #777; +} + li.revision { list-style: inside; } -- cgit v1.2.3-70-g09d2