Skip to content

Commit

Permalink
Fix example usage of compiler plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed Jul 6, 2024
1 parent f6b2632 commit 3c314a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const plugin: RstCompilerPlugin = {
}

const compiler = new RstToHtmlCompiler()
this.usePlugin(plugin)
compiler.usePlugin(plugin)
```

All of the built-in Directives and InterpretedText in the compiler are implemented as plugins as well.
Expand Down

0 comments on commit 3c314a5

Please sign in to comment.