# @uidu/code

> Renders inline code snippets and code blocks

Latest version **1.0.1** (published 2024-11-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install @uidu/code
pnpm add @uidu/code
yarn add @uidu/code
bun add @uidu/code
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2024-11-26 |
| First published | 2019-02-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 47.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | uidu |
| Maintainers | apuntovanini, flavio-scimeca, bacco40 |

## Links

- npm: https://www.npmjs.com/package/@uidu/code
- Repository: https://github.com/uidu-org/guidu.git#main
- Homepage: https://github.com/uidu-org/guidu/tree/main#readme
- Issues: https://github.com/uidu-org/guidu/issues
- npm.io page: https://npm.io/package/@uidu/code

## Dependencies (8)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [lowlight](https://npm.io/package/lowlight.md) ^3.2.0
- [@uidu/theme](https://npm.io/package/@uidu/theme.md) ^0.13.1
- [memoize-one](https://npm.io/package/memoize-one.md) ^6.0.0
- [highlight.js](https://npm.io/package/highlight.js.md) ^11.10.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.26.0
- [hast-util-to-jsx-runtime](https://npm.io/package/hast-util-to-jsx-runtime.md) ^2.3.2
- [react-syntax-highlighter](https://npm.io/package/react-syntax-highlighter.md) ^15.6.1

## Recent versions

- 1.0.1 (latest) — 2024-11-26
- 1.0.0 — 2024-11-26
- 0.11.4 — 2024-09-03
- 0.11.3 — 2024-04-29
- 0.11.2 — 2024-04-29
- 0.11.1 — 2024-04-20
- 0.11.0 — 2024-03-21
- 0.10.2 — 2024-02-22
- 0.10.1 — 2024-01-22
- 0.10.0 — 2023-12-14
- 0.9.0 — 2023-10-26
- 0.8.0 — 2023-10-10
- 0.7.0 — 2023-09-07
- 0.6.0 — 2023-08-27
- 0.5.30 — 2023-06-15
- … 83 more at https://npm.io/package/@uidu/code/versions

## README

# Code

Renders inline code snippets and code blocks.

## Installation

```sh
yarn add @uidu/code
```

## Usage

Detailed docs and example usage can be found [here](https://guidu.netlify.com/packages/core/code).

---
_Source: https://npm.io/package/@uidu/code · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
