Open darenr opened 1 year ago
Would you paste some example snapshot to show the difference between them ? And how much performance difference between them ? And what's the major gramma differences between them ?
@sunishsheth2009 can you take a look at this request?
@darenr as @sunishsheth2009 pointed out, MLflow already appears to use GitHub markdown: https://github.com/mlflow/mlflow/blob/a54ca23bb4fbd4fdcd7f895c84969cedc4b2f523/mlflow/server/js/src/common/utils/MarkdownUtils.js#L6. Are there missing features?
that's embarassing! I appreciate you letting me know.
I'd tried using
def foo() -> str:
return "bar"
to see if color syntax highlighting works (as above) in an experiment description and didn't see the highlighting. I'd also tried an svg path which also didn't seem to work (to embed an image without an external source)
<svg height="210" width="400">
<path d="M150 0 L75 200 L225 200 Z" />
</svg>
the main one was to embedd yaml with color syntax highlighting
Got it, perhaps the JS plugin needs to be updated @sunishsheth2009 ?
That is possible. We are on version 1.9.1
of showdown and there is a newer version: 2.1.0. Maybe upgrading to the newer version would solve that. But since it is a major version upgrade, we need to figure out the upgrading path and see if there are any breaking changes.
Thanks @sunishsheth2009 .
@darenr Would you be willing to try upgrading showdown to see if the latest version works with the MLflow UI and, if so, file an upgrade PR? We would really appreciate your contribution :D
@BenWilson2 @dbczumar @harupy @WeichenXu123 Please assign a maintainer and start triaging this issue.
Willingness to contribute
Yes. I can contribute this feature independently.
Proposal Summary
Commonmark is significantly less expressive than the github markdown flavor. My feature request is to switch out commonmark for github markdow so get color syntax highlighting of code blocks, svg support (express pipelines visually) etc.
Motivation
Details
No response
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingWhat interface(s) does this bug affect?
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportWhat language(s) does this bug affect?
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesWhat integration(s) does this bug affect?
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrations