Skip to content

Commit

Permalink
Merge pull request #13 from gebv/vscode-extenstion-previewer
Browse files Browse the repository at this point in the history
chore: fixed paths to media files
  • Loading branch information
gebv authored Jan 25, 2021
2 parents e0a67c8 + 91731de commit b333005
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ test:
build-render-server:
go build -o ./bin/render-server ./renderserver/main.go

heroky-build-and-deploy:
heroku-build-and-deploy:
heroku apps:create --region eu pikchr-render-server
heroku apps
heroku git:remote -a pikchr-render-server
heroku container:push web
heroku container:release web
heroku-stats:
heroku ps -a pikchr-render-server
7 changes: 4 additions & 3 deletions vscode-extenstion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ You can use a shared server for rendering (set by default in settings in the vsc
<a href="https://heroku.com/deploy?template=https://github.com/gebv/pikchr/tree/master">
<img src="https://www.herokucdn.com/deploy/button.png">
</a>
and set value of server url to `pikchr.render_server` in your `settings.json`.

[Redner server API docs](https://github.com/gebv/pikchr/tree/master/renderserver#pikchr-render-server)

Expand All @@ -18,9 +19,9 @@ If you have questions, comments, or suggestions, please visit the [GitHub Discus
>
> For example, the diagram:
>
> <img style="background-color: white;" width="423" height="217" src="media/demo.png" />
> <img style="background-color: white;" width="423" height="217" src="https://github.com/gebv/pikchr/raw/master/vscode-extenstion/vscode-extenstion/media/demo.png" />
>
> [Link to orig SVG](media/demo.png)
> [Link to orig SVG](https://github.com/gebv/pikchr/raw/master/vscode-extenstion/vscode-extenstion/media/demo.png)
>
> Is generated by 7 lines of Markdown:
>
Expand All @@ -41,4 +42,4 @@ If you have questions, comments, or suggestions, please visit the [GitHub Discus
* if selected code is valid will be opened split panel with diagram
* if selected code is invalid - you will be notified about it
![Demo preview](media/demoscreencast.gif)
![Demo preview](https://github.com/gebv/pikchr/raw/master/vscode-extenstion/vscode-extenstion/media/demoscreencast.gif)
11 changes: 7 additions & 4 deletions vscode-extenstion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
},
"homepage": "https://github.com/gebv/pikchr/blob/master/vscode-extenstion/README.md",
"categories": [
"Programming Languages",
"Formatters",
"Snippets",
"Other"
],
"activationEvents": [
Expand Down Expand Up @@ -73,7 +70,13 @@
"extensionKind": [
"workspace"
],
"license": "SEE LICENSE IN LICENSE",
"license": "MIT",
"keywords": [
"pikchr",
"diagrams",
"viewer",
"svg"
],
"devDependencies": {
"@types/vscode": "^1.52.0",
"@types/glob": "^7.1.3",
Expand Down

0 comments on commit b333005

Please sign in to comment.