Merge pull request #3399 from jmchilton/markdown

Markdown datatype support.
This commit is contained in:
Eric Rasche
2017-01-11 00:21:12 +00:00
committed by GitHub
15 changed files with 2699 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
<tool id="creates_html" name="creates_html" version="1.0.0" profile="16.04">
<command>
mkdir '$output.extra_files_path';
cp '$__tool_directory__/creates_html_index.html' '$output';
cp '$__tool_directory__/creates_html_image.png' '$output.extra_files_path/image.png';
</command>
<inputs>
<param name="inttest" type="integer" value="7" />
</inputs>
<outputs>
<data format="html" name="output" label="Output HTML">
</data>
</outputs>
</tool>
@@ -0,0 +1,12 @@
<html>
<body>
<p>Hello World!</p>
<p>Some of this sentence is <b>bold</b> and some is <i>italic</i>.</p>
<ul>
<li>A list element.</li>
<li>Another list element.</li>
<li>Last list element.</li>
</ul>
<img src="image.png" alt="An Image">
</body>
</html>
@@ -0,0 +1,14 @@
<tool id="creates_markdown" name="creates_markdown" version="1.0.0" profile="16.04">
<command>
mkdir '$output.extra_files_path';
cp '$__tool_directory__/creates_markdown_index.md' '$output';
cp '$__tool_directory__/creates_html_image.png' '$output.extra_files_path/image.png'
</command>
<inputs>
<param name="inttest" type="integer" value="7" />
</inputs>
<outputs>
<data format="markdown" name="output" label="Output Markdown">
</data>
</outputs>
</tool>
@@ -0,0 +1,9 @@
Hello World!
Some of this sentence is **bold** and some is *italic*.
* A list element.
* Another list element.
* Last list element.
![An Image](image.png)
@@ -18,5 +18,7 @@
<datatype extension="biom1" type="galaxy.datatypes.text:Biom1" display_in_upload="True" subclass="True" mimetype="application/json"/>
<datatype extension="bed" type="galaxy.datatypes.interval:Bed" display_in_upload="true" description="BED format provides a flexible way to define the data lines that are displayed in an annotation track. BED lines have three required columns and nine additional optional columns. The three required columns are chrom, chromStart and chromEnd." description_url="https://wiki.galaxyproject.org/Learn/Datatypes#Bed">
</datatype>
<datatype extension="html" type="galaxy.datatypes.text:Html" mimetype="text/html"/>
<datatype extension="markdown" type="galaxy.datatypes.text:Markdown" mimetype="text/markdown"/>
</registration>
</datatypes>
@@ -3,6 +3,8 @@
<tool file="upload.xml"/>
<tool file="simple_constructs.xml" />
<tool file="color_param.xml" />
<tool file="creates_html.xml" />
<tool file="creates_markdown.xml" />
<tool file="inheritance_simple.xml" />
<tool file="boolean_conditional.xml" />
<tool file="composite.xml" />