Skip to content

Commit

Permalink
Update package references
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind committed May 4, 2024
1 parent 7a959f3 commit 1bcab8d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ If you have used and benefitted from this library. Please feel free to buy me a
Install the package from NuGet using `Install-Package ReverseMarkdown` or clone the repository and built it yourself.

<!-- snippet: Usage -->
<a id='snippet-usage'></a>
<a id='snippet-Usage'></a>
```cs
var converter = new ReverseMarkdown.Converter();

string html = "This a sample <strong>paragraph</strong> from <a href=\"http://test.com\">my site</a>";

string result = converter.Convert(html);
```
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L12-L20' title='Snippet source file'>snippet source</a> | <a href='#snippet-usage' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L11-L19' title='Snippet source file'>snippet source</a> | <a href='#snippet-Usage' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Will result in:
Expand All @@ -43,7 +43,7 @@ This a sample **paragraph** from [my site](http://test.com)
The conversion can be customized:

<!-- snippet: UsageWithConfig -->
<a id='snippet-usagewithconfig'></a>
<a id='snippet-UsageWithConfig'></a>
```cs
var config = new ReverseMarkdown.Config
{
Expand All @@ -59,7 +59,7 @@ var config = new ReverseMarkdown.Config

var converter = new ReverseMarkdown.Converter(config);
```
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L28-L44' title='Snippet source file'>snippet source</a> | <a href='#snippet-usagewithconfig' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L27-L43' title='Snippet source file'>snippet source</a> | <a href='#snippet-UsageWithConfig' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

## Configuration options
Expand Down
8 changes: 4 additions & 4 deletions README.source.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ If you have used and benefitted from this library. Please feel free to buy me a
Install the package from NuGet using `Install-Package ReverseMarkdown` or clone the repository and build it yourself.

<!-- snippet: Usage -->
<a id='snippet-usage'></a>
<a id='snippet-Usage'></a>
```cs
var converter = new ReverseMarkdown.Converter();

string html = "This a sample <strong>paragraph</strong> from <a href=\"http://test.com\">my site</a>";

string result = converter.Convert(html);
```
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L12-L20' title='Snippet source file'>snippet source</a> | <a href='#snippet-usage' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L11-L19' title='Snippet source file'>snippet source</a> | <a href='#snippet-Usage' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Will result in:
Expand All @@ -36,7 +36,7 @@ This a sample **paragraph** from [my site](http://test.com)
The conversion can also be customized:

<!-- snippet: UsageWithConfig -->
<a id='snippet-usagewithconfig'></a>
<a id='snippet-UsageWithConfig'></a>
```cs
var config = new ReverseMarkdown.Config
{
Expand All @@ -52,7 +52,7 @@ var config = new ReverseMarkdown.Config

var converter = new ReverseMarkdown.Converter(config);
```
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L28-L44' title='Snippet source file'>snippet source</a> | <a href='#snippet-usagewithconfig' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/ReverseMarkdown.Test/Snippets.cs#L27-L43' title='Snippet source file'>snippet source</a> | <a href='#snippet-UsageWithConfig' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

## Configuration options
Expand Down
1 change: 0 additions & 1 deletion src/ReverseMarkdown.Test/ConverterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace ReverseMarkdown.Test
{
[UsesVerify]
public class ConverterTests
{
private readonly ITestOutputHelper _testOutputHelper;
Expand Down
10 changes: 5 additions & 5 deletions src/ReverseMarkdown.Test/ReverseMarkdown.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ReverseMarkdown\ReverseMarkdown.csproj" />
<PackageReference Include="MarkdownSnippets.MsBuild" Version="26.0.1">
<PackageReference Include="MarkdownSnippets.MsBuild" Version="27.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Verify.Xunit" Version="22.11.1" />
<PackageReference Include="xunit" Version="2.6.4" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PackageReference Include="Verify.Xunit" Version="24.1.0" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
</ItemGroup>
<ItemGroup>
<None Update="ConverterTests.When_Span_with_newline_Should_Convert_Properly.verified.md">
Expand Down
1 change: 0 additions & 1 deletion src/ReverseMarkdown.Test/Snippets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using VerifyXunit;
using Xunit;

[UsesVerify]
public class Snippets
{
[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/ReverseMarkdown/ReverseMarkdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageTags>htmltomarkdown;html2markdown;converthtml;htmlconverter;html;converter;markdown</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="HtmlAgilityPack" Version="1.11.57" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.61" />
</ItemGroup>
<!--SourceLink specific settings-->
<PropertyGroup>
Expand Down

0 comments on commit 1bcab8d

Please sign in to comment.