use MarkdownSnippets
MODIFY
readme.md
readme.md
+<!--
+This file was generate by MarkdownSnippets.
+Source File: /readme.source.md
+To change this file edit the source file and then re-run the generation using either the dotnet global tool (https://github.com/SimonCropp/MarkdownSnippets#githubmarkdownsnippets) or using the api (https://github.com/SimonCropp/MarkdownSnippets#running-as-a-unit-test).
+-->
# TextCopy
A netstandard package to copy text to and from the clipboard.
@@ -15,15 +20,23 @@ https://nuget.org/packages/TextCopy/
#### SetText
-```csharp
+<!-- snippet: SetText -->
+```cs
TextCopy.Clipboard.SetText("Text to place in clipboard");
```
+<sup>[snippet source](/src/Tests/Snippets.cs#L6-L10)</sup>
+<!-- endsnippet -->
+
#### GetText
-```csharp
+<!-- snippet: GetText -->
+```cs
var text = TextCopy.Clipboard.GetText();
```
+<sup>[snippet source](/src/Tests/Snippets.cs#L15-L19)</sup>
+<!-- endsnippet -->
+
## Compatibility

ADD
readme.source.md
+# TextCopy
+
+A netstandard package to copy text to and from the clipboard.
+
+
+## NuGet [![NuGet Status](http://img.shields.io/nuget/v/TextCopy.svg?style=flat)](https://www.nuget.org/packages/TextCopy/)
+
+https://nuget.org/packages/TextCopy/
+
+ PM> Install-Package TextCopy
+
+
+### Usage
+
+
+#### SetText
+
+snippet: SetText
+
+
+#### GetText
+
+snippet: GetText
+
+
+## Compatibility
+
+
+### Supported on:
+
+ * Windows with .NET Framework 4.6.1 and up
+ * Windows with .NET Core 2.0 and up
+ * OSX with .NET Core 2.0 and up
+ * Linux with .NET Core 2.0 and up
+ * Universal Windows Platform version 10.0.16299 and up
+
+
+### Not verified
+
+The following may work but have not been verified:
+
+ * Windows with Mono
+ * Linux with Mono
+ * Xamarin.iOS
+ * Xamarin.Mac
+
+If anyone verifies any of the above, please submit a [Pull Request](https://help.github.com/articles/about-pull-requests/) to the readme with the outcome.
+
+
+### Not supported
+
+ * Xamarin.Android
+
+If support is required, please submit a [Pull Request](https://help.github.com/articles/about-pull-requests/) that adds support.
+
+
+## Notes on Linux
+
+Linux uses [xclip](https://github.com/astrand/xclip) to access the clipboard. As such it needs to be installed and callable.
+
+
+## Icon
+
+<a href="https://thenounproject.com/term/Clone/207435/" target="_blank">Clone</a> designed by Wes Breazell from The Noun Project
\ No newline at end of file

MODIFY
src/Tests/Tests.csproj
src/Tests/Tests.csproj
</PropertyGroup>
<ItemGroup>
+ <PackageReference Include="MarkdownSnippets" Version="9.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="Xunit" Version="2.4.1" />

use MarkdownSnippets