Skip to content

Commit

Permalink
Removed node req, postman sdk, style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
RonMiltonPing committed Mar 30, 2020
1 parent 75599bc commit 2b92ca6
Show file tree
Hide file tree
Showing 36 changed files with 4,241 additions and 1,101 deletions.
28 changes: 28 additions & 0 deletions helpers/createheading.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Source: http://doginthehat.com.au/2012/02/comparison-block-helper-for-handlebars-templates/
*
* The MIT License
*
* Copyright (c) 2012 Ben Lagoutte
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
module.exports = function(name, helement, id) {
return "<" + helement + " id='" + id + "'>" + name + "</" +helement + ">";
};
3 changes: 3 additions & 0 deletions helpers/lowercase.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = function(data) {
return data.toLowerCase();
};
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ const Metalsmith = require('metalsmith'),
sass = require('metalsmith-sass'),
discPartials = require('metalsmith-discover-partials'),
permalinks = require('metalsmith-permalinks'),
layouts = require('metalsmith-layouts'),
msIf = require('metalsmith-if'),
markdownAlerts = require('./lib/markdown-it-alerts'),
registerHelpers = require('metalsmith-register-helpers'),
postmanReader = require('./lib/pingid-postman-api'),
metallic = require('metalsmith-metallic'),
jquery = require('metalsmith-jquery'),
fileMetadata = require('metalsmith-filemetadata'),
serve = require('metalsmith-serve'),
watch = require('metalsmith-watch');

Expand Down
Loading

0 comments on commit 2b92ca6

Please sign in to comment.