New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend metadata capabilities #83
Comments
If you search the pandoc-discuss archives, you'll see quite a bit of fairly recent discussion of metadata extensions. I'm sold on the general idea, but I want to get the details right, and there are a lot of considerations. Google Code Info: |
Could we simply have Pandoc use Gitit/Hakyll's metadata? As it is, it's more than a little annoying to work on a file, use Pandoc to preview it, and see half the file broken because of the metadata header not being understood by Pandoc. (It's not like there is no obvious mapping for the metadata to HTML - for example 'description:' maps to the tag for name="description".) |
A more simple amendment, for the time being, would be to enable Pandoc to simply ignore that metadata, until a uniform way of addressing metadata is agreed upon. |
There are lots of issues to consider in adding a metadata format, and I don't want to do it until I'm sure I've got it right. There have been some discussions recently in the markdown-discuss list towards arriving at agreement on a metadata format, but with little progress. In the mean time, you'll have to make do with some scripting. (By the way, it occurred to me that one nice solution would be to put all specialized metadata inside HTML comments, so that regular markdown processors would ignore them anyway. That wouldn't help you, though, since that's not how gitit and hakyll do it.) |
Hi John, what's up with metadata ? I often need them when I use pandoc as a librairie. Your first proposal was appealing in my opinion. If backward compatibility is an issue, maybe a dedicated switch should be added to the readers options. Regards, |
The text was updated successfully, but these errors were encountered: