From 2db4007db6fd20eadf69f4deaca7c5854a7d38f5 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 15 Jul 2015 09:11:03 -0700 Subject: [PATCH] Create gh-pages branch via GitHub --- index.html | 45 +++++++++++++++++++++++++++++++-------------- params.json | 2 +- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index e68b95d..b3fbfe7 100644 --- a/index.html +++ b/index.html @@ -28,30 +28,47 @@
-

-Welcome to GitHub Pages.

+

+libpipecolors

-

This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new gh-pages branch locally. If you're using GitHub for Mac or GitHub for Windows, simply sync your repository and you'll see the new branch.

+

This library parses input like printf and sprintf but instead of returning a boring string it will replace renegade bbs style pipecodes (|09) with their ansi equivelent.

+ +

+It has two functions -

+ +
int pcprintf(const char * format, ...);
+int pcsprintf(char * str, const char * format, ...);

-Designer Templates

+To Do -

We've crafted some handsome templates for you to use. Go ahead and click 'Continue to layouts' to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved.

+ -

-Creating pages manually

+

+Example use

-

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

+
#include <cstdio>
+#include <iostream>
+#include <pipecolors.h>
 
-

-Authors and Contributors

+using namespace pipecolors; -

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

+int main(void) { -

-Support or Contact

+ int num = 5; + const char* str = "My number is"; + pcprintf("|02%s |10%d|39\n", str, num); -

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

+ return 0; +}
+ +

This would return \x1b[0;32mMy number is \x1b[0;92m5\x1b[0;39m\n,

+ +

Printing str in dark green and num in light green