Package Exports
- remark-typography
- remark-typography/dist/remark-typography.cjs.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-typography) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
remark-typography
Remark plugin to fix typography: quotes, dashes and so on.
Install
This package is not pure ESM, you can require it.
npm i remark-typographyQuick Take
import { strict as assert } from "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. If you’re looking for the Changelog, it’s here.
Contributing
To report bugs or request features or assistance, raise an issue on GitHub.
Licence
MIT License
Copyright © 2010-2025 Roy Revelt and other contributors
![]()