本文へスキップ

行番号

テキストに行番号を追加または削除します。コードスニペット、ドキュメント、テキストファイル分析に便利。カスタム区切り文字とパディングをサポート。

使用例

  • コードスニペットと例
  • ドキュメントとチュートリアル
  • 番号付きリストと指示
  • ログファイルとデバッグ
  • テキストファイル分析

区切り文字の例

Dot (.):
1. First line
2. Second line
3. Third line
Parenthesis ():
1) First line
2) Second line
3) Third line
Pipe (|):
1| First line
2| Second line
3| Third line

主な機能

➕ 行番号を追加

  • カスタム開始番号
  • さまざまな区切り文字スタイル
  • オプションのパディング配置

➖ 行番号を削除

  • 自動検出
  • クリーンな削除
  • 元のテキストを保持

🎨 カスタマイズオプション

  • 区切り文字: . : | - ) >
  • 開始番号
  • ゼロパディング配置

💡 複数の用途

  • コードドキュメント
  • チュートリアル作成
  • ログファイル分析
  • テキストファイル処理

使用例

基本的な行番号付け

入力:

function hello() {
console.log("Hello World");
}

出力 (. 区切り文字):

1. function hello() {
2. console.log("Hello World");
3. }

カスタム開始番号

10から開始:

10. function hello() {
11. console.log("Hello World");
12. }

さまざまな区切り文字

: 区切り文字:

1: function hello() {
2: console.log("Hello World");
3: }

) 区切り文字:

1) function hello() {
2) console.log("Hello World");
3) }

関連ツール