Comments (9)
It's quite possible, I don't suppose you'd be willing to share an example file?
from vscode-dmbinder.
I've tried with these three files.
Nomad-Ranger(Psi)-v1.md.txt
Artificer-Dragoon-1.md.txt
Artificer-Dragoon-2.md.txt
from vscode-dmbinder.
I did see one of the files rendered without the background texture at first, but then it seemed to fix itself the next time I exported the file. My best guess is that it may be puppeteer related. Are you using a version of Chromium installed by Puppeteer (through this extension) or did you choose to use a local Chrome executable?
from vscode-dmbinder.
Puppeteer installed version. Is it a case of re-render until it works?
from vscode-dmbinder.
That very well may get you a properly exported version, but I don't find that an acceptable solution, so I'm going to continue to try and troubleshoot if you don't mind helping me out. If you go into your settings what is the value of this setting:
from vscode-dmbinder.
Ah, I may have figured out the issue. I'm going to run some testing first, but unless I see any issues, I'm going to update the extension and have you try it out.
from vscode-dmbinder.
Done! Once you update your extension to version 0.5.9, you shouldn't encounter those issues anymore. If you do, please let me know!
from vscode-dmbinder.
For some reason the current version of the plugin is now increasing the file size of my exported PDFs. I kept a copy of the previous markdown file, which has similar content but 5 less pages, and exporting it has created a roughly 8mb file, whereas the new file is exported as a roughly 19mb file. They both use similar content, besides the original having 5 less pages, the only other change is I made the map in the guide take up 4 pages instead of part of one, and a mostly blank page as a spacer.
I have managed to reduce the file size by half for the new doc, but compressing all the images in use. Doing this, the doc exported as a 10mb file, still more than the older doc, even with the compressed images.
Is there a way to determine the version of Chromium used for export? When I use Homebrewery or GMBinder, I write the doc in the current Chrome version, then share it so that I can open the share link in Chromium v64.0.3282.186-r520840-win64, as it exports at a fraction of the file size of current or recent versions of Chrome. Only thing I'm unsure on is what CSS or other things are not available.
Could this version be looked into as the version in use? I'd much prefer to be able to share my work via discord to my players, as a small PDF then have to give them a link to a large one, as half my players are on 3g pocket wifi with limited plans.
from vscode-dmbinder.
The version should be listed in your VSCode settings in the DMBinder section. It is possible to run this command and browse to and select your installed version of Chrome instead (or a separately downloaded version of Chromium.
My guess is that the images you have included are significantly large and that is what is impacting your PDF size. If you feel that there was a change in the plugin that caused this, you could try exporting it with an older version to see if that makes any difference. If it does, then that would be something that I could look into. Here's how you can change the version of the plugin you're running:
I'd suggest trying to point the plugin to that version of Chromium that you use, first, as that seems the best candidate for fixing your solution.
from vscode-dmbinder.
Related Issues (18)
- PDF Rendering adds blank page to the end of every file
- "Automaticaly generate component blocks" tags and add spaces at the end of html self closing ones HOT 1
- Command Not Found HOT 3
- It would be interesting to see a 'jupyter notebook' style HOT 2
- Allow Changing of PDF Render Page Size? HOT 5
- Page Number code? HOT 4
- DMBinder Extension Breaking Markdown Previews Outside of a Campaign HOT 1
- DMBinder view isn't filtered on file extension
- New issue with exporting to PDF. Possible Regression of Issue # HOT 2
- Needs support for installing to vscodium HOT 3
- Backgrounds / Stylesheet Images Not Loading HOT 5
- Split view breaks if more than one campaign in workspace
- background-url images not loading from any source HOT 6
- PDF Rendering doesn't work if you don't load the markdown-it module HOT 1
- PDF Rendering sometimes doesn't properly render capital letters HOT 2
- Component Autogeneration Removes Any Comments in the Markdown Document HOT 1
- Customizing css for rendering HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-dmbinder.