I want to render Markdown with the Text Panel, which is queried from a Rest API before.
Example string:
# test heading\n\n Here is a image: 
Unfortunately, the Text Panel does not offer data sources for querying the data.
Do you have any ideas how to do that?
I already tried out the “Business Text Panel” addon without sucess.
what happened with that plugin it should work. what is your datasource? please post some sample
Hi,
the datasource is Infinity plugin and yields this json:
{
"content":"# Heading 1\n\nHere is a image:\n\n\n\n**Bold **text and _italic_ text.\n\nMore Text.\n\n## Heading 2\n",
"id":"xxx",
"parentNoteId":"xxx",
"title":"TestDocumentAPI",
"updatedAt":"2024-06-11T10:34:16.338Z",
"url":"xxx"
}
The Business Text panel yields with code:
{{json @root.content}}
this:
Did you ever get this working? Running into a similar problem currently with the Business Text plugin. I’m assuming the failure to format is caused by the quotes that it’s wrapping around the text, but I’m not sure how I get rid of those.