I've created an AI chat App in node.js. but the output I'm getting is in markdown format. So I'm creating this FR to add this parser please.
I’m getting this output.
I've created an AI chat App in node.js. but the output I'm getting is in markdown format. So I'm creating this FR to add this parser please.
I’m getting this output.
perhaps better option would be to add dmx-md in addition to dmx-text and dmx-html in the dynamic attributes
Absolutely yes. Thanks @Hyperbytes
It will much better ![]()
You might want to clarify if this feature request is for a server-side or client-side parser ![]()
I've also renamed the title to Markdown Parser, because "Marked" is not understood it relates to Markdown (unless one knows about this parser already)
I think it should be client-side. Like <span dmx-md=”output_content”></span>
@Hyperbytes , I’ve used your custom extension. md2html and got these results.
All formatting are good except tables. Tables are not coming as expected. Please check.
I will take a look when i get a chance although i am not sure what can be done
The parsing is actually done by an npm called showdown
https://www.npmjs.com/package/showdown
If the issue is in that all i can do is contact the developer and see if they will address that.
Alternatively i could look at an alternative parser but that wont be for a while.
Suggest you add an instruction not to add tables for the minute ![]()
Quick suggestion. Why not update your application to prettify any markdown in its output?
Prompt:
Process and render the markdown content in the response as readable, human-friendly text. The output should not show markdown syntax but instead display the properly formatted version.
For example:
Please convert the markdown into readable, visually pleasing text without showing the raw markdown syntax.
Would help if I got it the right way round! ![]()