Skip to content

Commit

Permalink
Pass mmdc runtime config via kramdown
Browse files Browse the repository at this point in the history
We were not doing this correctly, and the kramdown-rfc maintainer told
me how we can do this with IAL arguments beneath the Mermaid code block
in the referenced comment below.

cabo/kramdown-rfc#217 (comment)

Instructions from mermaid-cli are below.

https://github.com/mermaid-js/mermaid-cli/blob/f0a90b86392d0fc047db78ad169db015dc990e0d/docs/linux-sandbox-issue.md#L3
  • Loading branch information
aj-stein-nist committed Dec 7, 2023
1 parent d73e29e commit fcbcad0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion draft-ietf-scitt-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -1417,4 +1417,5 @@ Registry {{IANA.params}}, following the template in {{RFC3553}}:
~~~ mermaid
sequenceDiagram
participant Issuer
~~~
~~~
{: artwork-svg-options="-p puppeteer-config.json"}
6 changes: 6 additions & 0 deletions puppeteer-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"executablePath": "/usr/bin/chromium-browser",
"args": [
"--no-sandbox"
]
}

0 comments on commit fcbcad0

Please sign in to comment.