Top Level Namespace

Defined in:

Constant Summary

USAGE = "Convert YAML files to markdown files\n\nUsage:\n yaml2markdown [INPUT [OUTPUT]] [options]\n\nOptions:\n --using=STYLE Style to use to render YAML objects.\n Available values:\n • [default: lists] — Use lists only (- **key**: value)\n • tables — Use GFM-style tables\n\nArguments:\n INPUT Specify file to use as input. Defaults to stdin.\n OUTPUT Specify file to write the result to. Defaults to stdout."
VERSION = "0.1.0"

Method Summary

Method Detail

def render(o, style : String, indent : Int) : String | Nil #

[View source]
def render_array(o : Array(YAML::Any), style : String, indent : Int) : String | Nil #

[View source]
def render_hash(o : Hash(YAML::Any, YAML::Any), style : String, indent : Int) : String | Nil #

[View source]