You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your work on this plugin 👏 I was considering to use it to render a response from an LLM that could contain multiple headings that are unknown beforehand. Hence, I was wondering if there is a way to detect all e.g., H1 & H2 in any given response and make these sections collapsible?
I suppose one could use options.test for this using react-markdown, but the following doesn't seem to work:
Do you have any suggestion on how to best approach the above?
The text was updated successfully, but these errors were encountered:
tobiasbueschel
changed the title
Is there a way to use this plugin without options.test
Using the plugin to render level 2 markdown headings as collapsible sections not working
Oct 15, 2024
Hi @Rokt33r,
Thanks for your work on this plugin 👏 I was considering to use it to render a response from an LLM that could contain multiple headings that are unknown beforehand. Hence, I was wondering if there is a way to detect all e.g., H1 & H2 in any given response and make these sections collapsible?
I suppose one could use
options.test
for this usingreact-markdown
, but the following doesn't seem to work:Do you have any suggestion on how to best approach the above?
The text was updated successfully, but these errors were encountered: