General Usage

Add to your project

gem 'mermaid-publisher', github: 'remitano/mermaid-publisher'

To preview a mermaid file

  bundle exec mermaid-preview file.mmd

To produce pdf from .mmd files and upload to gdrive

  bundle exec mermaid-to-gdrive-pdf folder/ GDRIVE_FOLDER_ID