line of code // (1)
line of code # (2)
line of code ;; (3)
line of code <!--(4)-->
  1. 在C风格语言中行注释后面的标注。

  2. 在Ruby、Python、Perl等语言中,行注释后面的特别提示。

  3. 在一行注释后面的Clojure呼叫。

  4. 在HTML这样的XML或SGML语言中,一种在行注释后的标记或提示。

-module(hello_world).
-compile(export_all).

hello() ->
    io:format("hello world~n"). % (1)
  1. 自定义行注释前缀后的标注。

-- (1)
A paragraph in an open block.
--
  1. 一个开放的块定界符。

<section>
  <title>Section Title</title> <!--(1)-->
</section>
  1. 必须要有章节标题。

require 'sinatra' (1)

get '/hi' do (2) (3)
  "Hello World!"
end
  1. 导入库

  2. URL 映射

  3. 响应块

require 'sinatra' // (1)

get '/hi' do // (2)
  "Hello World!" // (3)
end
  1. 导入库

  2. URL 映射

  3. HTTP响应正文

文件标题

Note Asciidoctor支持基于字体的警告图标,由Font Awesome提供支持!<2>