Skip to content
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

Extra metadata does not support multi value keys #120

Closed
sebdah opened this issue Apr 25, 2013 · 1 comment
Closed

Extra metadata does not support multi value keys #120

sebdah opened this issue Apr 25, 2013 · 1 comment

Comments

@sebdah
Copy link

sebdah commented Apr 25, 2013

The current implementation of the extra metadata does not support documents with multi value keys, like:


---
layout: post
title: "Test post"
date: 2013-03-21 14:56
comments: true
categories:
- cat 1
- cat 2

---
This is regular
text
and should not be affected

Those documents are not covered at all and will be printed by Markdown2. I would expect this to return a metadata dict with lists, for example:

{'date': '2013-03-21 14:56', 'layout': 'post', 'categories': ['cat 1', 'cat 2'], 'comments': 'true', 'title': '"Test post"'}
sebdah added a commit to sebdah/python-markdown2 that referenced this issue Apr 25, 2013
andrenasturas added a commit to andrenasturas/python-markdown2 that referenced this issue Sep 11, 2020
nicholasserra added a commit that referenced this issue Sep 18, 2020
Support for structured and nested values in metadata (#120)
@nicholasserra
Copy link
Collaborator

Fixed in #368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants