docs-trial

Markdown bonsai documentation generator

View the Project on GitHub bonsai-rx/docs-trial

Workflow Docs

Examples for a Bonsai workflow documentation system.

Direct Download

The simplest case. Direct download of a bonsai workflow with an SVG preview:

segmentation

Direct Copy

Copy to clipboard on click:

Workflow
segmentation

This basically styles the workflow as a table with a button on the top-right corner that copies the workflow contents directly to the clipboard:

<table>
    <thead>
      <tr>
        <th>Workflow</th>
        <th style="text-align: center">
          <button class="btn" onclick="copyUrlToClipboard('assets\\workflows\\segmentation.bonsai')">Copy</button>
        </th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td colspan="2">
          <img src="assets\workflows\segmentation.svg" alt="segmentation" />
        </td>
      </tr>
    </tbody>
  </table>