line of code // (1) line of code # (2) line of code ;; (3) line of code <!--(4)-->
-
在C风格语言中行注释后面的标注。
-
在Ruby、Python、Perl等语言中,行注释后面的特别提示。
-
在一行注释后面的Clojure呼叫。
-
在HTML这样的XML或SGML语言中,一种在行注释后的标记或提示。
-module(hello_world).
-compile(export_all).
hello() ->
io:format("hello world~n"). % (1)
-
自定义行注释前缀后的标注。
-- (1)
A paragraph in an open block.
--
-
一个开放的块定界符。
<section>
<title>Section Title</title> <!--(1)-->
</section>
-
必须要有章节标题。
require 'sinatra' (1)
get '/hi' do (2) (3)
"Hello World!"
end
-
导入库
-
URL 映射
-
响应块
require 'sinatra' // (1)
get '/hi' do // (2)
"Hello World!" // (3)
end
-
导入库
-
URL 映射
-
HTTP响应正文
文件标题
![]() |
Asciidoctor支持基于字体的警告图标,由Font Awesome提供支持!<2> |