From b804e8ed5baa327b4bf385949a7cae4a0cff1d04 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 10 Mar 2012 16:33:51 -0600 Subject: [PATCH] fix bin/marked options --- bin/marked | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/marked b/bin/marked index ba6d3f0e..c27b9e26 100755 --- a/bin/marked +++ b/bin/marked @@ -105,9 +105,11 @@ var main = function(argv) { write(); function write() { + marked.setOptions(options); + data = tokens ? JSON.stringify(marked.lexer(data), null, 2) - : marked(data, options); + : marked(data); if (!output) { process.stdout.write(data + '\n');