Comments (12)
@sbonnick, I appreciate your feedback and hope you will help me understand what you mean in greater detail. You are the first one to report an issue having to do with resolution and sizes so your input is invaluable.
- Can you please be more specific about how you would expect it to scale? Do you want the fonts bigger/smaller or do you want to control page zoom that affects the whole page?
- I am running on an iMac Retina 5k and where I could, I added retina support. Most of the time the preview rendering engine handles the resolution differences, so this was not necessary, especially in the new JavaFx WebView based preview.
- The font sizes and colours are hard coded in the CSS but I have been entertaining the though to bring some of these out into the settings dialog or using the IDE settings. The CSS is customizable, but I know most users don't want to go "flea hunting" and tweak their own CSS. Would you want the font family and size that you use for the IDE UI to be used for rendering HTML preview?
- Is it the old preview or the new JavaFx preview window? You can see which one is being used in Settings > Other Settings > MultiMarkdown if it is the old swing preview you will have the
Use Old Preview
checkbox selected.
I do hope you have the time to help me get this resolved to your satisfaction.
Vladimir.
from idea-multimarkdown.
Hi Vladimir,
- right now, the display is unreadable, as the whole rendering looks about the size of a playing card (on a 19 inch monitor). So i would expect the whole page to zoom - which would increase font size, width of div container, etc... I know when I first installed intellij i had to adjust the IDE UI font to be able to read any code as it was super tiny.
- I am using a windows 8.1 based PC with 3840 x 2160 resolution.
- I think pulling from the IDE UI would be a good idea. reuse is generally a good thing for usability. The alternative is some sort of auto-scale based on rendering window width. but perhaps not the greatest
- this is not checked.so i should be using javaFX
from idea-multimarkdown.
i did take a quick look at the Css override. and my thoughts was to change the font form "px" to "em" OR to a larger size. but then the container width would also need to be increased.. not sure if there are sub divs that may require a width change too...
from idea-multimarkdown.
Thanks for the quick reply. I suspected that it is a Windows issue and I suspect the old preview would be hell to make work with retina on Windows. Windows support for retina is still iffy in Windows 10.
I am sure IntelliJ goes through hoops to support retina on windows.
Yes, you should be using the new preview if you are able to have your IDE boot JDK configured for non-Jetbrains JDK 1.8 preferrably 1.8.0u40 or newer. instructions on doing this are in the wiki https://github.com/vsch/idea-multimarkdown/wiki/Installation even if the WebView in the current implementation still does not look right it is not a problem. It has a zoom setting and I will fire-off a new release for you which will let you tweak that value to your liking.
from idea-multimarkdown.
I would have to make a new CSS for the old preview that doubles all pixel sizes. This is the only sure way to take care of it. I will probably still do this, even if the new preview works for you because there may be others who don't have the option of running on JDK 1.8 and need retina resolution supported.
I'll get on both of these issues right away so either way you will have it solved.
from idea-multimarkdown.
OK perfect. I will try this out and let you know.
from idea-multimarkdown.
Thanks. I will give you a link for a new download as soon as I have it ready with page zoom for the new preview.
from idea-multimarkdown.
@sbonnick, page zoom implemented for the JavaFx WebView based preview tab. Set Zoom 0.3 - 3.0 in 0.01 increments, in Settings > Other Settings > MultiMarkdown, only available if Use Old Preview
is not selected.
download this quick fix release from https://github.com/vsch/idea-multimarkdown/blob/master/dist/idea-multimarkdown.1.1.4.2.zip?raw=true
from idea-multimarkdown.
zoom worked great! Is it possible to go to maybe 5 or something? 3 works perfect for me, but I can see people with a larger resolution needing a large zoom factor.
from idea-multimarkdown.
I'll change the range to 0.2 to 5 in the next release. I thought 3 was overkill but then on the mac I don't need any zoom.
from idea-multimarkdown.
Thanks Vladimir. Awesome work!
from idea-multimarkdown.
My pleasure.
from idea-multimarkdown.
Related Issues (20)
- Cannot use with bundled "GitHub" plugin because of conflict with bundled "Markdown" plugin HOT 6
- How can I keep formatting from changing the GitHub toc generator reference? HOT 2
- The project tree is not loaded when the plugin is activated
- Extensionless files are not found when referencing them
- No longer compatible with IntelliJ 2021.2 & JB marked as deprecated HOT 37
- Dependency Issues HOT 1
- How to modify the preview font style?
- Markdown Editor Enhanced breaks GitHub plugin HOT 2
- Code syntax highlighting is not activated for ```csharp
- Cannot activate purchased license HOT 2
- Says to upgrade to 3.0.213 but that is not listed! HOT 4
- NoSuchMethodError: 'EditorColorsManager.addEditorColorsListener' since intellij-idea-2022-1 HOT 3
- Pluig in does not work... HOT 1
- java.lang.NoSuchMethodError: 'void com.intellij.... HOT 1
- Including characters processed by Typographic extension in links and link refs will cause format as you type to split the link text/ref
- pdf export error HOT 1
- PLugin does not work sadly :-(
- Unable to Start Android Studio 2020.1.1 after Installing this Plugin.
- Plugin 'Markdown Navigator Enhanced' (version '3.0.213.150') is not compatible with the current version of the IDE, because it requires build 231.8770.65 or older but the current build is IU-232.8660.185 HOT 2
- PDF Export Failed
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 idea-multimarkdown.