You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
-
# @humanspeak/svelte-markdown
1
+
# @humanspeak/svelte-diff-match-patch
2
2
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.
@@ -57,14 +57,14 @@ A powerful, customizable markdown renderer for Svelte with TypeScript support. B
57
57
## Installation
58
58
59
59
```bash
60
-
npm i -S @humanspeak/svelte-markdown
60
+
npm i -S @humanspeak/svelte-diff-match-patch
61
61
```
62
62
63
63
Or with your preferred package manager:
64
64
65
65
```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
68
68
```
69
69
70
70
## External Dependencies
@@ -95,7 +95,7 @@ This package carefully selects its dependencies to provide a robust and maintain
95
95
96
96
```svelte
97
97
<script lang="ts">
98
-
import SvelteMarkdown from '@humanspeak/svelte-markdown'
98
+
import SvelteMarkdown from '@humanspeak/svelte-diff-match-patch'
99
99
100
100
const source = `
101
101
# This is a header
@@ -122,7 +122,7 @@ import type {
122
122
Token,
123
123
TokensList,
124
124
SvelteMarkdownOptions
125
-
} from'@humanspeak/svelte-markdown'
125
+
} from'@humanspeak/svelte-diff-match-patch'
126
126
```
127
127
128
128
## Custom Renderer Example
@@ -147,7 +147,7 @@ Here's a complete example of a custom renderer with TypeScript support:
147
147
</a>
148
148
```
149
149
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!
151
151
152
152
## Advanced Features
153
153
@@ -240,7 +240,7 @@ The `html` renderer is special and can be configured separately to handle HTML e
240
240
You can customize HTML rendering by providing your own components:
0 commit comments