Skip to content

Commit f26f51d

Browse files
author
Sethen Maleno
committed
Small changes to documentation
1 parent 7447367 commit f26f51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/how_to_make_plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ markdownInclude.registerPlugin({
4141

4242
This gives you free range to do whatever you want with the tag you want to replace. Once the tag is encountered markdown-include will run the function.
4343

44-
After the tag and it's replacement is registed, it's business as usual:
44+
After the tag and it's replacement is registered, it's business as usual:
4545

4646
```javascript
4747
markdownInclude.compileFiles('../path/to/markdown.json').then(function () {
@@ -51,7 +51,7 @@ markdownInclude.compileFiles('../path/to/markdown.json').then(function () {
5151

5252
You can also use another form of registering a plugins if it fits your coding style better:
5353

54-
```
54+
```javascript
5555
markdownInclude.registerPlugin(/^#.+ !myTag/gm, function (tag) {
5656
return 'my replacement!';
5757
});

0 commit comments

Comments
 (0)