playfair

Playfair Script Formatter
git clone https://git.mulligrubs.me/playfair
Log | Files | Refs | README

commit 454393d65674249acac18cb5f34fa6e1de322937
parent 3b68b652c6877767954459acf10eb46a00872b77
Author: St John Karp <git@stjohnkarp.net>
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