@galaxyproject/markdown
v0.0.0
Published
A visualization that renders Markdown datasets as formatted text.
Readme
Galaxy Visualization: Markdown Viewer
This package renders markdown datasets in Galaxy as formatted text, using markdown-it. Raw HTML in the dataset is shown as text and the output is sanitised with DOMPurify, because visualizations run in the same origin as Galaxy.
Development
To run the development server with the sample in test-data/1.md, use the following commands:
npm install
npm run devSet GALAXY_ROOT, GALAXY_KEY and GALAXY_DATASET_ID to render a dataset from a running Galaxy instead.
Production
To build the production version, use the following command:
npm run buildTests
npm testLicense
This project is licensed under the MIT License.
