mcdougallab / modeldb

ModelDB 2020 redesign
http://modeldb.science
10 stars 2 forks source link

need better markdown solution #157

Open ramcdougal opened 1 year ago

ramcdougal commented 1 year ago

Currently we have code formatting display of markdown, but not conversion to proper HTML.

This is really problematic with e.g. https://modeldb.science/266799 which has images and code formatting and long lines.

If we have a good solution, then ModelDB and GitHub could both display good looking formatted readmes.

ramcdougal commented 1 year ago

One possible solution: https://github.com/markedjs/marked (MIT licensed, has CDN), it doesn't seem to handle programming language-specific syntax highlighting (e.g. triple-backticks then python)