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
The goal of this feature is to allow the model developer to provide information to the user/operator in the web console. The current proposal is to use the following in the model:
This results in an additional tab in expanded row (before the others).
The support content types could/should be:
text/plain
text/html (do we want to do this??)
text/markdown
For text/markdown we also want to support the mermaid extension so that we can include diagrams.
Discussion: do we use "tab" for the web_presentation annotation?
This also means we need to be able to render markdown in the browser. markdown-it (also used in the python world) seems to be one of the most complete and most used implementations:
For mermaid this is mermaid-js and there seems to be a number of plugins available. The original implementation of the plugin seems to be no longer maintained. However this fork seems to be more active: https://github.com/wekan/markdown-it-mermaid#readme
The following is some example code that you can use to test (without the backslashes):
# This is some more information
\```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
\```
The text was updated successfully, but these errors were encountered:
The goal of this feature is to allow the model developer to provide information to the user/operator in the web console. The current proposal is to use the following in the model:
The json equivalent
The support content types could/should be:
For text/markdown we also want to support the mermaid extension so that we can include diagrams.
Discussion: do we use "tab" for the web_presentation annotation?
This also means we need to be able to render markdown in the browser. markdown-it (also used in the python world) seems to be one of the most complete and most used implementations:
For mermaid this is mermaid-js and there seems to be a number of plugins available. The original implementation of the plugin seems to be no longer maintained. However this fork seems to be more active: https://github.com/wekan/markdown-it-mermaid#readme
The following is some example code that you can use to test (without the backslashes):
The text was updated successfully, but these errors were encountered: