GitXplorerGitXplorer
m

eps-preview

public
6 stars
2 forks
1 issues

Commits

List of commits on branch master.
Unverified
195883f6ce252ddc196ad5031fa333ba77f9c23d

update README and bump version

mmkvoya committed 3 months ago
Unverified
04790b5da894815ddab37cdddb4574701992fa93

add the background color config in package.json

mmkvoya committed 3 months ago
Unverified
33ccb3c765b84ac144b516ab585b58a9912b6a67

add config of background color

mmkvoya committed 3 months ago
Unverified
a1dad778cc790d13b250ab061d550f5834361fba

commit package-lock

mmkvoya committed 3 months ago
Unverified
3aff56d6d8217847b11bffc7e0331304755b2f22

doc: minor updates on docs

mmkvoya committed 2 years ago
Verified
20ad0d0393f3f2f955ec131d37ffa606a25d61e7

Merge pull request #14 from mkvoya/dependabot/npm_and_yarn/minimatch-and-mocha-3.1.2

mmkvoya committed 2 years ago

README

The README file for this repository.

eps-preview: Preview EPS figure files in VSCode

Features

This extension enables the in-VSCode preview of EPS image files. A preview icon will show on the menu bar when an EPS file is open in VSCode. A command eps-preview.sidePreview is also available to open the preview.

A short demo is here:

demo

Requirements

This extension depends on the PostScript Language extension to recognize an EPS file. You can install that extension from the VSCode extension store.

This extension also depends on two commands -- ps2pdf and pdf2svg to generate the preview. Thus you need to install these two commands first and ensure they are in the executable path. For MacOS, you could install them via homebrew:

brew install ghostscript pdf2svg

Extension Settings

Two settings can be set to specify the locations of the used binaries:

  • eps-preview.path.ps2pdf
  • eps-preview.path.pdf2svg
  • eps-preview.backgroundColor, default is white, can be any string that can be recognized by the CSS's background-color.

Known Issues

None yet.

Release Notes

Users appreciate release notes as you update your extension.

0.5.0

Added background color setting.

0.4.0

Added support for auto-refresh on file change. Thanks to Jeffery-Song.

0.3.0

Added two configurations for binary locations.

0.1.0

Initial release (if it counts).

Enjoy!