The mdbook-bitfield plugin converts TOML bitfield definitions into SVG diagrams and associated markdown blocks.
There are two ways to generate a bitfield diagram from a TOML specification:
- An inline TOML bitfield definition can be specified using
```bitfieldto start a code block. - A bitfield can be rendered from a definition in an external file via the syntax
{{#bitfield filename.toml#specific-register-definition}} - To emit a heading before an external bitfield, add
h2throughh6before the filename, such as{{#bitfield h3 filename.toml#specific-register-definition}}.
The mdbook-csvtable plugin renders a relative link to a CSV file as a markdown table.
A link takes the format {{#csvtable [filename.csv]}}