0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

技術記事のコマンド例の行頭の $ がうざいので、chrome拡張機能作って対策した

Posted at

技術ブログでは次のようなサンプルがよく登場します。

$ echo "Hello, world"

そのままワンクリックコピーしてターミナルへ貼ると

kohei@Macmini ~ % $ echo "Hello, world"
zsh: command not found: $

は。だる。

対応策

コードブロックの$記号を削除するchrome拡張機能作った

まとめ

執筆者はコマンド例の頭に$をつけるのを早急にやめて欲しい

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?