3 ms·
Avoiding YAML is opinionated :) I'm using the Clojure reader to parse Markdown files. It reads the next form from an input stream and returns the object represe
by lacarmen 12y ago
Avoiding YAML is opinionated :) I'm using the Clojure reader to parse Markdown files. It reads the next form from an input stream and returns the object represented by that form so by using a Clojure map to represent the metadata, there is no need to do additional parsing. The rest of the Markdown file is read line by line.
And I'll make a note to add a full example of the metadata in the docs.