diff --git a/view-simulation-results/pom.xml b/view-simulation-results/pom.xml
index 13ed72e..d777cb3 100644
--- a/view-simulation-results/pom.xml
+++ b/view-simulation-results/pom.xml
@@ -157,12 +157,6 @@
jsoup
1.16.1
-
-
- org.commonmark
- commonmark
- 0.20.0
-
\ No newline at end of file
diff --git a/view-simulation-results/src/main/java/org/vcell/N5/UI/HelpExplanation.java b/view-simulation-results/src/main/java/org/vcell/N5/UI/HelpExplanation.java
index 0205ec8..8e65e04 100644
--- a/view-simulation-results/src/main/java/org/vcell/N5/UI/HelpExplanation.java
+++ b/view-simulation-results/src/main/java/org/vcell/N5/UI/HelpExplanation.java
@@ -1,16 +1,12 @@
package org.vcell.N5.UI;
-import org.commonmark.node.Node;
-import org.commonmark.parser.Parser;
-import org.commonmark.renderer.html.HtmlRenderer;
+
+import com.google.common.io.CharStreams;
import javax.swing.*;
import java.awt.*;
-import java.io.FileReader;
-import java.io.IOException;
+import java.io.*;
import java.net.URL;
-import java.nio.file.Files;
-import java.nio.file.Paths;
public class HelpExplanation {
private JDialog jDialog;
@@ -22,17 +18,14 @@ public HelpExplanation(){
JPanel helperPanel = new JPanel();
JTextPane textPane = new JTextPane();
- Parser parser = Parser.builder().build();
- String md;
- URL mdPath = ClassLoader.getSystemClassLoader().getResource("Help.md");
+ String text;
try {
- md = new String(Files.readAllBytes(Paths.get(mdPath.getPath())));
+ InputStream inputStream = ClassLoader.getSystemResourceAsStream("Help.html");
+ text = CharStreams.toString(new InputStreamReader(inputStream));
+// text = new String(Files.readAllBytes(Paths.get(mdPath.getPath())));
} catch (IOException e) {
throw new RuntimeException(e);
}
- Node node = parser.parse(md);
- HtmlRenderer renderer = HtmlRenderer.builder().build();
- String text = renderer.render(node);
textPane.setContentType("text/html");
textPane.setSize(width, height);
textPane.setPreferredSize(new Dimension(width, height));
diff --git a/view-simulation-results/src/main/resources/Help.html b/view-simulation-results/src/main/resources/Help.html
new file mode 100644
index 0000000..d1bfa4a
--- /dev/null
+++ b/view-simulation-results/src/main/resources/Help.html
@@ -0,0 +1,39 @@
+
+
+
Intro
+
+ The VCell (https://vcell.org/) application can export spatial simulation results into multiple formats, with
+ .N5 (https://imagej.net/libs/n5) being one of them. N5 exports are
+ stored remotely on VCell servers, allowing applications such as ImageJ
+ to directly access the results of these simulations and perform analyses.
+
+ VCell Spatial Simulation
+
+ Simulation solvers generating 2- or 3-dimensional spatial
+ domains can be visualized in ImageJ using this plugin.
+ Spatial dimensions and time directly correspond to fields within an ImageJ
+ image. The image's channels depict different variables within a simulation.
+
+ N5 and Datasets
+
+ Each N5 store is a direct mapping to a VCell simulation, and contains one or more
+ datasets. Each dataset holds numerical data and metadata corresponding to an Image in ImageJ.
+ Each N5 store is fully identified through its N5 URL which can be shared and opened by other applications
+ which support the N5 format.
+
+ Accessing Simulation Results
+ For VCell exports generated from your local VCell installation:
+
+ -
+
Either, Click the recent export button.
+
+ -
+
Or, Open the export table and view all past exports with their affiliated metadata.
+
+
+ From N5 URL (VCell Install Not Required):
+
+ - Click the 'Remote Files' button, paste the N5 URL,
+ then select dataset from list.
+
+
\ No newline at end of file
diff --git a/view-simulation-results/src/main/resources/Help.md b/view-simulation-results/src/main/resources/Help.md
deleted file mode 100644
index e507557..0000000
--- a/view-simulation-results/src/main/resources/Help.md
+++ /dev/null
@@ -1,30 +0,0 @@
-### Intro
-The VCell (https://vcell.org/) application can export spatial simulation results into multiple formats, with
-.N5 (https://imagej.net/libs/n5) being one of them. N5 exports are
-stored remotely on VCell servers, allowing applications such as ImageJ
-to directly access the results of these simulations and perform analyses.
-
-### VCell Spatial Simulation
-Simulation solvers generating 2- or 3-dimensional spatial
-domains can be visualized in ImageJ using this plugin.
-Spatial dimensions and time directly correspond to fields within an ImageJ
-image. The image's channels depict different variables within a simulation.
-
-### N5 and Datasets
-Each N5 store is a direct mapping to a VCell simulation, and contains one or more
-datasets. Each dataset holds numerical data and metadata corresponding to an Image in ImageJ.
-Each N5 store is fully identified through its N5 URL which can be shared and opened by other applications
-which support the N5 format.
-
-
-### Accessing Simulation Results
-
-For VCell exports generated from your local VCell installation:
-- Either, Click the recent export button.
-
-- Or, Open the export table and view all past exports with their affiliated metadata.
-
-From N5 URL (VCell Install Not Required):
-- Click the 'Remote Files' button, paste the N5 URL,
-then select dataset from list.
-