Skip to content
プロジェクト

asciidoctor/asciidoctor-diagram

GitHubで見る

概要

:left_right_arrow: Asciidoctor用の図表拡張機能です。AsciiToSVG、BlockDiag(BlockDiag、SeqDiag、ActDiag、NwDiag)、Ditaa、Erd、GraphViz、Mermaid、Msc、PlantUML、Shaape、SvgBob、Syntrax、UMLet、Vega、Vega-Lite、WaveDromに対応しています。

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Asciidoctor Diagram

Linux Build Status Gem Version

Asciidoctor Diagram is a set of Asciidoctor extensions that enable you to add diagrams, which you describe using plain text, to your AsciiDoc document. The extension will run the appropriate diagram processor to generate an image from the input text. The generated image is then inserted into your converted document.

Detailed usage instructions can be found on the Asciidoctor documentation site.

Asciidoctor Diagram was inspired by the AsciiDoc PlantUML filter.

Example

The Asciidoctor Diagram enables you to embed a plain text diagram as a block in your document. The example below shows an embedded Ditaa diagram block.

[ditaa]
----
                         +-------------+
                         |   Diagram   +----------------+
                         |   Renderer  |                |
                         +-------------+                |
                         | Asciidoctor |                |
                         |   Diagram   |                |
                         +-------------+                | Image
                                ^                       |
                                | Diagram source        |
 +---------------+              |                       v
 |    Asciidoc   |       +------+------+        /-------+------\
 | with embedded +------>+ Asciidoctor +------->|   Beautiful  |
 |    diagram {d}|       +-------------+  HTML  |    Output    |
 +---------------+                              \--------------/
----

After processing by Asciidoctor, the output file will show a rendered version of the diagram instead of the diagram source code.

asciidoctor diagram process

関連プロジェクトを探す

読み込み中…