@@ -6,7 +6,7 @@ CSS, syntax highlighting, and HTML sanitization.
6
6
## Usage
7
7
8
8
``` js
9
- import { CSS , render } from " jsr:@deno/gfm@0.6 " ;
9
+ import { CSS , render } from " jsr:@deno/gfm" ;
10
10
11
11
const markdown = `
12
12
# Hello, world!
@@ -83,7 +83,7 @@ By default syntax highlighting for JavaScript, Markdown, and HTML is included.
83
83
You can include more languages importing them:
84
84
85
85
``` js
86
- import { CSS , render } from " jsr:@deno/gfm@0.6 " ;
86
+ import { CSS , render } from " jsr:@deno/gfm" ;
87
87
88
88
// Add support for TypeScript, Bash, and Rust.
89
89
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
100
100
render some inline markdown, and this is achievable using the ` inline ` setting:
101
101
102
102
``` ts
103
- import { render } from " jsr:@deno/gfm@0.6 " ;
103
+ import { render } from " jsr:@deno/gfm" ;
104
104
105
105
const markdown = " My [Deno](https://deno.land) Blog" ;
106
106
const header = render (markdown , { inline: true });
@@ -113,7 +113,7 @@ By default math rendering is disabled. To enable it, you must include the
113
113
additional CSS and enable the ` allowMath ` setting:
114
114
115
115
``` ts
116
- import { CSS , KATEX_CSS , render } from " jsr:@deno/gfm@0.6 " ;
116
+ import { CSS , KATEX_CSS , render } from " jsr:@deno/gfm" ;
117
117
118
118
const markdown = `
119
119
Block math:
0 commit comments