remark-typography
v0.8.5
Published
Remark plugin to fix typography: quotes, dashes and so on.
Downloads
68,473
Maintainers
Readme
Install
This package is pure ESM.
npm i remark-typographyQuick Take
import { strict as assert } from "node:assert";
import { remark } from "remark";
import fixTypography from "remark-typography";
(async () => {
assert.equal(
(await remark().use(fixTypography, {}).process("Yes that's true but..."))
.toString()
.trim(),
"Yes that\u2019s true\u00A0but\u2026",
);
})();Documentation
Please visit codsen.com for a full description of the API. For Changelog, see raw md on GitHub or the website.
Contributing
To report bugs or request features or assistance, raise an issue on GitHub.
Licence
MIT License
Copyright © 2010-2026 Roy Revelt and other contributors
