Hello,
I was testing the library to see if I could add:
- A short and long caption of a figure in a cell markdown.
- Also tested if I could pass a reference to be read to the caption
Initially I tested the following metadata:
{
"ipub": {
"figure": {
"caption": "[Short Caption](Looooooooooooong Caption. Source \cite{Jankaukas2019})",
"label": "fig:label1",
"placement": "H",
"height": 0.4,
"widefigure": false
}
}
}
Then it prompted:WARNING: Could not save invalid JSON.
So I have tried escaping the caption:
"caption": "\[Short Caption\]\(Looooooooooooong Caption. Source \\cite\{Jankaukas2019\}\)",
Still no success, is there any other alternative?
Thanks :)