Markdown to JSON
Planning to use markdown to specify configuration, which can then be converted into a JSON object. Thoughts?
Would you be able to supply an example of what you are looking for? So far it's not quite clear to me...
In my opinion you'd be better off just using a parser that supports relaxed-JSON, like mine at http://softwaremonkey.org/code/JsonParser. Most decent parsers support relaxations like unquoted keywords, inferred commas, etc, which make RJSON directly suitable for configuration (I use it all the time).
See http://hjson.org/ for a similar stance and [search for "relaxed json"](https://www.google.com/search?num=100&hl=en&safe=active&q=relaxed json).
But a good middle ground is the code-within-markdown approach where the parser is used to parse indented code sections and ignore everything else and the document can then be directly published to HTML en toto, and the same document parsed. It would be trivial to modify JSON parsers to do this and wouldn't be hard to write a quite stream preprocessor that was installed upstream of the parser fed only the code sections to the parser.
Apart from this, I think markdown is too lacking in structure and, more importantly, too specific to HTML to be suitable as a source format for JSON and similar structured data.