【Github】Github ~ AsciiDoc ~

■ はじめに

https://dk521123.hatenablog.com/entry/2020/04/10/173658

で Markdownに関しての記事を書いたが、
今回は、AsciiDoc(アスキードック)っていうのを聞いたのでメモってみた

【1】AsciiDoc

* Markdownなどのような軽量マークアップ言語の一つ
* Github の README (README.adoc) でも使える

【2】比較

HTML AsciiDoc Markdown
表現力
可読性

1)導入する利点

* 上記の表にもあるようにMarkdownと比較すると
 「表現力が高い」点があげられる
 => 以下のサイトがまとまっていて一読するといいかも

https://ryuta46.com/359

【3】書き方

* 今回載せたもの以外は、以下のチートシートで補って
 必要があれば追記していく

http://www.venus.dti.ne.jp/~iisaka/DocSys/cheatsheet-ja/asciidoc-869/asciidoc-869.html

1)セクション

= Document Title (Level 0)

== Level 1 Section Title

=== Level 2 Section Title

==== Level 3 Section Title

===== Level 4 Section Title

2)リスト(番号なし)

* level 1
** level 2
*** level 3
**** level 4
***** level 5

3)リスト(番号あり)

. Step 1
. Step 2
.. Step 2-1
.. Step 2-2
. Step 3

4)コード

----
title: hello
description: hello to the world
----

5)リンク

http://google.com[グーグル検索]

参考文献

https://qiita.com/xmeta/items/de667a8b8a0f982e123a

関連記事

Github ~ README.md の書き方 ~
https://dk521123.hatenablog.com/entry/2020/04/10/173658
Github ~ 入門編 ~
https://dk521123.hatenablog.com/entry/2019/07/18/234652
Markdownモードについて
https://dk521123.hatenablog.com/entry/2019/08/01/000000