Hi Matt, Thanks for your patch.
Matt Price <[email protected]> writes: > I don't know that much about markdown, and I know there are many different > flavours. pandoc can make use of title, author, and date info in a > markdown file -- from what i cna tell, it expects a "title block atthe head > of a file (http://pandoc.org/README.html#extension-pandoc_title_block) > > % author > % title > % date > > I have a simple, inadequate patch to ox-md-template that inserts this info. > It's a start maybe for a better patch? I don't think it's inadequate, but I also don't know if this should be part of ox-md in it’s present form. The original md specification doesn’t seem to support this syntax: https://daringfireball.net/projects/markdown/syntax (I searched for % and author). Would it be recognized by say Github or Stack Exchange? On Github "^% Rasmus\n" is printed as just that, so I guess not. Perhaps it would be better to define a new backend, ox-md-pandoc.el, or add a "#+MARKDOWN_FLAVOR" keyword to condition such insertions on. Cheers, Rasmus -- What will be next?
