srs-document/node_modules/@unified-latex/unified-latex-prettier/README.md
2025-03-24 15:42:48 +07:00

25 lines
791 B
Markdown

<!-- DO NOT MODIFY -->
<!-- This file was autogenerated by build-docs.ts -->
<!-- Edit the docstring in index.ts and regenerate -->
<!-- rather than editing this file directly. -->
# unified-latex-prettier
## What is this?
A [Prettier](https://prettier.io/) plugin for formatting and pretty-printing LaTeX source code.
## When should I use this?
If you want to construct a `Prettier` instance that has LaTeX parsing abilities.
You should probably use the `prettier-plugin-latex` package instead of directly accessing this package.
## Install
```bash
npm install @unified-latex/unified-latex-prettier
```
This package contains both esm and commonjs exports. To explicitly access the esm export,
import the `.js` file. To explicitly access the commonjs export, import the `.cjs` file.