Arkpad
FeaturesTypography

Typography

Smart typographic replacements for special characters.

Type: Extension

Typography automatically replaces plain text patterns with typographically correct characters, such as converting (c) to © or != to .

Demo

Installation

import { Typography } from "@arkpad/extension-typography";

Typographic Rules

The extension automatically replaces the following sequences as you type:

Symbols & Punctuation

Type sequenceReplaced characterDescription
---Em dash
--En dash
...Ellipsis
(c)©Copyright
(r)®Registered Trademark
(tm)Trademark

Arrows

Type sequenceReplaced characterDescription
->Right arrow
<-Left arrow
=>Double right arrow
<=Double left arrow

Math & Fractions

Type sequenceReplaced characterDescription
1/2½One half
1/4¼One quarter
3/4¾Three quarters
!=Not equal to
+-±Plus-minus

Smart Quotes

The extension embeds a custom ProseMirror plugin that dynamically converts standard straight quotes into curly "smart" quotes depending on context (e.g. inserting an opening quote after spaces or brackets, and a closing quote otherwise):

Quote characterContext-aware replacements
Double quote " (opening) or (closing)
Single quote ' (opening) or (closing)