playfair

Playfair Script Formatter
git clone https://git.stjo.hn/playfair
Log | Files | Refs | README

commit 6571630b5bbead1fcdfb13452c8eb2a23b1b5ff3
parent 9d524a6ac1fe52e654147a5f9ed4de35a8d9d5eb
Author: St John Karp <contact@stjo.hn>
Date:   Sat, 27 Jul 2013 09:03:27 -0700

Support for Prince 9

Minor updates to support Prince 9.

Diffstat:
Mcommon.css | 1+
Mjavascript.js | 4++++
Mreadme.md | 4++--
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/common.css b/common.css @@ -3,6 +3,7 @@ size: 8.5in 11in; /* Letter paper */ @top-right { font-family: monospace; + font-size: 12pt; } } diff --git a/javascript.js b/javascript.js @@ -5,3 +5,6 @@ function upperCase(text) { function getAuthor() { return document.getElementById('authortag').getAttribute('last').toUpperCase(); } + +Prince.addScriptFunc("upperCase", upperCase); +Prince.addScriptFunc("getAuthor", getAuthor); +\ No newline at end of file diff --git a/readme.md b/readme.md @@ -66,4 +66,4 @@ Each character block starts with the character's name followed by a new line. Th One thing that isn't generally recommended for scripts, but which I find quite handy, is adding emphasis to a word. If you want to add emphasis, enclose the text *between two asterisks*. This format is very human-readable to users who chat online, and the formatter will output the text as underlined. -Finally, at the very end of your script, you write "The End." — and you're done! Save your script as a plain text, UTF-8 file with a .txt extension and upload it to the Playfair Script Formatter. -\ No newline at end of file +Finally, at the very end of your script, you write "The End." followed by one newline — and you're done! Save your script as a plain text, UTF-8 file with a .txt extension and upload it to the Playfair Script Formatter. +\ No newline at end of file