Sha256: 6271f9150762226cabcccb67ae157d8a597444700a7f5accfd296bcb4efda423

Contents?: true

Size: 826 Bytes

Versions: 3

Compression:

Stored size: 826 Bytes

Contents

I would like to add a syntax for drawing basic diagrams
and convert them to PNG/PDF/SVG.


	+----------+      +----------+
	| Makefile | ---> | Compiler |  ==> ...
	+----------+      +----------+
	     |                ^
	     v                |
	 ---------            
{:diagram title="My diagram"}


{:diagram: style=""}

How to do vertical bold arrows?

	!
	V 

Curved arrows:
                             +-> | Yes: |
	 ___________________    /
	| is the agent ok? | --|
	 --------------{:r}+

	{:r: border="solid 3px red"}

Big boxes:

	+-------+
	|{:long}|  ---> 
	+-------+
	
	{+long: This is a long box}
	
Or

	+----------------+         ________
	| This is a very |  --->  | Box    |
	| long cell      |        |________|
	+----------------+
	          - Yes
	        /  
	-------+ 
	        \
	          - No






Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maruku-0.5.1 tests/diagrams/diagrams.md
maruku-0.5.2 tests/diagrams/diagrams.md
maruku-0.5.0 tests/diagrams/diagrams.md