Sha256: ddaf4844d7b48a1aca8156f645a78c9b7fddfddb7490f75ed247f5a92462897a

Contents?: true

Size: 584 Bytes

Versions: 4

Compression:

Stored size: 584 Bytes

Contents

The following graph shows two boxes, connected:

```ditaa
+-----+   +-----+
|  A  |-->|  B  |
+-----+   +-----+
```

The `scale` attribute can be set so that the generated image is scaled by this factor. This requires the use of [fenced code attributes](https://pandoc.org/MANUAL.html#extension-fenced_code_attributes), where the class is written as `.ditaa`.

This is the same image as before, but scaled by factor `1.5`:

```{.ditaa scale=1.5}
+-----+   +-----+
|  A  |-->|  B  |
+-----+   +-----+
```

Other blocks are left untouched:

```ruby
puts "olleH".reverse
```

That's it!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
revealing-1.8.0 tools/pandoc-ditaa-inline/examples/example.markdown
revealing-1.7.1 tools/pandoc-ditaa-inline/examples/example.markdown
revealing-1.7.0 tools/pandoc-ditaa-inline/examples/example.markdown
revealing-1.6.0 tools/pandoc-ditaa-inline/examples/example.markdown