Code Monkey home page Code Monkey logo

redmine_mermaid_macro's People

Contributors

taikii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

redmine_mermaid_macro's Issues

Question: Help needed for formatting

When doing Gantt the bars are to small. I've tried several within init, but not successful.
How to format height of the bars?
Example (from Examples):

{{mermaid
%%{init: {'theme': 'forest'} }%%
gantt 
    dateFormat  YYYY-MM-DD
    title       Adding GANTT diagram functionality to mermaid
    excludes    weekends
    %% (`excludes` accepts specific dates in YYYY-MM-DD format, days of the week ("sunday") or "weekends", but not the word "weekdays".)

    section A section
    Completed task            :done,    des1, 2014-01-06,2014-01-08
    Active task               :active,  des2, 2014-01-09, 3d
    Future task               :         des3, after des2, 5d
    Future task2              :         des4, after des3, 5d

    section Critical tasks
    Completed task in the critical line :crit, done, 2014-01-06,24h
    Implement parser and jison          :crit, done, after des1, 2d
    Create tests for parser             :crit, active, 3d
    Future task in critical line        :crit, 5d
    Create tests for renderer           :2d
    Add to mermaid                      :1d
    Functionality added                 :milestone, 2014-01-25, 0d

    section Documentation
    Describe gantt syntax               :active, a1, after des1, 3d
    Add gantt diagram to demo page      :after a1  , 20h
    Add another diagram to demo page    :doc1, after a1  , 48h

    section Last section
    Describe gantt syntax               :after doc1, 3d
    Add gantt diagram to demo page      :20h
    Add another diagram to demo page    :48h
}}

Redmine 5.0 Support

Hi There!

I was wondering if support for Redmine 5.0 was planned?

Regards!

Support easyredmine

Hi,

is there a support for easyredmine?

I try out the plugin with easyredmine in version 12 (see https://www.easyredmine.com/).
Unfortunately, the diagrams are not generated.

Source snipped from a try in a Redmine wiki page

<script src="/assets/diagram_versions-c9bc306a1d9987a87bebf3dd1e855122d16f6be5cf688475b48b81297642f5d6.js" defer="defer"></script> <link rel="stylesheet" media="all" href="/plugin_assets/redmine_mermaid_macro/stylesheets/redmine_mermaid_macro.css?1675414321" />
<div class="wiki wiki-page">
  <h2>Mermaid Macro Plugin Test</h2><pre><code class="language-plaintext">{{mermaid()
graph LR;
  A[start]
  B[end]
  A --&amp;gt; B
}}</code></pre>
</div>
<div id="diagram-modal" style="display: none">
</div> <script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script><script>
//<![CDATA[
mermaid.initialize({startOnLoad:true});var mermaidInitialized = 1;
//]]>
</script> 

Thanks,
Guido

Plugin not working in preview

Mermaid diagram is not drawn in preview tab while editing.
However, saved page rendering works correctly.

  • Redmine 4.2.8.stable
  • Mermaid.js 9.2.2

fontawesome で画像を表示できません

初めまして。

こちらのプラグイン 1.0.5 をやや古いRedmine 3.4.6 で利用させていただいております。
プラグイン作成ありがとうございます!

こちらのプラグインは通常動作は特に不具合なく満足なのですが
どうにもfontawesome の画像を表示させることには失敗しておりまして少し困っております。

コードの例:

{{mermaid
mindmap
(test)
::icon(fa fa-bullseye)
}}

プラグインの設定URLが関係あるのかと、以下で試しましたが、特に変化はありませんでした。

https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js
https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.js
https://unpkg.com/mermaid/dist/mermaid.min.js

以上になります。

よろしくお願いいたします。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.