Skip to content

Commit

Permalink
readme builder r1
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-armour committed Sep 20, 2016
1 parent 0e0fd67 commit 1d56ccd
Show file tree
Hide file tree
Showing 7 changed files with 597 additions and 26 deletions.
16 changes: 1 addition & 15 deletions elevations-core3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@
var defaultFile = 'index.html';
location.hash = 'readme.md';

var b = '</br>';

var header =

'<span style=display:none; >[You are now in GitHub source code view - click this link to view Read Me file as a web page]' +
'( https://jaanga.github.io/terrain3/index.html "View file as a web page." ) </span>' +
'<input type=button onclick=window.location.href="https://github.com/jaanga/terrain3/"; value="You are now in GitHub web page view - Click this button to view Read Me file as source code" >' + b +
b +
'[Jaanga]( https://jaanga.github.io ) &raquo; ' + b
'';


var contents;

init();
Expand Down Expand Up @@ -61,16 +49,14 @@
'';

contents = contents ? contents : document.body.appendChild( document.createElement( 'div' ) ) ;
// contents = contents || document.body.appendChild( document.createElement( 'div' ) ) ;
contents = contents;

converter = new showdown.Converter( { strikethrough: true, literalMidWordUnderscores: true, simplifiedAutoLink: true, tables: true });

url = location.hash.slice( 1 );

xhr = new XMLHttpRequest();
xhr.open( 'get', url, true );
xhr.onload = function() { contents.innerHTML = header + converter.makeHtml( xhr.responseText ); };
xhr.onload = function() { contents.innerHTML = converter.makeHtml( xhr.responseText ); };
xhr.send( null );

document.title = url.split( '/' ).pop();
Expand Down
66 changes: 66 additions & 0 deletions elevations-core3/readme (1).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<span style=display:none; >[You are now in GitHub source code view - click this link to view Read Me file as a web page]( https://jaanga.github.io/terrain3/elevations-core3/index.html "View file as a web page." ) </span><input type=button onclick=window.location.href="https://github.com/jaanga/terrain3/tree/gh-pages/elevations-core3"; value="You are now in GitHub web page view - Click this button to view Read Me file as source code" ></br></br>[Jaanga]( https://jaanga.github.io ) &raquo; [terrain3]( https://jaanga.github.io/terrain3 ) &raquo;


[ Elevations Core3 Read Me]( http://jaanga.github.io/terrain3/elevations-core3#readme.md )
===
## Full Screen: [ Elevations Core3]( http://jaanga.github.io/terrain3/elevations-core3/index.html )
<img src="" style=display:none; width=800 >
<iframe src=http://jaanga.github.io/terrain3/elevations-core3/index.html width=100% height=600px onload=this.contentWindow.controls.enableZoom=false; ></iframe>
_Elevations Core3_
***
## Concept

### Mission

* TBD

### Vision

* TBD

## Features

* TBD
* Click three bars( "hamburger" ) icon to slide menu in or out
* Direct link to this read me file
* Click on title to reload


## Things you can do using this script


* Click the three bars( 'hamburger' menu icon ) to slide the menu in and out
* Press Control-U/Command-Option-U to view the source code
* Press Control-Shift-J/Command-Option-J to see if the JavaScript console reports any errors


## Things you can do by editing the code

<iframe src="http://jaanga.github.io//cookbook-html/examples/libraries/ace-editor/ace-view-r1.html#
http://jaanga.github.io/terrain3/elevations-core3xxxxxx/xxxxxx-r1.html" width=100% height=600 ></iframe>

<input type=button onclick=window.location.href="http://jaanga.github.io/tree/gh-pagesterrain3/elevations-core3/xxxxxx-r1.html";
value="Source code listing" >


* Open this file: https://github.com/jaanga/jaanga.github.io/tree/master/cookbook-html/templates/xxxxxx/xxxxxx-r1.html
* Click the 'Raw' icon and save the raw file to your computer
* Once you've downloaded the file, you can click it to run it.
* Open the file with a text editor
## Issues

## Users

Intended for general use

## Goals

## Links of Interest

## Change Log

### bb

* First commit
* Add Read Me

85 changes: 85 additions & 0 deletions elevations-core3/readme (2).md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<p><span style="display:none;"><a href="https://jaanga.github.io/terrain3/elevations-core3/index.html" title="View file as a web page.">You are now in GitHub source code view - click this link to view Read Me file as a web page</a> </span><input type="button" onclick="window.location.href=&quot;https://github.com/jaanga/terrain3/tree/gh-pages/elevations-core3&quot;;" value="You are now in GitHub web page view - Click this button to view Read Me file as source code"><br><br><a href="https://jaanga.github.io">Jaanga</a> » <a href="https://jaanga.github.io/terrain3">terrain3</a> » </p>

<h1 id="elevationscore3readmehttpjaangagithubioterrain3elevationscore3readmemd"><a href="http://jaanga.github.io/terrain3/elevations-core3#readme.md"> Elevations Core3 Read Me</a></h1>

<h2 id="fullscreenelevationscore3httpjaangagithubioterrain3elevationscore3indexhtml">Full Screen: <a href="http://jaanga.github.io/terrain3/elevations-core3/index.html"> Elevations Core3</a></h2>

<p><img src="" style="display:none;" width="800"></p>

<iframe src="http://jaanga.github.io/terrain3/elevations-core3/index.html" width="100%" height="600px" onload="this.contentWindow.controls.enableZoom=false;"></iframe>

<p><em>Elevations Core3</em></p>

<hr>

<h2 id="concept">Concept</h2>

<h3 id="mission">Mission</h3>

<ul>
<li>TBD</li>
</ul>

<h3 id="vision">Vision</h3>

<ul>
<li>TBD</li>
</ul>

<h2 id="features">Features</h2>

<ul>
<li>TBD</li>

<li>Click three bars( "hamburger" ) icon to slide menu in or out</li>

<li>Direct link to this read me file</li>

<li>Click on title to reload </li>
</ul>

<h2 id="thingsyoucandousingthisscript">Things you can do using this script</h2>

<ul>
<li>Click the three bars( 'hamburger' menu icon ) to slide the menu in and out</li>

<li>Press Control-U/Command-Option-U to view the source code</li>

<li>Press Control-Shift-J/Command-Option-J to see if the JavaScript console reports any errors</li>
</ul>

<h2 id="thingsyoucandobyeditingthecode">Things you can do by editing the code</h2>

<iframe src="http://jaanga.github.io//cookbook-html/examples/libraries/ace-editor/ace-view-r1.html#&#10;http://jaanga.github.io/terrain3/elevations-core3xxxxxx/xxxxxx-r1.html" width="100%" height="600"></iframe>

<p><input type="button" onclick="window.location.href=&quot;http://jaanga.github.io/tree/gh-pagesterrain3/elevations-core3/xxxxxx-r1.html&quot;;" value="Source code listing"></p>

<ul>
<li>Open this file: <a href="https://github.com/jaanga/jaanga.github.io/tree/master/cookbook-html/templates/xxxxxx/xxxxxx-r1.html">https://github.com/jaanga/jaanga.github.io/tree/master/cookbook-html/templates/xxxxxx/xxxxxx-r1.html</a></li>

<li>Click the 'Raw' icon and save the raw file to your computer</li>

<li>Once you've downloaded the file, you can click it to run it.</li>

<li>Open the file with a text editor</li>
</ul>

<h2 id="issues">Issues</h2>

<h2 id="users">Users</h2>

<p>Intended for general use</p>

<h2 id="goals">Goals</h2>

<h2 id="linksofinterest">Links of Interest</h2>

<h2 id="changelog">Change Log</h2>

<h3 id="bb">bb</h3>

<ul>
<li>First commit</li>

<li>Add Read Me</li>
</ul>
Loading

0 comments on commit 1d56ccd

Please sign in to comment.