sed '/^\/\*/,/\*\//!d' source | sed '/^\/\*/d' | sed '/^\*\//d' | cat > tmp_file && mermaid -p tmp_file > /dev/null
Last active
January 12, 2017 08:34
-
-
Save emig/a3c6df402ebee649a5d1aba4e143626d to your computer and use it in GitHub Desktop.
extract mermaid description code from javascript comments and generate png
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment