simple_markdown_extension_blueprint v0.1.0 SimpleMarkdownExtensionBlueprint

Adds syntax for issuing a blueprint command and embedding the resulting SVG.

The command takes the form of @blueprint[] or @blueprint(). Where inside the brackets are the arguments that can be passed to a blueprint escript.

Example

@blueprint[plot app --messages --colour]

Which produces:

G node_1 graphvix node_1->node_1 node_1->node_1 node_3 blueprint node_3->node_1 node_3->node_3 node_6 simple_markdown node_3->node_6 node_8 simple_markdown_extension_cli node_3->node_8 node_6->node_6 node_16 html_entities node_6->node_16 node_18 parsey node_6->node_18 node_8->node_8 node_10 earmark node_10->node_10 node_12 ex_doc node_12->node_10 node_12->node_12 node_16->node_16 node_18->node_18 node_23 simple_markdown_extension_blueprint node_23->node_23

Link to this section Summary

Functions

Insert the blueprint command rule in a appropriate place in the rule parser

The rule for matching blueprint commands

Link to this section Functions

Link to this function add_rule(rules)
add_rule([Parsey.rule()]) :: [Parsey.rule()]

Insert the blueprint command rule in a appropriate place in the rule parser.

The rule for matching blueprint commands.