越川 直人
Ship It!
Updated by ppworks 2019-01-25 11:35:05 +0900

今回は、お試し実装しているβ機能についてです。

esa では、Plant UMLでのUML記法の他にもmermaidにもひっそりと対応しております。現在は、Version: 8.0.0に対応しております 🐝 mermaidは当初ガントチャートが描けることがユニークな点でしたが、最近ではPlantUMLでもガントチャートが描けるようなので、見た目や記法の好みで好きな方を選択するのがヨサソウです。

esa で記事を書く際の表現の幅が広がりますので、ぜひお試し下さい :esa2:

※ mermaid記法のサポート、サポートされる mermaid のバージョンは今後変更される可能性があります。

ガントチャートの例

```mermaid
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d
```
gantt title A Gantt Diagram dateFormat YYYY-MM-DD section Section A task :a1, 2014-01-01, 30d Another task :after a1 , 20d section Another Task in sec :2014-01-12 , 12d another task : 24d
```mermaid
gantt
       dateFormat  YYYY-MM-DD
       title Adding GANTT diagram functionality to mermaid

       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

       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
```
gantt dateFormat YYYY-MM-DD title Adding GANTT diagram functionality to mermaid 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 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

ガントチャートの詳しい記法はこちらをご確認ください。

フローチャートの例

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```
graph TD; A-->B; A-->C; B-->D; C-->D;

フローチャートの詳しい記法はこちらをご確認ください。

シーケンス図の例

```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
```
sequenceDiagram Alice->>John: Hello John, how are you? John-->>Alice: Great!

シーケンス図の詳しい記法はこちらをご確認ください。

所感

先日、移転祝いに鳩時計を頂きました 🐦 ありがとうございます 🎉

graph TD; 時報-->|長針が0分を指す| 時刻の数だけ鳴く; 時報-->|長針が30分を指す| 1度だけ鳴く;

Enjoy "(\( ⁰⊖⁰)/)"
https://esa.io

今回は、お試し実装しているβ機能についてです。

esa では、[Plant UMLでのUML記法](https://docs.esa.io/posts/196)の他にも[mermaid](https://mermaidjs.github.io/)にもひっそりと対応しております。現在は、`Version: 8.0.0`に対応しております :bee: `mermaid`は当初ガントチャートが描けることがユニークな点でしたが、最近ではPlantUMLでもガントチャートが描けるようなので、見た目や記法の好みで好きな方を選択するのがヨサソウです。

esa で記事を書く際の表現の幅が広がりますので、ぜひお試し下さい :esa2: 

※ mermaid記法のサポート、サポートされる mermaid のバージョンは今後変更される可能性があります。

## ガントチャートの例

    ```mermaid
    gantt
        title A Gantt Diagram
        dateFormat  YYYY-MM-DD
        section Section
        A task           :a1, 2014-01-01, 30d
        Another task     :after a1  , 20d
        section Another
        Task in sec      :2014-01-12  , 12d
        another task      : 24d
    ```

```mermaid
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d
```

    ```mermaid
    gantt
           dateFormat  YYYY-MM-DD
           title Adding GANTT diagram functionality to mermaid
    
           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
    
           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
    ```


```mermaid
gantt
       dateFormat  YYYY-MM-DD
       title Adding GANTT diagram functionality to mermaid

       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

       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
```

ガントチャートの詳しい記法は[こちら](https://mermaidjs.github.io/gantt.html)をご確認ください。


## フローチャートの例

    ```mermaid
    graph TD;
        A-->B;
        A-->C;
        B-->D;
        C-->D;
    ```

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```

フローチャートの詳しい記法は[こちら](https://mermaidjs.github.io/flowchart.html)をご確認ください。

## シーケンス図の例

    ```mermaid
    sequenceDiagram
        Alice->>John: Hello John, how are you?
        John-->>Alice: Great!
    ```

```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
```

シーケンス図の詳しい記法は[こちら](https://mermaidjs.github.io/sequenceDiagram.html)をご確認ください。


# 所感

<video controls width="480" alt="IMG_5830.m4v (3.1 MB)" src="https://esa-storage-tokyo.s3-ap-northeast-1.amazonaws.com/uploads/production/attachments/105/2019/01/24/11/cc3f727f-bdbe-4a8a-af5d-dcbd6601b695.m4v"></video>

先日、移転祝いに鳩時計を頂きました :bird: ありがとうございます :tada: 

```mermaid
graph TD;
    時報-->|長針が0分を指す| 時刻の数だけ鳴く;
    時報-->|長針が30分を指す| 1度だけ鳴く;
```

---
Enjoy "(\\( ⁰⊖⁰)/)"
https://esa.io

今回は、お試し実装しているβ機能についてです。

esa では、Plant UMLでのUML記法の他にもmermaidにもひっそりと対応しております。現在は、Version: 8.0.0に対応しております 🐝 mermaidは当初ガントチャートが描けることがユニークな点でしたが、最近ではPlantUMLでもガントチャートが描けるようなので、見た目や記法の好みで好きな方を選択するのがヨサソウです。

esa で記事を書く際の表現の幅が広がりますので、ぜひお試し下さい :esa2:

※ mermaid記法のサポート、サポートされる mermaid のバージョンは今後変更される可能性があります。

ガントチャートの例

```mermaid
gantt
    title A Gantt Diagram
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    another task      : 24d
```
gantt title A Gantt Diagram dateFormat YYYY-MM-DD section Section A task :a1, 2014-01-01, 30d Another task :after a1 , 20d section Another Task in sec :2014-01-12 , 12d another task : 24d
```mermaid
gantt
       dateFormat  YYYY-MM-DD
       title Adding GANTT diagram functionality to mermaid

       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

       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
```
gantt dateFormat YYYY-MM-DD title Adding GANTT diagram functionality to mermaid 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 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

ガントチャートの詳しい記法はこちらをご確認ください。

フローチャートの例

```mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
```
graph TD; A-->B; A-->C; B-->D; C-->D;

フローチャートの詳しい記法はこちらをご確認ください。

シーケンス図の例

```mermaid
sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!
```
sequenceDiagram Alice->>John: Hello John, how are you? John-->>Alice: Great!

シーケンス図の詳しい記法はこちらをご確認ください。

所感

先日、移転祝いに鳩時計を頂きました 🐦 ありがとうございます 🎉

graph TD; 時報-->|長針が0分を指す| 時刻の数だけ鳴く; 時報-->|長針が30分を指す| 1度だけ鳴く;

Enjoy "(\( ⁰⊖⁰)/)"
https://esa.io