LoginSignup
641
628

More than 5 years have passed since last update.

Markdown風テキストでダイアグラムが描けるWebツール

Last updated at Posted at 2016-04-18

MarkDownDiagram


MarkdownER



UI Flow




Web



CSS




CgOdrJ7UMAAF44Y.png
githubclone/使


index.html

ChromeSafari,FirefoxIF





調



tablediv2

SVGpath

css



 (A4)


css(css/mdg.css)paddingmdg.css

/


localStorage
LOAD/SAVE便.mdg


A4PDF

書式

ブロックの定義

[name] (class) <position>

nameID/[a-z0-9-_]+/classcssposition

ブロックの区切り線

---

複数行に区切られているとtable要素になる。

他ブロックへのリンク

==>[name]

これ自体区切り線としても働く。ブロックの途中にある場合は、その行から線が始まる。

リンクの属性を設定

u<=(class)=>d[name]

classSVG path"S"
"<",">"
"u","d"
"u""d""l""r"
"l","r""l2","r1"


table
#title

画像ブロック

[name] (image) 
![title](file "caption")

プリセットのクラスとして"image"をブロックのクラスに適用すると、枠なし、背景透明に設定できる。

コメント

// comment

カスタマイズ

css/custom.css にカスタムのスタイルを追加して使用できます。

画像はどこにあっても大丈夫ですが、imgの下に入れるとよいでしょう。

更新履歴

  • 4/25 プリセットcssを整理して追加しました
641
628
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

641
628