h3. Traditional html title
Paragraphs are separated by a blank line.
Let 2 spaces at the end of a line to do a
line break
Text attributes italic,
bold, monospace
.
<!DOCTYPE html> | |
<script type="text/javascript"> | |
var guessingGame = function() { | |
var guess, answer, difference; | |
answer = 13; | |
guess = prompt("How many stripes on the US Flag?"); |
<!DOCTYPE html> | |
<script type="text/javascript"> | |
function Guess(guess, tries) { | |
this.guess = guess; | |
this.tries = tries; | |
this.message | |
this.answer = false; | |
this.run = function() { |
<script> | |
// | |
// Simple Game where each player throws down the top card on their deck after it's been delt. Who ever has the | |
// higher ranked card value gets a point. If it's a tie, no one gets a point. Whoever has the most points at the | |
// end of the game, wins. | |
// | |
// | |
function Queue() { | |
this.queue = []; |
[4mRunning "simplemocha:all" (simplemocha) task[24m | |
1..1 | |
ok 1 Array indexOf() should return -1 when the value is not present | |
# tests 1 | |
# pass 1 | |
# fail 0 | |
[32mDone, without errors.[39m |
//var reverse = require('../app/reverse'); | |
var pal = require('../app/pal'); | |
var expect = require('chai').expect; | |
describe('palindrome', function() { | |
it('it is a palindrome', function() { | |
expect(pal('racecar')).to.be.true; | |
}); | |
}); |
var parser = require('node-markdown'); | |
var fs = require('fs'); | |
var argv = require('optimist').argv; | |
var file = argv._[0]; | |
var markdown = fs.readFileSync(file, 'UTF-8'); | |
//markdown passed in as a file | |
markdown = parser.Markdown(markdown); |
h3. Traditional html title
Paragraphs are separated by a blank line.
Let 2 spaces at the end of a line to do a
line break
Text attributes italic,
bold, monospace
.
Output from our markdown file: | |
<p>h3. Traditional html title</p> | |
<p>Paragraphs are separated | |
by a blank line.</p> | |
<p>Let 2 spaces at the end of a line to do a <br /> | |
line break</p> | |
<p>Text attributes <em>italic</em>, |
<div data-ng-controller="notesController"> | |
<h1>Input page</h1> | |
<p>noteBody</p> | |
<input type="text" data-ng-model="newNote.noteBody"> | |
<p>name</p> | |
<input type="text" data-ng-model="newNote.name"> | |
<p>course</p> | |
<input type="text" data-ng-model="newNote.course"> |
<div data-ng-controller="taController"> | |
<h1>Input page</h1> | |
<div data-ng-repeat="note in notes"> | |
<p> | |
<div data-ng-show="note.editing"> | |
Name:{{note.name}}</br> | |
NoteBody:<input data-ng-model="note.noteBody"/> |