Skip to content

Commit 0ae450f

Browse files
authored
Added info for new caption option
1 parent b466c55 commit 0ae450f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Options
3636

3737
You have a couple of formatting options via attributes of the fenced code block to control the rendering
3838

39+
- Pandoc caption and automatic image numbering - Use `{.mermaid caption="Caption Text Here"}`
3940
- Image Format - Use `{.mermaid format=svg}` Default is png
4041
- Width - Use `{.mermaid width=400}` default with is 500
4142
- Theme - Use `{.mermaid theme=forest}` default is 'default'. Corresponds to `--theme` flag of mermaid.cli
@@ -56,4 +57,4 @@ JSON and CSS configuration
5657

5758
Mermaid cli allows you to specify additional options in a json configuration file and a css file. `mermaid-filter`
5859
will look in the current directory for `.mermaid-config.json` and `.mermaid.css` and if found, pass them in to
59-
mermaid cli.
60+
mermaid cli.

0 commit comments

Comments
 (0)