Repository navigation
コードブロックの行番号を出さない (#462) - #463
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #462
変更内容
.vitepress/config.mjsのmarkdown.lineNumbersをfalseにして、コードブロックの行番号を出さないようにする。技術ブログ側(_config.ymlのhighlight.line_number: false)と同じ形になる。判断した点
```ts {3,5})も0件で、行番号と対で効く記法を使っていない.line-numbers-wrapperのborder-right)。技術ブログ側はコードブロックに枠線を持たせず輪郭は地の差だけが作る方針なので、そこと逆を向いていた```ts:line-numbersでブロック単位に戻せる確認したこと
npm run lint/npm run buildとも成功docs/を grep して、line-numbers-mode/line-numbers-wrapperを持つ HTML が0件になったことを確認(コードブロックを持つ HTML は24ファイル)🤖 Generated with Claude Code