mermaid-js / mermaid-cli

Command line tool for the Mermaid library
MIT License
2.48k stars 234 forks source link

Support the `.markdown` file extension for markdown files #483

Closed aloisklink closed 1 year ago

aloisklink commented 1 year ago

:bookmark_tabs: Summary

Support using markdown files as an input/output that have a .markdown file extension, instead of just .md.

Resolves #471

:straight_ruler: Design Decisions

I've basically just added .markdown everywhere I could find .md.

I haven't bothered adding it to the mmdc --help text, since I feel like most people use .md, not .markdown, and I don't want to make the --help text more complicated.

:clipboard: Tasks

Make sure you

MindaugasLaganeckas commented 1 year ago

You rock! 😄