LoginSignup
4
2

More than 5 years have passed since last update.

Qiitaでコードを引用する方法

Posted at

始めるぞー!と意気込んだ結果、かなり探したので恥ずかしいけどここから書いてみる。
バッククオート(`)3つで囲む。
バッククオートは「Shift + @」で出てきます。

「 ```言語:ファイル名」で始めると・・・以下のような形で幸せになれます。

test.js
console.log("hello");
var hoge = 3
test.c
int main(void){
 printf("hello world");
 return 0;
}
4
2
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
4
2