-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
REPO STEPS:
With the following jats.xml file:
<article>
<front>
<article-meta>
<title-group>
<article-title>Copyright Statement Test</article-title>
</title-group>
<permissions>
<copyright-statement>© 2020, Smith</copyright-statement>
</permissions>
</article-meta>
</front>
</article>
run
jats convert --frontmatter page jats.xml
GOT:
A jats.myst.json file with:
{
"mdast": {
"type": "root",
"children": []
},
"frontmatter": {
"title": "Copyright Statement Test",
"abbreviations": {}
}
}
EXPECTED:
{
...
"frontmatter": {
"title": "Copyright Statement Test",
"copyright": "© 2023, Smith",
...
}
}
COMMENTS:
The expected JSON above is consistent with the JSON export that results from running the mystmd CLI myst with YAML header inside markdown source file:
---
title: Copyright Statement Test
copyright: © 2023, Smith
---
Metadata
Metadata
Assignees
Labels
No labels