Nautical Poseidon Mythology

    remark-typography
    TypeScript icon, indicating that this package has built-in type declarations

    0.6.3 • Public • Published

    remark-typography

    Remark plugin to fix typography: quotes, dashes and so on.

    page on codsen.com page on npm page on github Downloads per month changelog MIT Licence

    Install

    This package is not pure ESM, you can require it.

    npm i remark-typography

    Quick 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.

    Contributing

    To report bugs or request features or assistance, raise an issue on GitHub.

    Licence

    MIT License.

    Copyright © 2010-2022 Roy Revelt and other contributors.

    ok codsen star

    Install

    npm i remark-typography

    DownloadsWeekly Downloads

    147

    Version

    0.6.3

    License

    MIT

    Unpacked Size

    95.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • royston