Skip to content

Commit a67486f

Browse files
authored
docs: do not recommend outdated version in README (#122)
1 parent 858d976 commit a67486f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CSS, syntax highlighting, and HTML sanitization.
66
## Usage
77

88
```js
9-
import { CSS, render } from "jsr:@deno/gfm@0.6";
9+
import { CSS, render } from "jsr:@deno/gfm";
1010

1111
const markdown = `
1212
# Hello, world!
@@ -83,7 +83,7 @@ By default syntax highlighting for JavaScript, Markdown, and HTML is included.
8383
You can include more languages importing them:
8484

8585
```js
86-
import { CSS, render } from "jsr:@deno/gfm@0.6";
86+
import { CSS, render } from "jsr:@deno/gfm";
8787

8888
// Add support for TypeScript, Bash, and Rust.
8989
import "npm:[email protected]/components/prism-typescript.js";
@@ -100,7 +100,7 @@ By default, all rendering is in blocks. There are cases where one would like to
100100
render some inline markdown, and this is achievable using the `inline` setting:
101101

102102
```ts
103-
import { render } from "jsr:@deno/gfm@0.6";
103+
import { render } from "jsr:@deno/gfm";
104104

105105
const markdown = "My [Deno](https://deno.land) Blog";
106106
const header = render(markdown, { inline: true });
@@ -113,7 +113,7 @@ By default math rendering is disabled. To enable it, you must include the
113113
additional CSS and enable the `allowMath` setting:
114114

115115
```ts
116-
import { CSS, KATEX_CSS, render } from "jsr:@deno/gfm@0.6";
116+
import { CSS, KATEX_CSS, render } from "jsr:@deno/gfm";
117117

118118
const markdown = `
119119
Block math:

0 commit comments

Comments
 (0)