Search, find and replace, and shortcuts
Ctrl+K to jump or search everything, find and replace in a chapter or across the project, and formatting keys.
Ctrl below means Cmd on a Mac.
Jump or search everything
Press Ctrl+K. Type a title to jump to a book, chapter, wiki page or note (a wiki page answers to its other names too), or type anything else to search the text of your whole project. The search page groups results by chapters, story wiki and notes. Chapters are listed in reading order, book by book (a series by its numbers); wiki pages and notes whose title matches come first. Under each result are the words around the match, as a reader sees them, without Markdown's marks. A group shows its first 40; Show all shows the rest.
Two switches beside the box change how words are matched. Search finds words inside longer ones, so "Tam" finds Tamara and stamp too: Whole words only finds only Tam (and Tam's). Several words are looked for side by side, as a phrase: Words in any order finds a chapter, page or note with every word somewhere in it, so "old tam" finds "Tam was old". Both stay in the page's address, so Back and a shared link keep them. If your chapters have tags, a Tag box on the search page limits the search to the chapters that carry one tag; with nothing typed it lists those chapters. Only chapters have tags, so the story wiki and notes are left out while a tag is chosen. With a chapter open, the same box also finds what that chapter can do: type “split” for Split chapter at the cursor, or “wiki” for New wiki page from selection.
Find and replace in a chapter
Without the keys: More above the page, then Find and replace in this chapter. On a phone, the magnifying glass under the text. On a Mac, use Cmd+F: Cmd+H hides the browser instead.
| Keys | Does |
|---|---|
| Ctrl+F | Find in this chapter |
| Ctrl+H | Find and replace |
| Ctrl+G or F3 | Next match |
| Shift+Ctrl+G or Shift+F3 | Previous match |
| Esc | Close the panel |
Find and replace across the project
To change words in many places at once (a character renamed, a place spelled another way), choose Find and replace across the project on the search page, or press Ctrl+K, type the words and choose Replace “…”. In a chapter, More above the page has Find and replace in the whole book. Type what to find and what to put in its place, with Match case and Whole words as in a chapter, and choose where to look: the whole project (chapters, front and back matter, wiki pages and notes), every book, or one book.
Nothing changes until you press Replace. First every match is listed, file by file, with the words around it, each with a tick: untick the ones to leave as they are (the tick beside a file's name does all of its matches). Replace 12 then changes the ticked ones, asking first when more than five files would change. The message that follows has Undo, which puts every file back at once (the page keeps the button too, while it is open), as long as none of them has been changed since. History keeps each file as it was before, as for any edit.
What it leaves alone, and says so under the match:
- In a chapter it looks at the text you see, the shown version of each alternative. A match that reaches part-way into an alternative is left for you to change in the chapter, and one that would leave an alternative empty is never replaced. The other versions of an alternative are not changed. Status marks stay on their words.
- Words in a Final chapter, or marked Final, are listed but left until you tick Change Final text too.
- A chapter open in another tab, or shared live, is listed and left as it is: close it there to replace here.
- It changes words, never names: a wiki page's name, details and file name, its other names and the page a
[[link]]goes to stay as they are (the words shown for a link, after its|, do change). When the words you look for are a page's name, the page says so, with a link to the page: its Rename changes the name everywhere links use it. - Details at the top of a file, notes in the archive folder and copies kept after a clash are not looked in. Secret pages and passages are your own text and are replaced like anything else.
A file that changed after the list was made, or that would not save cleanly, is left as it was, and the message names it.
Formatting
Write italics and bold as you would in a message, or select text and use the buttons that appear.
| Keys | Does |
|---|---|
| Ctrl+B | Bold |
| Ctrl+I | Italic |
| Ctrl+Shift+Enter | Scene break (a line with * * *) |
| Alt+Shift+S | Split the chapter at the cursor |
| Alt+Shift+W | New wiki page from the selected text |
| Alt+Shift+N | Add a footnote after the selection or at the caret |
| Alt+Shift+M | Add a note to yourself in the text, after the selection or at the caret |
| Alt+Shift+C | The menu for the underlined words at the caret (Rescriptus's own spellchecker, or the grammar checks) |
| Ctrl+Enter on a footnote mark or its note | Go to the note, or back to the mark |
| Ctrl-click, or Enter inside a link | Open a [[wiki link]] beside the chapter |
Live preview, in the View menu above the page, hides the symbols (* and #) except where you are typing. On a phone the Live button sits beside Marks, under the text. It is on to begin with; switch it off if you would rather see the symbols, and your choice goes with your project. Other Markdown works as it does anywhere: lines starting with # are headings, and lines starting with > are quotes. Notes, wiki pages and front and back matter use the same switch: while you edit one, Live preview sits beside Read, Edit and History. It hides the marks around bold and italic, the # of a heading, the > of a quote and the dash of a bullet, and turns a line of dashes (---) into a thin line. Everything else, such as links, wiki links and task boxes, stays as you typed it. It only changes how the page looks, never the file.
Moving round the screen
| Keys | Does |
|---|---|
| [ | Show or hide the chapter list |
| ] | Show or hide the wiki panel |
| Esc | Leave focus mode |
| Alt+Shift+F | Enter or leave focus mode |
| Alt+Shift+D | Step the dimming: off, paragraph, sentence |
| Alt+Shift+T | Turn typewriter scrolling on or off |
| Alt+Shift+I | Quick capture to your Inbox note |
The first two work when you are not typing in a field. The Focus button hides everything but the page.
Focus, dimming and typewriter
Three tools above the page help you stay with the line you are writing. Dim and Typewriter are in the View menu, with Live preview and Marks; each item shows whether it is on, and its keys where it has them. In a narrow window some buttons show only their icons: point at one to see its name.
- Focus hides the lists, top bar and legend, so only the page is left.
- Dim fades everything except the paragraph you are in (Paragraph) or the sentence (Sentence). Off turns it off, and Alt+Shift+D steps through the three. In focus mode, dimming is on (paragraph) until you choose otherwise.
- Typewriter keeps the line you are writing in the middle of the page as you type, instead of letting it sink to the bottom. Clicking in the text does not move the page.
Your choices are remembered on this device. If your device is set to reduce motion, the page jumps to the line instead of gliding.
How the page looks
Choose Writing preferences… in the … menu (on a phone, More at the bottom of the screen, then Writing preferences…) to set how your text looks. The panel opens beside the page, so you can watch the text change as you choose:
- Font: a serif (the usual), a sans-serif, or a monospace face from your device.
- Text size: five steps, with the usual size in the middle.
- Line width: narrow, medium (the usual), wide or full width. A phone always fills its screen, so the choice is not offered there.
- Line spacing: compact, normal (the usual) or relaxed.
- Paragraphs: a gap between paragraphs (the usual), or book style: no gap, with the first line of each paragraph indented. Your chapter files do not change. There is still a blank line between paragraphs in the file; book style only draws it closed. Headings, quotes, scene breaks and the paragraph after a heading or a scene break are not indented, and neither is a line that follows another with no blank line between, which Markdown counts as the same paragraph.
- Return starts a new paragraph: off until you turn it on. In a chapter, one Return usually goes to the next line of the same paragraph, and a new paragraph needs a blank line, so you press Return twice. With this on, one Return leaves the blank line for you, so the next paragraph starts after a gap (or indented, in book style). Shift+Return goes to the next line of the same paragraph. At the start of a line, on a blank line, in a list and in a quote, Return does what it usually does.
- Curly quotes and dashes as I write: off until you turn it on. In a chapter, a note, a wiki page, or a front or back matter page, straight quotes become curly ones as you type them, two hyphens become a long dash (—) and three dots an ellipsis (…). A quote opens at the start of a line, after a space or an opening bracket, and after a dash unless the quote it follows is still open (so “Wait—” closes where He ran—“Stop!” opens); anywhere else it closes, which also makes the apostrophe in don’t. Press Backspace straight after one to get back what you typed, for a measurement such as 5'10" or a word such as 'tis, where a quote that starts a word is taken for an opening quote. The author's notes in a chapter, the details at the top of a page, wiki links, a link's address, code, a line of dashes (a scene break) and anything you type after a backslash are left alone. It works in books written in English (one with no language set counts as English) and does nothing in other languages. A note or page that belongs to no book follows the language every book shares. The file keeps the curly characters themselves, and what you typed before you turned it on is not changed.
Privacy, at the bottom, is the switch for anonymous usage counts. It is off unless you turned it on. See Privacy and your files.
Settings that follow your project
A few choices are saved in your project, in a plain file called settings.yml at the top of it, so they are the same on every device that opens the project: the font, line spacing and paragraph style; what Return does; spelling, grammar and curly quotes; which style checks are on; Live preview and Marks; the Ready check's shortest chapter; Hide streaks; the author name filled in for a new book; the wiki's layout and sort, whether it shows the whole series, and its saved views; the plan's view; how the library and the notes are sorted; the language; what Rescriptus shows co-authors of your progress; and the last chapter you opened, so Keep writing on the library page (there once you have more than one book) continues from there on another device. Opening a chapter does not write the file by itself: the chapter goes along with the next change to a setting, and when you leave or close the page, so a project on GitHub does not get a save for every chapter you open (and a project with no settings file does not get one until you change a setting).
These stay on each device and are not in the file: the text size, the line width, the light or dark theme, where the project lives, which panels and folders are open, notices you have closed, and your choice about usage counts.
- Rescriptus writes the file a few seconds after you stop changing things, and only when a choice has changed, so a project on GitHub does not get a save for every click. A device that opens the project picks up the file's choices when it next looks for changes.
- If two devices change the same choice at about the same time, the later one wins; changes to different choices are both kept.
- You can open the file in any editor. Comments in it, and keys this version does not know, are kept.
- A co-author who writes in your book through your app has their own choices, so their font or style checks never change yours. For now theirs stay on their own device, apart from what they share of their progress, which goes in a block of its own under people in the file. Yours stay where they always were. The Ready check's shortest chapter is the book's. A GitHub collaborator who opens your repository directly shares your choices. See Co-authors.
- If the file can't be read (a mistake in it, say), Rescriptus leaves it alone, uses this device's own choices, and says so under Writing preferences…. Fix or remove the file to bring them back.
- Download everything includes it, like any other file of the project. Exports of a book never use it.
Reset to defaults puts the look back and switches Names as links off (it does not change the checks or your privacy choice). Everything but the text size and line width goes with your project, so another device that opens it has the same look; those two stay on each device (see below). Chapters follow all of them. When you edit a note or a wiki page, it follows the font, text size, line spacing and spelling. Focus mode, dimming and typewriter scrolling work with any combination: focus mode keeps its slightly larger text and follows your size and line width.
Checks
Checks holds what marks your text as you write, each with one line on what it does: the button at the right of the tools above the page, Checks under the text on a phone, or Checks… in the … menu. They all run on your device, follow plain rules and send nothing anywhere; none of them is AI.
- Check spelling as I write: turns spelling checks on or off. Your browser's spellchecker does it, in the book's language, which you set under Edit details.
- Use Rescriptus's own spellchecker in chapters, notes and wiki pages: off until you turn it on. It does not mark the names in your story wiki, or the words you add to your dictionary, as mistakes. Your dictionary…, just under it, lists those words and lets you take one out. See Spelling and your dictionary, below.
- Check grammar in chapters: off until you turn it on. It underlines slips such as a apple, the the and would of, in a style of its own, and is not AI. See Grammar checks, below.
- Style checks: off until you turn them on. They mark overused and repeated words, long sentences and adverbs, and list them in a Style tab beside the page. See Style checks, below.
- Ready check…: when you open Checks from a chapter, the last thing in it. It looks at whether the chapter is ready to go out and publishes nothing.
Your choices go with your project (see Settings that follow your project, above).
Spelling and your dictionary
Your browser's spellchecker does not know the names in your story, so it underlines Ines and Wrenhaven, and a website cannot teach it. Rescriptus has a spellchecker of its own that can. Turn on Use Rescriptus's own spellchecker in chapters, notes and wiki pages in Checks (the button at the right of the tools above the page, Checks under the text on a phone, or Checks… in the … menu), and keep Check spelling as I write ticked.
- It knows your names. Every title and other name of a page in your story wiki counts as spelt right, in capitals or small letters, with its 's and its plural: Wrenhaven's, the Calders, saltglass for a page called Saltglass. So do the names in your calendars (months, weekdays, eras, moons, seasons) and every word in a language's word list, as written. Make a page, or add a name or a word, and it stops being marked; nothing is added to your dictionary for them.
- It has your dictionary. On an underlined word, Add to dictionary keeps the word in your project, in a plain file called
dictionary.txtat the top, one word to a line. Any other tool can read or change that file. It is saved, synced and undone like the rest of your writing: a message at the foot of the screen offers Undo. Every book in the project uses it. - Seeing and changing your dictionary. Your dictionary…, just under the switch in Checks, opens a list of every word in the file. Remove takes a word out, and the window offers Undo at once. You can type a word in there too, one at a time. With no words yet, it says how they get in: right-click an underlined word, then Add to dictionary.
- The menu. Right-click an underlined word (on a phone, tap it; from the keyboard, press Shift+F10 or the menu key, or Alt+Shift+C with the caret in the word) to see the suggestions, Add to dictionary and Ignore. Ignore leaves the word alone until you leave the page. Nothing in your text changes until you choose.
- The word you are typing is not underlined until you move on from it.
- Where it works. In chapters, notes, wiki pages, and the front and back matter of a book. It reads only your prose: it skips the page names in wiki links (not the words they show), web addresses, footnote marks and code, and, in a note, the details block at the top (between the two
---lines). - English only. It follows the book's language, under Edit details: en-GB spells as Britain does, en-US as America does, and Australian, Canadian and Indian English have their own. A book with no language, or just en, is spelt as your browser spells. A book in another language keeps your browser's spellchecker, and so do its front and back matter and the notes pinned to it. A note that is pinned to no book, and every wiki page, follows the language your books share when they all have the same one (so a project written all in French is not checked as English), and is otherwise spelt as a book with no language is.
- On your device, and not AI. It checks each word against a word list and runs in your browser: your writing is not sent anywhere to be checked. Turning it on downloads the checker once, about 8 MB, which your browser keeps so that it works offline from then on. It needs about 250 MB of memory while it is on, so an older phone may find it heavy. Turning it off gives the memory back.
Grammar checks
Rescriptus can also underline grammar slips as you write. Turn on Check grammar in chapters in Checks (the button at the right of the tools above the page, Checks under the text on a phone, or Checks… in the … menu). It is off until you do, and it is not a style checker: long sentences, fragments, adverbs and the Oxford comma are yours to decide, and it says nothing about them.
- What it looks for. A or an (a apple), a word typed twice (the the; had had and that that are fine), the wrong one of two words that sound alike (their and there, its and it's, then and than), a saying with a word wrong in it (baited breath, for all intensive purposes), a verb in a form it does not take (would of, has went, they was) and a small i for I.
- Its own underline. Grammar is a double line in the accent colour, where spelling is a red wavy line and a status is a dashed, dotted or straight one. Right-click an underline (on a phone, tap it; from the keyboard, press Shift+F10 or the menu key, or Alt+Shift+C with the caret in the words) to see what is wrong, the suggestions, Ignore and Stop checking for … in this project. Nothing in your text changes until you choose a suggestion. Ignore leaves that one alone until you close the chapter.
- Your characters are left alone. Between quotation marks it does not check verbs and agreement, or a small i, so a character can say we was only looking. A typo is a typo in anyone's mouth, so the other kinds are still checked there.
- A kind of check can be switched off for the project. Fiction breaks grammar on purpose: a narrator who talks in dialect, say. Stop checking for … in this project stops a whole kind for every book in the project. It is kept in a plain file called
grammar-off.txtat the top, one kind to a line, which any other tool can read or change. It is saved, synced and undone like the rest of your writing: a message at the foot of the screen offers Undo. Checks lists what the project has switched off, with Check again beside each. - English books, and chapters. It follows the book's language, under Edit details, as the spellchecker does, and checks chapters only. A book in another language is not checked, and neither are notes and wiki pages.
- On your device, and not AI. It follows written grammar rules and runs in your browser: your writing is not sent anywhere to be checked. It uses the same checker as the spellchecker, so turning it on downloads about 8 MB the first time (nothing more if the spellchecker is on already), your browser keeps it so that it works offline from then on, and it needs about 250 MB of memory while it is on, so an older phone may find it heavy. Turning it off gives the memory back.
Style checks
Style checks mark the words and sentences of a chapter that you may want to look at again, and list them beside the page. They are a view to look through, not corrections: nothing in your text changes, and what to do about a mark is up to you. They are off until you turn them on. Tick Style checks in Checks (the button at the right of the tools above the page, Checks under the text on a phone, or Checks… in the … menu). (On a phone you can also open the Wiki drawer, choose its Style tab and press Turn on the style checks.) A Style tab then opens in the panel beside the page, and the text is marked in four ways:
- Overused words are filled in, like a highlighter, and listed with how often they come ("looked, 34 times"). A word is listed when the chapter uses it at least 6 times, at least 3 times in every 1,000 words, and clearly more than the rest of your book does. A word you use that much everywhere is your book's own vocabulary, so it is listed only once it reaches 7 in every 1,000. While the rest of your book is shorter than 5,000 words there is nothing to compare with, and a word needs 5 in every 1,000. Small words such as "the" and "was", plain tags such as "said" and "asked", the names in your story wiki, and any word that is always written with a capital in the middle of a sentence are not counted. At most ten are listed.
- Repeated words are boxed in a thin line: the same word of four letters or more, twice within 8 words. Only the narration is looked at. Speech repeats itself, so two words that are both inside quotation marks are left alone, and so are "again and again" and "step by step".
- Long sentences have a faint wash behind them: sentences of 40 words or more. The list shows the longest, thirty at most, with their lengths.
- Adverbs and filler words have a light band across the lower half of the word: words ending in "ly" that are adverbs ("slowly", "suddenly"; words such as "family", "early", "only" and "friendly" are not adverbs and are left alone) and words such as "just", "really", "very", "quite", "rather", "actually", "simply", "perhaps" and "a bit". Every one is marked. The list shows the ten used most, once a word is used 3 times or more, with how many times in every 1,000 words it comes and how many in the rest of your book. They are not mistakes, and the list never says so: good writing uses them, and this only shows how often. Dialogue is left out, because people speak that way; tick Look inside dialogue too to include it.
Choose an item in the list to see it in the chapter. A word goes to its next place in the text (the arrow beside it goes back to the one before), and a repeat or a sentence is selected. The four boxes at the top of the tab let you look at one kind at a time, and unticking all four turns the style checks off. Check again looks again at once. Otherwise the marks follow your text as you edit, and the list looks again a few seconds after you stop typing, never on each key.
- English books only. The word lists are English. A book in another language gets no marks, and the tab says so.
- On your device, and not AI. The style checks count words and follow plain rules, in your browser. Your writing is not sent anywhere to be checked. They do not use the spellchecker's program: the only thing fetched is a small script, about 170 KB, which your browser keeps so that they work offline afterwards. They stay quick in a very long chapter and use little memory. Your choice goes with your project, and focus mode hides the marks.
A reference beside the chapter
The Reference button opens a pane beside the chapter you are writing, to read and copy from while you type. It can show another chapter, a note, or a page of your story wiki. Choose what it shows in the box at its top: chapters, then notes, then your wiki's pages by category, with maps first. The magnifying glass (Find a page) finds a wiki page or a map by its name.
- A wiki page shows as it reads in the wiki: its details, its text and any pages it embeds. Its links work: choose one and that page shows in the pane, and the arrow at the top left goes Back.
- A map shows its picture with its pins. Zoom in and out with the buttons above it, or with Ctrl and the scroll wheel, and drag to move around. Choose a pin (or a name in the list under the map) and its page shows in the pane; Back returns to the map.
- This chapter's place. When the chapter's Where in the story names a page, the pin button at the top of the pane (This chapter's place) shows it in one press: the map that pins the place, with that pin ringed (the most detailed map, when several pin it), else the place's own map, else the place's page. A chapter that says no place has no such button. The ring is only for that press: it is not kept for the next chapter.
- It can only be read. Change a page in the wiki itself (choose Open to go there). What it shows follows your changes as they are saved, here, in another tab or on another device.
- It stays. The pane remembers what it shows, and whether it was open, on this device: it is there in your next chapter and after a reload.
- Beside the wiki panel. On a wide screen (1,600 pixels, or 1,400 with the chapter list closed) the pane sits between the chapter and the wiki panel, and you see both. On a narrower screen it takes the wiki panel's place: choose the wiki panel's button (or press ]) to see the panel again, and Reference to bring the pane back as you left it.
- From the wiki. In a wiki page's … menu, Open beside a chapter opens the chapter you last wrote in with the page in the pane. A page you opened from the wiki panel, which lies over part of your text, moves into the pane with Keep beside the chapter (the panel button at its top).
A phone has no Reference pane: there is no room beside the text.
Quick capture
Press Alt+Shift+I, or the + in the top bar, to jot down an idea without leaving the page. It adds a line with the date and time to a note called Inbox (in Notes), and makes the note the first time. To keep a passage from a chapter, select it and choose Send to Inbox note in the little bar that appears. The text stays in the chapter.
To put it on a wiki page instead, choose Add to page… in the Quick capture box. Opened on a chapter, the line ends “(from chapter 7)”, with a tick to leave that out.
Editing keys
The editor uses the standard keys of CodeMirror, the editor library it is built on.
| Keys | Does |
|---|---|
| Ctrl+Z | Undo. Also undoes status changes and alternatives |
| Ctrl+Y or Shift+Ctrl+Z | Redo |
| Ctrl+A | Select everything |
| Ctrl+Left / Right | Move one word (on a Mac, Option+Left / Right) |
| Alt+Up / Down | Move the line up or down |
| Shift+Ctrl+K | Delete the line |
Phones and tablets
The editor asks your device for spell-check and, for most languages, a capital at the start of each sentence. For books in Chinese, Japanese, Korean, Thai, Arabic, Hebrew and similar languages it turns capitals and auto-correct off, because they get in the way of those keyboards. The bottom bar has the Library, Chapters, Wiki and Notes.