Hello.
I have begun investigating the use of a markdown library.
What I find confusing is that SurveyJS 'supports' markdown by passing every 'text' string into the onTextMarkdown event callback. EVERY string. I would have thought that SurveyJS would perform the 'filtering' of strings, meaning 'support for markdown', and not pass that task to the callback.
In the example - https://surveyjs.io/Examples/Library?id=survey-markdown-radiogroup-marked&platform=Knockoutjs&theme=modern#content-js , a 'marked' object is instantiated for every string in the JSON. This cannot be efficient.
I realise that publishing a string of all HTML and markdown tags for implementing a regex or substring test creates a maintenance issue but if that exercise (testing for tags) is not performed prior to instantiating a markdown library object, performance suffers.
I seek guidanceā¦
Met vriendelijk groeten,
Max