From 671ea87ac4adb0b5f59959a8ede9ef6351dd054b Mon Sep 17 00:00:00 2001 From: Saskia Hiltemann Date: Tue, 23 Mar 2021 20:09:53 +0100 Subject: [PATCH] update snippet to FAQ format --- faqs/galaxy/datasets_create_new_file.md | 29 +++++++++++-------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/faqs/galaxy/datasets_create_new_file.md b/faqs/galaxy/datasets_create_new_file.md index 35ae1ecae9bee2..8fb08911f0bc50 100644 --- a/faqs/galaxy/datasets_create_new_file.md +++ b/faqs/galaxy/datasets_create_new_file.md @@ -2,21 +2,18 @@ title: Creating a new file description: Galaxy allows you to create new files from the upload menu. You can supply the contents of the file. area: datasets - - +box_type: tip +layout: faq --- -> ### {% icon tip %} Tip: Creating a new file -> -> * Open the Galaxy Upload Manager -> * Select **Paste/Fetch Data** -> * Paste the file contents into the text field -> {% if include.format %} -> * Change **Type** from "Auto-detect" to `{{ include.format }}` -> {% endif %} -> {% if include.genome %} -> * Change **Genome** to `{{ include.genome }}` -> {% endif %} -> {% if include.convertspaces %} * From the Settings menu ({% icon galaxy-gear %}) select **Convert spaces to tabs** {% endif %} -> * Press **Start** and **Close** the window -{: .tip} +* Open the Galaxy Upload Manager +* Select **Paste/Fetch Data** +* Paste the file contents into the text field +{%- if include.format -%} +* Change **Type** from "Auto-detect" to `{{ include.format }}` +{% endif %} +{%- if include.genome -%} +* Change **Genome** to `{{ include.genome }}` +{% endif %} +{%- if include.convertspaces -%} * From the Settings menu ({% icon galaxy-gear %}) select **Convert spaces to tabs** {% endif %} +* Press **Start** and **Close** the window