From 54cd2069e616ffd0d16e6d641daf5f1883a94492 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Thu, 18 Feb 2016 16:11:47 +0530 Subject: [PATCH] Use triple-backticks for verbatim output It's easier than indenting by four spaces, as @willthames points out. --- ISSUE_TEMPLATE.md | 16 +++++++++++----- PULL_REQUEST_TEMPLATE.md | 8 ++++++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 57ef3c90f64..e67be84a3c3 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -7,7 +7,9 @@ Please pick one and delete the rest: ##### Ansible Version: -Please paste the verbatim output from running “ansible --version”. +``` +(Paste verbatim output from “ansible --version” here) +``` ##### Ansible Configuration: @@ -28,8 +30,11 @@ Please explain the problem briefly. For bugs, please show exactly how to reproduce the problem. For new features, show how the feature would be used. -You can include example playbooks inline (indented by four spaces) or -upload larger ones to gist.github.com and paste a link here. +``` +(Paste example playbooks or commands here) +``` + +You can also paste gist.github.com links for larger files. ##### Expected Results: @@ -39,5 +44,6 @@ What did you expect to happen when running the steps above? What actually happened? -(If you're pasting verbatim command output, remember to indent it by -four spaces so it will render correctly in Github.) +``` +(Paste verbatim command output here) +``` diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index bb64deb50df..d532449adef 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -8,7 +8,9 @@ Please pick one and delete the rest: ##### Ansible Version: -Please paste the verbatim output from running “ansible --version”. +``` +(Paste verbatim output from “ansible --version” here) +``` ##### Summary: @@ -20,4 +22,6 @@ the change does.) ##### Example output: -If necessary, paste example output (indented by four spaces) here. +``` +(Paste verbatim command output here if necessary) +```