parent
03c25ed475
commit
db26eb7213
2 changed files with 5 additions and 1 deletions
|
@ -58,6 +58,7 @@ x -> y -> z
|
||||||
- sketch
|
- sketch
|
||||||
- force-appendix
|
- force-appendix
|
||||||
- center
|
- center
|
||||||
|
- animated-interval
|
||||||
|
|
||||||
# Limitation
|
# Limitation
|
||||||
|
|
||||||
|
|
5
wd2
5
wd2
|
@ -24,6 +24,7 @@ cli and overwrite cli parameters with the same name.
|
||||||
- sketch
|
- sketch
|
||||||
- force-appendix
|
- force-appendix
|
||||||
- center
|
- center
|
||||||
|
- animated-interval
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -82,6 +83,7 @@ d2_sketch=$(get_attr_value "sketch")
|
||||||
d2_port=$(get_attr_value "port")
|
d2_port=$(get_attr_value "port")
|
||||||
d2_force_appendix=$(get_attr_value "force-appendix")
|
d2_force_appendix=$(get_attr_value "force-appendix")
|
||||||
d2_center=$(get_attr_value "center")
|
d2_center=$(get_attr_value "center")
|
||||||
|
d2_animated_interval=$(get_attr_value "animated-interval")
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
d2 "${d2_args[@]}" \
|
d2 "${d2_args[@]}" \
|
||||||
|
@ -92,5 +94,6 @@ d2 "${d2_args[@]}" \
|
||||||
${d2_sketch:+--sketch=${d2_sketch}} \
|
${d2_sketch:+--sketch=${d2_sketch}} \
|
||||||
${d2_port:+--port=${d2_port}} \
|
${d2_port:+--port=${d2_port}} \
|
||||||
${d2_force_appendix:+--force-appendix=${d2_force_appendix}}
|
${d2_force_appendix:+--force-appendix=${d2_force_appendix}}
|
||||||
${d2_center:+--center=${d2_center}}
|
${d2_center:+--center=${d2_center}} \
|
||||||
|
${d2_animated_interval:+--animated-interval=${d2_animated_interval}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue