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
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
-
# github-embedder
1
+
# markdown-embedder
2
2
3
3
> Anyway, sorry for my English. Pull request for me if you insist on improvement this document :)
4
4
5
5
This package is for getting a context from external link that should contain a raw markdown only, then we will convert into HTML element and render to `.g-embed` class.
6
6
7
7
## Usage
8
8
9
-
Import a script `git-embbeder.js` from `dist` folder into bottom of your page.
9
+
Import a script `markdown-embbeder.js` from `dist` folder into bottom of your page.
10
10
11
11
> Note: this script not work inside `<head>` tag and only working after all page rendered. that meaning you should add this script into bottom of you site before your `</body>` close tag
Then add any HTML element that contain a `class="g-embed"` attribute with your external link of raw markdown in `data-url="http://example.com/markdown.md"`
0 commit comments