日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Asciidoc语法大全

發(fā)布時(shí)間:2024/1/1 编程问答 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Asciidoc语法大全 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Asciidoc是一種基于富文本的標(biāo)記語言。 使用Asciidoc編寫的文檔可以輕松轉(zhuǎn)換為* HTML , PDF , Docbook , Mobi , Epub 和 Odt *格式。

基本格式

*加粗* _斜體_ [underline]#下劃線# 上標(biāo)^p^ 下標(biāo)~n~

標(biāo)題級別

  • 有6個(gè)級別標(biāo)題為HTML。 第一個(gè)是文檔標(biāo)題。
= 級別 1內(nèi)容 ...== 級別 2內(nèi)容 ...=== 級別 3內(nèi)容 ...==== 級別 4內(nèi)容 ...===== 級別 5內(nèi)容 ...====== 級別6內(nèi)容 ...

列表

. 有序列表1 . 有序列表2'''* 無序列表1 * 無序列表2

代碼

[source,go] ---- fmt.Println("hello adoc") ----

鏈接

http://www.baidu.com[百度官網(wǎng)]

圖片

image::line.png[]

表格

.表格1 [options="header,footer"] |======================= |列 1 |列 2 |列 3 |1 |Item 1 |a |2 |Item 2 |b |3 |Item 3 |c |6 |Three items|d |=======================.表格2 |==== |日期 |持續(xù)時(shí)間 |平均時(shí)間 |備注 |22-Aug-08 .2+^.^|10:24 | 157 |備注 |22-Aug-08 | 152 |備注 |24-Aug-08 3+^|none |====

目錄

:stem: latexmath :icons: font :source-highlighter: coderay :sectnums: :sectlinks: :sectnumlevels: 4 :toc: left :toc-title: 目錄 :toclevels: 3


塊(blocks)

邊欄(sidebar)

.標(biāo)題 **** 內(nèi)容 ****

實(shí)例(Example)

.標(biāo)題 ==== 例如: ====

通過(Passthrough)

++++ 通過。。。 ++++

引用(quote)

[quote,PDD] ____ 寫文章,它不香嗎? ____

警告(admonitions)

基本(Note)

[NOTE] ==== 基本信息 ====

提示(Tip)

[TIP] ==== 提示信息 ====

重要(Important)

[IMPORTANT] ==== 重要信息 ====

注意(Caution)

[CAUTION] ==== 注意信息 ====

警告(Warning)

[WARNING] ==== 警告信息 ====

文檔助手(Document Helpers)

書頭(Book Header)

= 書名 作者名 :doctype: 類型 :encoding: utf-8 :lang: 中文 :toc: left :numbered: 編號

文章頭(Article Header)

= 文章標(biāo)題 作者姓名 :doctype: 文章 :encoding: utf-8 :lang: 中文 :toc: left :numbered:

出版社(colophon)

[colophon] == 出版社清華大學(xué)出版社.

前言(colophon)

[preface] == 前言可選的前言.

獻(xiàn)詞(Dedication)

[dedication] == 獻(xiàn)詞可選擇的獻(xiàn)詞。

附錄(Appendix)

[appendix] == 附錄1[appendix] == 附錄2一個(gè)或多個(gè)附錄

術(shù)語(Glossary)

[glossary] 斜杠青年::形容一個(gè)人擁有很多身份。我太難了::形容一個(gè)人很難。

參考文獻(xiàn)(bibliography)

[bibliography] .Books - [[[taoup]]] Eric Steven Raymond. 'The Art of UnixProgramming'. Addison-Wesley. ISBN 0-13-142901-9. - [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.ISBN 1-56592-580-7.

索引

[index] == 索引索引通常完全為空,其內(nèi)容為由DocBook工具鏈自動生成。

擴(kuò)展(Extension)

數(shù)學(xué)公式

[math,file="tex-formula.png"] -- \begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xyp \end{align} --

Plantuml

.hello [plantuml,hello.png] -- Bob->Alice : hello --

ditaa

.UML http://plantuml.sourceforge.net/ditaa.html [uml,file="ditaa-diagram.png"] -- @startditaa +--------+ +-------+ +-------+ | +---+ ditaa +--> | | | Text | +-------+ |diagram| |Document| |!magic!| | | | ozvdkddzhkzd| | | | | +---+----+ +-------+ +-------+: ^| Lots of work |+-------------------------+ @endditaa --

文章結(jié)構(gòu)

[tree,file="文章結(jié)構(gòu).png"] -- #時(shí)間管理 ##時(shí)間觀念 ###什么是守時(shí)? --

圖表

餅圖

[chart,pie,file="secim-2014-pie.png",opt="title=餅圖標(biāo)題"] -- AKP, 45.6, orange CHP, 27.8,red MHP, 15.2 BDP, 4.2 SP, 2 --

面積圖

[chart,area,file="area-chart.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5//May 1, 20 3, 15 6, 13 9, 12 12, 14 --

條形圖

[chart,bar,file="bar.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5//May 1, 20 3, 15 6, 13 9, 12 12, 14 --

折線圖

[chart,line,file="line.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5//May 1, 20 3, 15 6, 13 9, 12 12, 14 --

散點(diǎn)圖

[chart,scatter,file="scatter.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5//May 1, 20 3, 15 6, 13 9, 12 12, 14 --

氣泡圖

[chart,bubble,file="bubble.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5 --

堆積面積圖

[chart,"stacked-area",file="stacked-area.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5 --

堆積條形圖

[chart,"stacked-bar",file="stacked-bar.png"] -- //April 1, 4 3, 10 6, 15 9, 8 12, 5//May 1, 20 3, 15 6, 13 9, 12 12, 14 --

總結(jié)

以上是生活随笔為你收集整理的Asciidoc语法大全的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。