rhysd / Shiba

Rich markdown live preview app with linter
774 stars 55 forks source link

Cannot use mermaid.js #19

Closed tuxtlequino closed 9 years ago

tuxtlequino commented 9 years ago

In your documentation, you mentioned that you can use mermaid.js by using mermaid code block, but in the 0.4.0 version of the mac app, this is not possible. When using the mermaid code block, the app simply uses a code block instead of using mermaid.

Am I missing something?

rhysd commented 9 years ago

Yes, please see commit history, it was added on 0.4.2. So 0.4.0 doesn't support it.

rhysd commented 9 years ago

I'm planning to release 0.5.0 after #17 is fixed, but I currently take time for that...

tuxtlequino commented 9 years ago

Is there a way to download the newer versions? Thank you very much for the prompt response

rhysd commented 9 years ago

You can use npm package. Or I can release app.asar for you.

tuxtlequino commented 9 years ago

I am in the process of installing the npm package, but If you could release the app, I would be very thankful. Again, thank you.

tuxtlequino commented 9 years ago

Is it normal to take so long to install the npm package? My computer has been running the process for over two hours now.

rhysd commented 9 years ago

electron-prebuilt package downloads built electron binary. It's size is 40~50 MB and it may takes long time. Hmm... but 2hours is a bit odd... OK, I'll make app.asar.

rhysd commented 9 years ago

I uploaded app.asar to my Dropbox account. Please download it from here.

Then, replace app.asar in your Shiba app with new one.