This repository has been archived by the owner. It is now read-only.

Support YAML metadata blocks #4

Closed
jelovirt opened this Issue Apr 23, 2015 · 10 comments

Comments

Projects
None yet
4 participants
@jelovirt
Owner

jelovirt commented Apr 23, 2015

Support YAML metadata block as implemented by Pandoc and Jekyll.

Current support is limited to top-level mapping block with either string or string array values. The mapping to/from DITA metadata is hardcoded and is limited to the following metadata elements:

  • author
  • source
  • publisher
  • permissions
  • audience
  • category
  • keyword
  • resourceid
@xephon2

This comment has been minimized.

Show comment
Hide comment
@xephon2

xephon2 Jan 4, 2016

Please also add support for TOML and JSON.

xephon2 commented Jan 4, 2016

Please also add support for TOML and JSON.

@jelovirt

This comment has been minimized.

Show comment
Hide comment
@jelovirt

jelovirt Jan 4, 2016

Owner

@xephon2 sounds reasonable. I think it would be easiest to support that as a preprocessor to Markdown processor.

Owner

jelovirt commented Jan 4, 2016

@xephon2 sounds reasonable. I think it would be easiest to support that as a preprocessor to Markdown processor.

@jelovirt

This comment has been minimized.

Show comment
Hide comment
@jelovirt
Owner

jelovirt commented Mar 15, 2017

@jelovirt jelovirt added this to the 1.2.3 milestone Mar 16, 2017

@jelovirt jelovirt closed this Mar 16, 2017

@georgebina

This comment has been minimized.

Show comment
Hide comment
@georgebina

georgebina Mar 17, 2017

Contributor

I think the syntax reference needs also to be updated to reflect this enhancement.

Contributor

georgebina commented Mar 17, 2017

I think the syntax reference needs also to be updated to reflect this enhancement.

@jelovirt

This comment has been minimized.

Show comment
Hide comment
@jelovirt

jelovirt Mar 17, 2017

Owner

Would you be able to update the syntax reference?

Owner

jelovirt commented Mar 17, 2017

Would you be able to update the syntax reference?

@georgebina

This comment has been minimized.

Show comment
Hide comment
@georgebina

georgebina Mar 17, 2017

Contributor

I can try, but please review it afterwords.

Contributor

georgebina commented Mar 17, 2017

I can try, but please review it afterwords.

@georgebina

This comment has been minimized.

Show comment
Hide comment
@georgebina

georgebina Mar 17, 2017

Contributor

Done!
One thing I noted, is that the test sample yaml.md contains title, abstract and tags which are ignored during the conversion to DITA.

Contributor

georgebina commented Mar 17, 2017

Done!
One thing I noted, is that the test sample yaml.md contains title, abstract and tags which are ignored during the conversion to DITA.

@jelovirt

This comment has been minimized.

Show comment
Hide comment
@jelovirt

jelovirt Mar 17, 2017

Owner

Yes, those are there deliberately

Owner

jelovirt commented Mar 17, 2017

Yes, those are there deliberately

@raducoravu

This comment has been minimized.

Show comment
Hide comment
@raducoravu

raducoravu Sep 29, 2017

@georgebina, where is the updated syntax reference, I do not see anything in the readme:

https://github.com/jelovirt/dita-ot-markdown

?

raducoravu commented Sep 29, 2017

@georgebina, where is the updated syntax reference, I do not see anything in the readme:

https://github.com/jelovirt/dita-ot-markdown

?

@georgebina

This comment has been minimized.

Show comment
Hide comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.