=== Inkaside ===
Contributors: fabiohuwyler
Tags: notes, annotations, footnotes, handwriting, sidenotes
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quiet, optional notes for essays and editorial articles: inline annotations, sidenotes, handwriting and a reusable note library.

== Description ==

Inkaside lets writers add notes that readers can discover without being interrupted. Write an aside in the margin of your article, in ink or in type. The article stays complete and readable even if every note stays closed.

**Inline annotations.** Select a phrase in a Paragraph or Heading and choose "Add Inkaside note" from the block toolbar. A small circled number appears after the phrase. Readers select it to open the note: below the paragraph, in the page margin on wide screens, or as a small popover. Never on hover, never in a modal.

**Note blocks.** A standalone note you place anywhere in the article, with rich text, an uploaded photo or scan of your handwriting, or a drawing you make directly in the editor with a mouse, pen or finger.

**Transcriptions.** Every handwritten or drawn note has a transcription for screen readers and search. You can show it to everyone or keep it for screen readers only. Inkaside reminds you before publishing if one is missing.

**Note types.** Context, Afterthought, Update and Secret are built in. You can add your own, each with an optional color and an optional "starts collapsed" behavior. Collapsed notes stay hidden until the reader chooses to reveal them.

**Library notes.** Write a note once and place it in any number of posts. Edit it in one place and every post updates.

**All notes.** One admin screen lists every note on your site, with search, filters, a "Needs transcription" view, and links that open each note directly in the editor.

= Made for reading =

* Inherits your theme's typography and colors; works with block and classic themes, light and dark.
* Real buttons with expanded state, visible focus, keyboard support and reduced-motion support.
* Without JavaScript, notes are shown as readable text below their paragraph. Notes print opened.
* Three bundled handwriting fonts (Caveat, Kalam, Patrick Hand), loaded only on posts that use them.
* The small front-end script loads only on posts that contain inline notes.

= Your content stays yours =

Notes are stored in your post content. There are no custom database tables, no accounts, no tracking and no requests to other websites. If you deactivate the plugin, your article text stays intact and visible. Note blocks, handwriting, drawings and library notes keep displaying as simple boxes, and inline notes stay in your content, hidden. Uninstalling removes only the plugin's settings; it never touches your posts or library notes.

== Installation ==

1. In your WordPress admin, go to Plugins > Add New Plugin and search for "Inkaside", or upload the ZIP file under Upload Plugin.
2. Activate Inkaside.
3. In the block editor, select some text and choose "Add Inkaside note" from the toolbar's More menu, or insert an "Inkaside Note", "Handwritten Note", "Drawn Note" or "Library Note" block.
4. Optional: choose how inline notes open, and set your default type and handwriting font, under Inkaside > Settings. Add your own note types under Inkaside > Note types.

== Frequently Asked Questions ==

= Where do inline notes appear? =

By default, in the text flow directly below the paragraph, when the reader selects the circled number. Under Inkaside > Settings you can choose "In the margin on wide screens" or "Popover next to the marker" instead. On phones and narrow layouts, notes always open in the text flow.

= What happens if I deactivate the plugin? =

Your article text stays intact and visible. Note blocks, handwriting, drawings and library notes still display as simple boxes. Inline note text is kept in your content but hidden. Reactivating restores everything.

= Can inline notes contain formatting or images? =

Inline notes are plain text (line breaks are kept), which keeps them safe and robust inside your paragraphs. They can use a handwriting font. For formatting, images, handwriting or drawings, use an Inkaside Note block.

= What should I write in a transcription? =

What the handwriting or drawing says or shows, in plain words. It is read aloud by screen readers, indexed by search engines, and helps readers who find handwriting hard to read.

= What happens to notes if I delete a note type? =

Nothing breaks. Existing notes keep their saved label and look. Only new notes stop offering the deleted type.

= Does Inkaside track readers or load anything from other websites? =

No. There is no tracking, no analytics, and no external request. Fonts and scripts are served from your own site.

= I used an earlier test build of this plugin. How do I switch? =

Deactivate and delete the earlier build, then install Inkaside. Your notes, library notes, note types and settings carry over unchanged. While an earlier build is active, Inkaside stays inactive and shows a notice instead of conflicting with it.

== Screenshots ==

1. Inline notes: circled numbers after phrases; selecting one opens the note below its paragraph.
2. Margin mode: notes open beside the line they belong to on wide screens.
3. Handwritten, drawn and typed notes, with transcriptions.
4. Adding an inline note from the block toolbar.
5. Drawing a note directly in the editor.
6. All notes: every note on the site, with filters and a "Needs transcription" view.
7. Note types: add your own, with color and "starts collapsed".

== Changelog ==

= 1.0.0 =
* First public release: inline annotations, Note blocks with text, handwriting and drawings, transcriptions, note types, library notes, the All notes screen, and in-flow, margin and popover display modes.

== Credits ==

Bundled handwriting fonts, each under the SIL Open Font License 1.1 (see assets/fonts/OFL.txt):

* Caveat, Copyright 2014 The Caveat Project Authors
* Kalam, Copyright (c) 2014 Indian Type Foundry
* Patrick Hand, Copyright (c) 2010-2012 Patrick Wagesreiter
