Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
retrokiller543 authored Jul 5, 2023
1 parent a7fb6ae commit 197e8bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This forked version includes additional features such as a download button for c
1. Add this forked version of `Markdig.Prism` to your project.

```powershell
dotnet add package YourPackageName --version 1.0.0
dotnet add package WebStoating.Markdig.PrismWithPlugins --version 1.0.0
```

2. Create Markdig pipeline
Expand All @@ -21,7 +21,7 @@ private static readonly MarkdownPipeline MarkdownPipeline = new MarkdownPipeline
.Build();
```

3. Download [Prism](https://prismjs.com/download.html) and add it to your Razor page or layout template. Make sure to include the additional JavaScript required for the new features.
3. Download [Prism](https://prismjs.com/download.html) and add it to your Razor page or layout template. Make sure to include the additional JavaScript required for the plugins.

```html
<!DOCTYPE html>
Expand All @@ -33,6 +33,7 @@ private static readonly MarkdownPipeline MarkdownPipeline = new MarkdownPipeline
<body>
...
<script src="prism.js"></script>
<!--This would be where to put the aditiional javascript if needed for the plugin you need-->
<script src="yourAdditionalScript.js"></script>
</body>
</html>
Expand Down

0 comments on commit 197e8bd

Please sign in to comment.