Browse Source

Changed 'Markdown' button to 'Export'

Nathan Schneider 4 years ago
parent
commit
b4c0b2f775
2 changed files with 3 additions and 3 deletions
  1. 1 1
      _guides/git_repo.md
  2. 2 2
      _layouts/rule.html

+ 1 - 1
_guides/git_repo.md

@@ -10,7 +10,7 @@ Free/open-source software projects typically have a series of files that contain
 
 **Method 1: Export a Markdown file of your Rule and add it.** Once you've created your Rule on CommunityRule, you can download it and then put it in your respository.
 
-* At the bottom of the page where you have authored your Rule, press the <span class="pushButton">Markdown</span> button
+* At the bottom of the page where you have authored your Rule, press the <span class="pushButton">Export</span> button
 * Depending on your browser's settings, pressing the button should download the file and either open it or ask you where you would like to save it
 * Find the file on your computer and rename it to `GOVERNANCE.md` (replacing the current .txt extension)
 * Place the file in the main directory of your project, either by uploading to GitHub/Lab or adding it to Git locally:

+ 2 - 2
_layouts/rule.html

@@ -114,7 +114,7 @@ layout: default
   }
 
   // textOutput()
-  // Produces Markdown rendition of Rule
+  // Produces Markdown rendition of Rule from Export button
   function textOutput() {
       var filename = 'CommunityRule.txt';
       // First, add title, whether there is one or not
@@ -447,7 +447,7 @@ Created with [CommunityRule](https://communityrule.info)
 
   <button class="pushButton" id="publishRule" onclick="publishRule()">Publish</button>
   <button class="pushButton" id="toggleDisplayMode" onclick="toggleDisplayMode()">Fork</button>
-  <button class="pushButton" onclick="textOutput()">Markdown</button>
+  <button class="pushButton" onclick="textOutput()">Export</button>
   <button class="pushButton" id="trash" onclick="deleteRule()">
     <img src="{% link assets/tabler_icons/trash.svg %}" title="Rule deletion request" />
   </button>