# markdown 記法 書き方一覧
Markdown(マークダウン)はプログラミング業界では知らないものおらずほど有名な文章作成言語です。html のタグと変換できることでよくメモやドキュメント記事などに使われています。
一般的の使い方はたくさん紹介されていますが、まとめた記事が少なかったので、一覧表作成しました。
# 見出し h1~h6
# h1
## h2
### h3
#### h4
# 太字 strong
太~い文字
**太~い文字**
# 改行
半角スペース二つ
# リスト ul li ol li
li 見たいのリスト
- リスト
番号付きリスト
- リスト 1
- リスト 2
<!-- li見たいのリスト -->
- リスト
<!-- 番号付きリスト -->
1. リスト 1
1. リスト 2
# チェックボックス checkbox
- [ ] item
- [x] checked item
- [ ] item
- [x] checked item
# 引用 pre
text
> text
# リンク ur li
Hapicode へリンク (opens new window)
[Hapicode へリンク](https://hapicode.com)
# 画像 img
![]()

中央寄せ
Markdown 記法の画像位置中央寄せはデフォルト機能にありません。
中央寄せする方法
- html の
<center>タグで囲って中央寄せ - css の style で
text-align:centerormargin: 0 auto;など
# 水平線 hr
---
# 取り消し線 del
取り消したい文字
~~取り消したい文字~~
# コード code
code表示
<!-- <code> -->
`code`表示
# テーブル table
- 左寄せ
---:--- - 右寄せ
---: - 中央寄せ
:---:
IT 年収ランキング
| NO | 企業 | 年収 |
|---|---|---|
| 1 位 | 野村総合研究所 | 1151 万円 |
| 2 位 | 電通国際情報サービス | 973 万円 |
| 3 位 | オービック | 851 万円 |
| 4 位 | 日立製作所 | 850 万円 |
| 5 位 | 日鉄ソリューションズ | 835 万円 |
| 6 位 | NTT データ | 812 万円 |
| 7 位 | 大塚商会 | 806 万円 |
| 8 位 | NEC | 805 万円 |
IT 年収ランキング
| NO | 企業 | 年収 |
| :--: | -------------------- | --------: |
| 1 位 | 野村総合研究所 | 1151 万円 |
| 2 位 | 電通国際情報サービス | 973 万円 |
| 3 位 | オービック | 851 万円 |
| 4 位 | 日立製作所 | 850 万円 |
| 5 位 | 日鉄ソリューションズ | 835 万円 |
| 6 位 | NTT データ | 812 万円 |
| 7 位 | 大塚商会 | 806 万円 |
| 8 位 | NEC | 805 万円 |
# 絵文字 Emoji
🚀 :rocket:
🔖 :bookmark:
🐛 :bug:
🔥 :fire:
🎉 :tada:
⚡️ :zap:
🚧 :construction:
📦 :package:
🚚 :truck:
💄 :lipstick:
🙈 :see_no_evil:
| コミットタイプ | 絵文字 |
|---|---|
| Initial commit 🎉 | :tada: |
| Version tag 🔖 | :bookmark: |
| New feature ✨ | :sparkles: |
| Bugfix 🐛 | :bug: |
| Metadata 📇 | :card_index: |
| Documentation 📚 | :books: |
| Documenting source code 💡 | :bulb: |
| Performance 🐎 | :racehorse: |
| Cosmetic 💄 | :lipstick: |
| Tests 🚨 | :rotating_light: |
| Adding a test ✅ | :white_check_mark: |
| General update ⚡️ | :zap: |
| Improve format/structure 🎨 | :art: |
| Refactor code 🔨 | :hammer: |
| Removing code/files 🔥 | :fire: |
| Continuous Integration 💚 | :green_heart: |
| Security 🔒 | :lock: |
| Upgrading dependencies ⬆️ | :arrow_up: |
| Downgrading dependencies ⬇️ | :arrow_down: |
| Lint 👕 | :shirt: |
| Text 📝 | :pencil: |
| Critical hotfix 🚑 | :ambulance: |
| Deploying stuff 🚀 | :rocket: |
| Fixing on MacOS 🍎 | :apple: |
| Fixing on Linux 🐧 | :penguin: |
| Fixing on Windows 🏁 | :checkered_flag: |
| Work in progress 🚧 | :construction: |
| Adding CI build system 👷 | :construction_worker: |
| Analytics or tracking code 📈 | :chart_with_upwards_trend: |
| Removing a dependency ➖ | :heavy_minus_sign: |
| Adding a dependency ➕ | :heavy_plus_sign: |
| Docker 🐳 | :whale: |
| Configuration files 🔧 | :wrench: |
| Package.json in JS 📦 | :package: |
| Merging branches 🔀 | :twisted_rightwards_arrows: |
| Bad code / need improv. 💩 | :hankey: |
| Reverting changes ⏪ | :rewind: |
| Breaking changes 💥 | :boom: |
| Code review changes 👌 | :ok_hand: |
| Accessibility ♿️ | :wheelchair: |
| Move/rename repository 🚚 | :truck: |
# 言語ハイライト色でソースきれいに表現
js
consol.log(123);
json
{
"id": 1,
"name": "master"
}
# サポート言語
| 言語 | markdown 短縮 |
|---|---|
| .properties | properties |
| 6502 Assembly | asm6502 |
| ABAP | abap |
| ActionScript | actionscript |
| Ada | ada |
| ANTLR4 | antlr4, g4 |
| Apache Configuration | apacheconf |
| APL | apl |
| AppleScript | applescript |
| AQL | aql |
| Arduino | arduino |
| ARFF | arff |
| AsciiDoc | asciidoc, adoc |
| ASP.NET (C#) | aspnet |
| Augmented Backus–Naur form | abnf |
| AutoHotkey | autohotkey |
| AutoIt | autoit |
| Backus–Naur form | bnf, rbnf |
| Bash | bash, shell |
| BASIC | basic |
| Batch | batch |
| BBcode | bbcode |
| Bison | bison |
| Brainfuck | brainfuck |
| BrightScript | brightscript |
| Bro | bro |
| C | c |
| C# | csharp, cs, dotnet |
| C++ | cpp |
| CIL | cil |
| C-like | clike |
| Clojure | clojure |
| CMake | cmake |
| CoffeeScript | coffeescript, coffee |
| Concurnas | concurnas, conc |
| Content-Security-Policy | csp |
| Crystal | crystal |
| CSS | css |
| CSS Extras | css-extras |
| D | d |
| Dart | dart |
| Diff | diff |
| Django/Jinja2 | django, jinja2 |
| DNS zone file | dns-zone-file, dns-zone |
| Docker | docker, dockerfile |
| Eiffel | eiffel |
| EJS | ejs |
| Elixir | elixir |
| Elm | elm |
| Embedded Lua templating | etlua |
| ERB | erb |
| Erlang | erlang |
| Extended Backus–Naur form | ebnf |
| F# | fsharp |
| Factor | factor |
| Firestore security rules | firestore-security-rules |
| Flow | flow |
| Fortran | fortran |
| FreeMarker Template Language | ftl |
| GameMaker Language | gml, gamemakerlanguage |
| G-code | gcode |
| GDScript | gdscript |
| GEDCOM | gedcom |
| Gherkin | gherkin |
| Git | git |
| GLSL | glsl |
| Go | go |
| GraphQL | graphql |
| Groovy | groovy |
| Haml | haml |
| Handlebars | handlebars |
| Haskell | haskell, hs |
| Haxe | haxe |
| HCL | hcl |
| HTTP | http |
| HTTP Public-Key-Pins | hpkp |
| HTTP Strict-Transport-Security | hsts |
| IchigoJam | ichigojam |
| Icon | icon |
| Inform 7 | inform7 |
| Ini | ini |
| Io | io |
| J | j |
| Java | java |
| Java stack trace | javastacktrace |
| JavaDoc | javadoc |
| JavaDoc-like | javadoclike |
| JavaScript | javascript, js |
| Jolie | jolie |
| JQ | jq |
| JS Extras | js-extras |
| JS Templates | js-templates |
| JSDoc | jsdoc |
| JSON | json |
| JSON5 | json5 |
| JSONP | jsonp |
| Julia | julia |
| Keyman | keyman |
| Kotlin | kotlin |
| LaTeX | latex, tex, context |
| Latte | latte |
| Less | less |
| LilyPond | lilypond, ly |
| Liquid | liquid |
| Lisp | lisp, emacs, elisp, emacs-lisp |
| LiveScript | livescript |
| LOLCODE | lolcode |
| Lua | lua |
| Makefile | makefile |
| Markdown | markdown, md |
| Markup | markup, html, xml, svg, mathml |
| Markup templating | markup-templating |
| MATLAB | matlab |
| MEL | mel |
| Mizar | mizar |
| Monkey | monkey |
| MoonScript | moonscript, moon |
| N1QL | n1ql |
| N4JS | n4js, n4jsd |
| Nand To Tetris HDL | nand2tetris-hdl |
| NASM | nasm |
| NEON | neon |
| nginx | nginx |
| Nim | nim |
| Nix | nix |
| NSIS | nsis |
| Objective-C | objectivec |
| OCaml | ocaml |
| OpenCL | opencl |
| Oz | oz |
| PARI/GP | parigp |
| Parser | parser |
| Pascal | pascal, objectpascal |
| Pascaligo | pascaligo |
| PC-Axis | pcaxis, px |
| Perl | perl |
| PHP | php |
| PHP Extras | php-extras |
| PHPDoc | phpdoc |
| PL/SQL | plsql |
| PowerShell | powershell |
| Processing | processing |
| Prolog | prolog |
| Protocol Buffers | protobuf |
| Pug | pug |
| Puppet | puppet |
| Pure | pure |
| Python | python, py |
| Q (kdb+ database) | q |
| QML | qml |
| Qore | qore |
| R | r |
| React JSX | jsx |
| React TSX | tsx |
| Reason | reason |
| Regex | regex |
| Ren'py | renpy |
| reST (reStructuredText) | rest |
| Rip | rip |
| Roboconf | roboconf |
| Robot Framework | robotframework, robot |
| Ruby | ruby, rb |
| Rust | rust |
| SAS | sas |
| Sass (Sass) | sass |
| Sass (Scss) | scss |
| Scala | scala |
| Scheme | scheme |
| Shell session | shell-session |
| Smalltalk | smalltalk |
| Smarty | smarty |
| Solidity (Ethereum) | solidity |
| Solution file | solution-file, sln |
| Soy (Closure Template) | soy |
| SPARQL | sparql, rq |
| Splunk SPL | splunk-spl |
| SQF: Status Quo Function (Arma 3) | sqf |
| SQL | sql |
| Stylus | stylus |
| Swift | swift |
| T4 templating | t4-templating |
| T4 Text Templates (C#) | t4-cs, t4 |
| T4 Text Templates (VB) | t4-vb |
| TAP | tap |
| Tcl | tcl |
| Template Toolkit 2 | tt2 |
| Textile | textile |
| TOML | toml |
| Turtle | turtle, trig |
| Twig | twig |
| TypeScript | typescript, ts |
| Vala | vala |
| VB.Net | vbnet |
| Velocity | velocity |
| Verilog | verilog |
| VHDL | vhdl |
| vim | vim |
| Visual Basic | visual-basic, vb |
| WebAssembly | wasm |
| Wiki markup | wiki |
| Xeora | xeora, xeoracube |
| Xojo (REALbasic) | xojo |
| XQuery | xquery |
| YAML | yaml, yml |
| Zig | zig |
2020-03-09