File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ set to the absolute path of `java.exe` e.g.
36
36
Example usage:
37
37
38
38
~~~~~~~~~~~~~~~~
39
- ```{.plantuml caption="This is an image, created by **PlantUML**."}
39
+ ```{.plantuml caption="This is an image, created by **PlantUML**." width=50% }
40
40
@startuml
41
41
Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response
42
42
Alice -> Bob: Another authentication Request Alice <-- Bob: another Response
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ function CodeBlock(block)
361
361
local title = # caption > 0 and " fig:" or " "
362
362
363
363
-- Transfer identifier and other relevant attributes from the code
364
- -- block to the image. Currently, only `name` is kept as an attribute.
364
+ -- block to the image. The `name` is kept as an attribute.
365
365
-- This allows a figure block starting with:
366
366
--
367
367
-- ```{#fig:example .plantuml caption="Image created by **PlantUML**."}
@@ -370,7 +370,9 @@ function CodeBlock(block)
370
370
-- with `pandoc-crossref`.
371
371
local img_attr = {
372
372
id = block .identifier ,
373
- name = block .attributes .name
373
+ name = block .attributes .name ,
374
+ width = block .attributes .width ,
375
+ height = block .attributes .height
374
376
}
375
377
376
378
-- Create a new image for the document's structure. Attach the user's
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ set to the absolute path of `java.exe` e.g.
35
35
36
36
Example usage:
37
37
38
- ``` {.plantuml caption="This is an image, created by **PlantUML**."}
38
+ ``` {.plantuml caption="This is an image, created by **PlantUML**." width=50% }
39
39
@startuml
40
40
Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response
41
41
Alice -> Bob: Another authentication Request Alice <-- Bob: another Response
You can’t perform that action at this time.
0 commit comments