Skip to content

Commit 2f288c7

Browse files
committed
CUrrent satea
1 parent ce9f555 commit 2f288c7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# @humanspeak/svelte-markdown
1+
# @humanspeak/svelte-diff-match-patch
22

3-
A powerful, customizable markdown renderer for Svelte with TypeScript support. Built as a successor to the original svelte-markdown package by Pablo Berganza, now maintained and enhanced by Humanspeak, Inc.
3+
A powerful, customizable markdown renderer for Svelte with TypeScript support. Built as a successor to the original svelte-diff-match-patch package by Pablo Berganza, now maintained and enhanced by Humanspeak, Inc.
44

5-
[![NPM version](https://img.shields.io/npm/v/@humanspeak/svelte-markdown.svg)](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
6-
[![Build Status](https://github.com/humanspeak/svelte-markdown/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/humanspeak/svelte-markdown/actions/workflows/npm-publish.yml)
7-
[![Coverage Status](https://coveralls.io/repos/github/humanspeak/svelte-markdown/badge.svg?branch=main)](https://coveralls.io/github/humanspeak/svelte-markdown?branch=main)
8-
[![License](https://img.shields.io/npm/l/@humanspeak/svelte-markdown.svg)](https://github.com/humanspeak/svelte-markdown/blob/main/LICENSE)
9-
[![Downloads](https://img.shields.io/npm/dm/@humanspeak/svelte-markdown.svg)](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
10-
[![CodeQL](https://github.com/humanspeak/svelte-markdown/actions/workflows/codeql.yml/badge.svg)](https://github.com/humanspeak/svelte-markdown/actions/workflows/codeql.yml)
11-
[![Install size](https://packagephobia.com/badge?p=@humanspeak/svelte-markdown)](https://packagephobia.com/result?p=@humanspeak/svelte-markdown)
5+
[![NPM version](https://img.shields.io/npm/v/@humanspeak/svelte-diff-match-patch.svg)](https://www.npmjs.com/package/@humanspeak/svelte-diff-match-patch)
6+
[![Build Status](https://github.com/humanspeak/svelte-diff-match-patch/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/humanspeak/svelte-diff-match-patch/actions/workflows/npm-publish.yml)
7+
[![Coverage Status](https://coveralls.io/repos/github/humanspeak/svelte-diff-match-patch/badge.svg?branch=main)](https://coveralls.io/github/humanspeak/svelte-diff-match-patch?branch=main)
8+
[![License](https://img.shields.io/npm/l/@humanspeak/svelte-diff-match-patch.svg)](https://github.com/humanspeak/svelte-diff-match-patch/blob/main/LICENSE)
9+
[![Downloads](https://img.shields.io/npm/dm/@humanspeak/svelte-diff-match-patch.svg)](https://www.npmjs.com/package/@humanspeak/svelte-diff-match-patch)
10+
[![CodeQL](https://github.com/humanspeak/svelte-diff-match-patch/actions/workflows/codeql.yml/badge.svg)](https://github.com/humanspeak/svelte-diff-match-patch/actions/workflows/codeql.yml)
11+
[![Install size](https://packagephobia.com/badge?p=@humanspeak/svelte-diff-match-patch)](https://packagephobia.com/result?p=@humanspeak/svelte-diff-match-patch)
1212
[![Code Style: Trunk](https://img.shields.io/badge/code%20style-trunk-blue.svg)](https://trunk.io)
1313
[![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/)
14-
[![Types](https://img.shields.io/npm/types/@humanspeak/svelte-markdown.svg)](https://www.npmjs.com/package/@humanspeak/svelte-markdown)
15-
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/humanspeak/svelte-markdown/graphs/commit-activity)
14+
[![Types](https://img.shields.io/npm/types/@humanspeak/svelte-diff-match-patch.svg)](https://www.npmjs.com/package/@humanspeak/svelte-diff-match-patch)
15+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/humanspeak/svelte-diff-match-patch/graphs/commit-activity)
1616

1717
## Features
1818

@@ -57,14 +57,14 @@ A powerful, customizable markdown renderer for Svelte with TypeScript support. B
5757
## Installation
5858

5959
```bash
60-
npm i -S @humanspeak/svelte-markdown
60+
npm i -S @humanspeak/svelte-diff-match-patch
6161
```
6262

6363
Or with your preferred package manager:
6464

6565
```bash
66-
pnpm add @humanspeak/svelte-markdown
67-
yarn add @humanspeak/svelte-markdown
66+
pnpm add @humanspeak/svelte-diff-match-patch
67+
yarn add @humanspeak/svelte-diff-match-patch
6868
```
6969

7070
## External Dependencies
@@ -95,7 +95,7 @@ This package carefully selects its dependencies to provide a robust and maintain
9595

9696
```svelte
9797
<script lang="ts">
98-
import SvelteMarkdown from '@humanspeak/svelte-markdown'
98+
import SvelteMarkdown from '@humanspeak/svelte-diff-match-patch'
9999
100100
const source = `
101101
# This is a header
@@ -122,7 +122,7 @@ import type {
122122
Token,
123123
TokensList,
124124
SvelteMarkdownOptions
125-
} from '@humanspeak/svelte-markdown'
125+
} from '@humanspeak/svelte-diff-match-patch'
126126
```
127127

128128
## Custom Renderer Example
@@ -147,7 +147,7 @@ Here's a complete example of a custom renderer with TypeScript support:
147147
</a>
148148
```
149149

150-
If you would like to extend other renderers please take a look inside the [renderers folder](https://github.com/humanspeak/svelte-markdown/tree/main/src/lib/renderers) for the default implentation of them. If you would like feature additions please feel free to open an issue!
150+
If you would like to extend other renderers please take a look inside the [renderers folder](https://github.com/humanspeak/svelte-diff-match-patch/tree/main/src/lib/renderers) for the default implentation of them. If you would like feature additions please feel free to open an issue!
151151

152152
## Advanced Features
153153

@@ -240,7 +240,7 @@ The `html` renderer is special and can be configured separately to handle HTML e
240240
You can customize HTML rendering by providing your own components:
241241

242242
```typescript
243-
import type { HtmlRenderers } from '@humanspeak/svelte-markdown'
243+
import type { HtmlRenderers } from '@humanspeak/svelte-diff-match-patch'
244244

245245
const customHtmlRenderers: Partial<HtmlRenderers> = {
246246
div: YourCustomDivComponent,
@@ -254,7 +254,7 @@ The component emits a `parsed` event when tokens are calculated:
254254

255255
```svelte
256256
<script lang="ts">
257-
import SvelteMarkdown from '@humanspeak/svelte-markdown'
257+
import SvelteMarkdown from '@humanspeak/svelte-diff-match-patch'
258258
259259
const handleParsed = (tokens: Token[] | TokensList) => {
260260
console.log('Parsed tokens:', tokens)

0 commit comments

Comments
 (0)