Probably related to issue #144
How would one add support to read a footnote as an inline element as part of a paragraph?
Right now it's rendered as another paragraph next to the paragraph which has the annotated word as the last word.
E.g. JATS:
<p id="p1">Text<fn id="idm6"><p id="footnote1">Footy note about Text.</p></fn> begins and ends.</p>
To JSON:
"content": [
{
"type": "Paragraph",
"id": "p1",
"content": [
"Text"
]
},
{
"type": "Paragraph",
"id": "footnote1",
"content": [
"Footy note about Text."
]
},
{
"type": "Paragraph",
"content": [
" begins and ends."
]
}
It should be inline like a mark i think:
{
"type": "Paragraph",
"id": "p2",
"content": [
"Normal Text, ",
{
"type": "Strong",
"content": [
"bold"
]
},
" or not."
]
}
I played around with adding a decodeFootnote function but don't really know what the best approach would be.
Probably related to issue #144
How would one add support to read a footnote as an inline element as part of a paragraph?
Right now it's rendered as another paragraph next to the paragraph which has the annotated word as the last word.
E.g. JATS:
To JSON:
It should be inline like a mark i think:
{ "type": "Paragraph", "id": "p2", "content": [ "Normal Text, ", { "type": "Strong", "content": [ "bold" ] }, " or not." ] }I played around with adding a
decodeFootnotefunction but don't really know what the best approach would be.