GitXplorerGitXplorer
s

html-copy-vscode

public
10 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
796e8a574b2a7e55cdf59c48a561e6fbb2ee4db0

Add minver

sslang25 committed 6 years ago
Verified
b3338e344445190dad1c288703debab6826320e6

Update HtmlCopyVSCode.fsproj

sslang25 committed 6 years ago
Unverified
f7ab57e495c3b57155e50a7f7e2c998cf48c3cb9

Update azure-pipelines.yml for Azure Pipelines

sslang25 committed 6 years ago
Unverified
72782aee99e4bb390c0b0717ceb7e4e43d974935

Update azure-pipelines.yml for Azure Pipelines

sslang25 committed 6 years ago
Unverified
708916fcf92dc7b9130908890905a54d5562a3a3

Update azure-pipelines.yml for Azure Pipelines

sslang25 committed 6 years ago
Unverified
98b5c13d4ae360e17749198a2ddfee321d002eee

Update azure-pipelines.yml for Azure Pipelines

sslang25 committed 6 years ago

README

The README file for this repository.

html-copy-vscode

A global tool to convert snippets copied from VS Code into plain html to paste into your blog.

NuGet License

Installation

dotnet tool install -g HtmlCopyVSCode

Usage

In VS Code, copy some code to the clipboard with Ctrl+C (or Cmd+C on macOS), then run the tool:

html-copy-vscode

Now your clipboard contains the html snippet in plain text.

To remove most of the style on the root element and to add your own class, use the --class/-c switch like this:

html-copy-vscode -c vscode

Know Issues

At the moment, only Windows is supported. macOS support is possible, but will take time (unless someone knows a quick way to aquire and distribute Xamarin.Mac which looks like the easiest option).