Wakigaki
the document editor. A writing application with styles, pagination, review mode, attachments, and eleven interface languages — in one file.
On the iPhone: A Jimae file saved on an iPhone will not run by itself. See steps to install and use Jimae there.
Wakigaki is inspired by Bento, the self-contained presentation application that demonstrated how the file itself can carry the complete tool. Developed with the assistance of OpenAI Codex GPT 5.6.
Wakigaki is proprietary source-available software. All rights reserved; redistribution requires explicit written permission.
Wakigaki Help
This file is the whole application
Wakigaki contains the document, editor, reader, formatting system, embedded images, comments, history, help, and printing behavior in one HTML file. It does not load libraries, fonts, templates, or code from the internet.
In case you’re asking: Wakigaki (脇書き) means “notes written alongside” in Japanese. A good name for a document editor? Sure, why not.
Complete carries every shipped language and advanced material. Compact keeps the same signed application inventory and editor, but carries only the selected language bodies. To renew Compact, open its document in a newer Complete and create a new Compact copy.
Saving and ownership
Save preserves this file’s Complete or Compact profile. The distributed seed is named Wakigaki.html, so its first save always asks for a new name.wakigaki.html file. Browsers with direct file writing update the chosen file on later saves; other browsers download a fresh copy. Either way, the result remains independently editable.
The browser’s Save Page As command is not Wakigaki’s Save. What it writes depends on the browser and the option chosen — the page as it was served, or the page as the browser is showing it — and neither passes through Wakigaki’s trusted save path, so the copy may lack your latest edits or not open at all. Save and Save as are the copies Wakigaki stands behind; treat a Save Page As copy as the browser’s file, not as a Wakigaki document.
Save, Open/import, encryption, and image embedding are whole-document operations. Wakigaki pauses editing, reports progress, and offers Cancel until cancellation is no longer safe, so the operation cannot silently race new edits.
Document properties — author, subject, keywords, and a description — are stored inside the document; open them with the Properties button.
Writing and formatting
Use Styles for titles, headings, quotations, compact paragraphs, and code; the same dialog holds the document defaults every style inherits from. Character controls cover font, size, bold, italic, underline, strikethrough, superscript, subscript, color, highlighting, and clearing formatting. Layout controls cover alignment, lists, checklists, line spacing, space before and after, left and right indents, first-line or hanging indents, and paragraph-flow settings. Mixed values in a multi-paragraph selection remain unchanged unless you replace them.
Open List options while the caret is in a list to set decimal, lettered, or Roman markers, outline numbering that names an item by its whole path, the number the list starts at or a count continued from the previous list, and a bulleted list’s disc, circle, square, dash, or triangle marker.
Modify any style, or create your own based on an existing one; pressing Enter at the end of a paragraph starts whatever style that style names as its next.
Select text before applying text color or highlight. The eraser beside them removes bold, italic, color, highlight, and other character styling from the selection. The browser’s selection tint remains until you move the caret; it is not document highlighting.
Viewing options in the top bar shows or hides the ruler and the text boundaries. The ruler starts hidden whenever a file opens and is never saved anywhere; the boundaries are the corner marks around the text area, they travel with the file, and turning them off is an ordinary undoable change. The ruler marks inches across the whole sheet, with zero at the left margin, and shows the selected paragraphs’ indents and tab stops. Click to add a tab, select it and open Tab options to change alignment or leader, drag or use Left/Right Arrow to move a marker, hold Shift for larger keyboard steps, and press Delete to remove a selected tab stop.
The zoom control in the top bar scales the document page. When the ruler is shown, it scales with the page so its inch marks remain aligned.
Select an image to resize it: drag the handle at its lower corner, or focus that handle and use Left/Right Arrow, holding Shift for finer steps; Escape abandons a drag. With an image selected, the image button opens its properties — alternative text for assistive technology, a title shown on hover, a caption, alignment, an exact width, a crop and quarter turns, and whether the picture stands in its own block, floats to one side with the text wrapping beside it, or sits inside the text line. Images remain editable inside column frames.
Use Heading numbering beside Styles to number Heading 1–3. Choose a format and start for each level, or exclude or restart the selected heading. Title and Subtitle stay unnumbered; page sections do not reset heading numbers.
Editing controls
On narrow touch screens, the document stays in the default editing view. The top bar keeps only the title, the available Save action, and More; the eight-button strip above the keyboard keeps Undo, Redo, Styles, Bold, Italic, Comment, Insert, and more formatting. More holds document actions. Native touch selection, Cut/Copy/Paste, scrolling, and pinch zoom remain available.
At tablet widths, the top bar keeps Outline, zoom, Comments, Review, and Save; More holds New, Open, Launch, Print, Export, Properties, Viewing options, and Language.
Structure and review
Headings build the outline automatically. Insert tables, embedded images, links, footnotes, rules, and page breaks from the toolbar. Select text before adding a comment; its metadata and anchor are one undoable change, and replies travel with the file. History separates portable checkpoints from browser-only safety copies, and lets you restore or delete individual versions or purge either collection.
Number a captioned image or table from its properties and the caption prints that number in the document’s language; a cross-reference inserted from the toolbar repeats the label and follows it when the number changes.
Insert or edit a table of contents from the toolbar. Choose Heading 1–3, Title, and page numbers for each table. New tables omit Title by default. Rows update with heading edits and link to their headings. A Word copy carries the choices in a real table-of-contents field.
Tap a tinted comment range to edit its scrollable card. A footnote opens a shared bottom dock while its one canonical body remains in the document.
Inside a table, choose Table to add, remove, move, or evenly size rows and columns; merge the selected cells or split a merged one; set header rows, width, alignment, caption, preset, and cell styling; or drag a column divider. Removing the final row or column removes the table. A table too tall for a page splits between row groups that no merged cell crosses and redraws its header rows; an oversized merged group continues at measured text-line boundaries while remaining editable.
Review in the top bar records text insertions and deletions, character formatting, footnote text edits, and paragraph joins as pending changes. Give the name they are recorded under, and the review bar walks between changes and accepts or rejects them one at a time or all at once; every decision is a single undoable step. Your name is stored in the document and travels with every copy. Links, paragraph formatting, named styles, and structure apply immediately and are not tracked. Printing, export, and Compact copies publish the clean draft, as if every pending change were rejected.
A file built from the clean draft asks before it is written; printing publishes it silently. Copying does the opposite: a copied selection carries every pending change accepted, because a change is a proposal about this document and means nothing in the one you paste into. On a narrow screen the pending changes are visible but cannot be decided this iteration, and a document still carrying them will not open in a Wakigaki older than review.
Outline and Comments in the top bar open their side panels; the highlighted button shows which panel is open.
Pages and printing
Page controls set paper size, orientation, four independent margins, plain-text headers and footers with alignment, and page-number position and starting value for the section the cursor is in; body and heading fonts, text color, body size, line spacing, and paragraph spacing are the document defaults, and live in Styles. Normal, Narrow, and Wide are convenient starting points; editing any side creates custom margins. Wakigaki shows authoritative page boundaries while you edit and enforces manual breaks, page-break-before, keep-with-next, keep-lines-together, and widow/orphan control. Images, tables, and footnotes stay together when they fit. Running content repeats inside the existing top and bottom margins on screen and in print. Print uses the same boundaries and removes the editor interface so your browser can send the result to paper or PDF.
Page-bottom footnotes use no more than one-third of a page while body text shares it. Longer notes continue on later pages, using the full page once a page holds nothing but the continuation, with at least three text lines in every split fragment.
Footnote numbers in Page controls set the format every note is spelled in — decimal, lettered, or Roman — and the number the first note carries, so a chapter can continue the count the one before it ended on.
Printed output keeps comment tint because it is visually identical to ordinary highlighting, but omits comment ticks, cards, bodies, and replies.
A section break opens a section on the next page or continuously on the current physical page when its paper and margins agree. Each section can keep its own paper, orientation, margins, headers, footers, page numbering, and one to three columns, or follow the document. Columns may have equal or explicit unequal widths and a uniform gutter; a column break advances to the next column. A section either continues the page count or restarts it on its next physical sheet. Running content has optional first-page and odd/even variants in every section.
Export and interchange
DOCX preserves editable text, lists, tables, table styling, caption paragraphs, images, footnotes, sections with their page layout, headers, footers, and page numbers. Table-caption association, comments, and unsupported images are omitted.
DOCX is always a separate, unencrypted copy. Comments and replies, checkpoints, recovery history, encryption, internal-anchor links, and unsupported image codecs do not travel. Word-compatible readers may substitute fonts and repaginate.
Open accepts Wakigaki, Word, Markdown, and plain-text files. Imports become new documents after bounded parsing and validation. Word import preserves supported text and formatting, heading numbering, links, lists, merged tables, images, footnotes, contents settings, and section layout including columns and running content. Unsupported features are reported; Word may paginate differently.
Preserves common writing structure, tables, readable table captions, small images, and page breaks. Table styling, Wakigaki-only layout, and comments are omitted.
Compact Open accepts Wakigaki and plain-text files. Markdown import, Word import, and DOCX export are available in Complete.
Compact exports Markdown with the same shared writer. Complex output whose factored handler is not onboard is marked [elided].
Footnote references remain readable and note bodies become a numbered section, but importing that Markdown does not reconstruct Wakigaki footnote relations.
Preserves readable text, table captions and cells, image and footnote text, and page breaks. Styling and caption association are removed.
Raw Markdown HTML stays literal and external images are never fetched. Exported interchange copies are separate, unencrypted files and do not change the open document.
Attachments
A document can carry files inside itself. Wakigaki keeps their bytes unchanged, and can present plain text, PNG, JPEG, GIF, WebP, AVIF, MP3, WAV, WebM, and PDF in a browser tab through a fixed list of passive viewers.
The paperclip in the top bar, or Attachments under More on a narrow screen, lists what this document carries and offers Add files at the bottom. One trip through the picker is one undoable step however many files it selects, and cancelling leaves the document exactly as it was. A file the document has no room for is named, told how much room is left, and skipped; the files behind it still land. Each line takes a description, free text and yours to write, edited like any other text.
Open appears only when the recorded type exactly names one of those passive formats. Wakigaki always supplies that fixed passive type to the browser. If the bytes look mismatched, it warns before proceeding but never switches viewers. HTML, SVG, missing types, and every other type stay export-only. Export writes any attachment back to disk under the name it arrived with.
Encryption covers attachments by the same act that encrypts the writing. No export format carries them, a Compact copy is created without them, and a restored browser safety copy carries no attachment bytes of its own: it keeps the files the open document can still supply, drops the rest, and names each one it dropped.
Launching other Jimae files, and iPhone
Open loads another file into the current app. Launch starts the app carried by the selected Jimae file, replacing this page.
Launch runs a Jimae file in its own application, replacing this page, only after its application signature and material verify against the family release key. Complete and Compact use the same signature; a missing or invalid signature is refused, without an override. To recover an older file, Open it in a trusted current Wakigaki and Save: supported data is read without running the old application. Nothing from the selected file enters this document.
On iPhone, a saved Jimae file will not run by itself. Open Wakigaki from the family site instead, add it to the Home Screen, and launch it once while online: the About box then says Ready offline. From then on the Home Screen app runs with no connection, and its Open and Launch commands read files you have saved to Files — a file that arrived by mail goes there through Share and Save to Files.
Useful shortcuts
⌘S save · ⇧⌘S save as · ⌘P print/PDF · ⌘F find · ⌘K link · ⌘B bold · ⌘I italic · ⌘U underline · ⌘\ clear formatting · ⌥⌘1–⌥⌘3 headings · ⇧⌘7 numbered list · ⇧⌘8 bulleted list.
On Windows and Linux, use Ctrl in place of ⌘ and Alt in place of Option.
Images and privacy
Inserted images are converted to data, deduplicated in the asset table, and embedded in this document. Wakigaki makes no network requests unless you explicitly check for an application update; that check sends no document data or identifier, reads only a signed release manifest, and never downloads or runs application code. Optional password encryption protects what the document carries, not the shell around it; the website records the construction. Encrypted documents do not write plaintext recovery or automatic versions to browser storage, and a forgotten password cannot be recovered.
Compact makes no network requests. Optional password encryption protects what the document carries, not the shell around it; the website records the construction. Encrypted documents do not write plaintext recovery or automatic versions to browser storage, and a forgotten password cannot be recovered.
Languages and scripting
Interface language changes Wakigaki’s menus, buttons, dialogs, and messages.
Document language controls line breaking, word counting, and assistive technology. Wakigaki passes it to native browser proofing, but the browser decides whether checking, dictionaries, and suggestions are available. It does not translate your writing.
Choose Spelling and Grammar for browser-provided proofing, if available. In desktop Chromium, right-click text and open Spell check. Wakigaki does not list issues, move between issues, apply suggestions, ignore words, or keep a dictionary. Basic spell check can be local; Enhanced spell check may send text to the browser provider, and Wakigaki cannot inspect or change that browser setting.
Document statistics
Statistics reports words, characters with and without spaces, paragraphs, and pages for the document and your current text or table-cell selection. It counts authored text, headings, table cells, notes, and captions; it excludes generated contents, labels, comments, and repeated page content. Pending insertions count and pending deletions do not. Page totals wait for the current pagination pass, and opening Statistics does not change your selection.
Format
The canonical structured document is stored in a versioned compressed envelope in the wakigaki-doc script block near the top of this source unless password encryption is enabled. The envelope is expanded and validated locally before use. The Wakigaki format carries explicit four-sided page margins, paragraph right-indent, tab-stop/leader and flow metadata, and bounded page layout for the document and its sections, including columns and running content through the page, ruler, and paragraph controls; window.wakigaki.doc; load(); formatting.paragraph(); checkpoints; recovery; saving; opening; and encryption. The controls are projections of that model, never a second layout store. Measured line positions, page sheets, rendered header/footer/page-number copies, and pagination gaps are disposable renderer state and are never serialized. Header and footer text is inserted as text on screen and in the print fallback; browsers with margin-box support receive escaped print CSS strings. The bundled editor runtime is compressed in a separate inert script block and expanded locally at startup.
The read-only window.wakigaki.interchange.markdown() and window.wakigaki.interchange.text() methods return projections of the current canonical model; they never make Markdown or plain text canonical document state.