From 40de72ef8e2742fb698cd58f2e659ec1158546d5 Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Mon, 5 Feb 2018 17:21:52 -0500 Subject: [PATCH] Fixes to markdown templates --- app/assets/javascripts/editor.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/editor.js b/app/assets/javascripts/editor.js index d1d44a4486..5243ac4334 100644 --- a/app/assets/javascripts/editor.js +++ b/app/assets/javascripts/editor.js @@ -94,12 +94,11 @@ $E = { else $E.textarea.val($E.templates[template]) }, templates: { - 'blog': "###The beginning\n\n###What we did\n\n###Why it matters\n\n###How can you help", - 'default': "###What I want to do\n\n###My attempt and results\n\n###Questions and next steps\n\n###Why I'm interested", - 'support': "###Details about the problem\n\n###A photo or screenshot of the setup", - 'event': "###Event details\n\nWhen, where, what\n\n###Background\n\nWho, why", - 'oiltestkit': "##Reflections on the Alpha Oil Testing Kit\n\n###What was tested\n\nWhen, where, what\n\n###Things that went well\n\n###Challenges encountered\n\n###Suggestions to improve the tool\n\n\n", - 'question': "###What I want to do or know\n\n###Background story" + 'blog': "## The beginning\n\n## What we did\n\n## Why it matters\n\n## How can you help", + 'default': "## What I want to do\n\n## My attempt and results\n\n## Questions and next steps\n\n## Why I'm interested", + 'support': "## Details about the problem\n\n## A photo or screenshot of the setup", + 'event': "## Event details\n\nWhen, where, what\n\n## Background\n\nWho, why", + 'question': "## What I want to do or know\n\n## Background story" }, previewing: false, generate_preview: function(id,text) {